[SOLVED] Black Screen when connected to VNC app

Belazor
Posts: 9
Joined: Mon Oct 17, 2011 12:54 pm

[SOLVED] Black Screen when connected to VNC app

Postby Belazor » Fri Oct 21, 2011 6:37 am

Hey,

I've bought and installed the one-click VNC app (http://www.amahi.org/apps/VNC) but I'm having a problem with it; When I connect via TightVNC, I get nothing but a black screen.

The install method I used was headless, if that has any bearings on it. I did a search on the forums here, but couldn't find any answers.

Any help would be appreciated :)


EDIT: If you found this thread via search and used the Headless install, here's the solution:
1. Follow the "Method 1" steps on this page: http://wiki.amahi.org/index.php/VNC
2. As root, run the following: yum -y install xsetroot twm xterm gnome-session gnome-panel ConsoleKit nautilus
3. Re-run vncserver as admin
4. Profit.
Last edited by Belazor on Fri Oct 21, 2011 10:54 am, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Black Screen when connected to VNC app

Postby bigfoot65 » Fri Oct 21, 2011 9:28 am

I have heard users have problems with TightVNC. Have you tried any other client? I use UltraVNC in Win 7 environment and have had no issues.

What version of Amahi are you using, Fedora 14 DVD or Express CD? Suggest you also check the app install log in /var/log directory to ensure it installed correctly.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Belazor
Posts: 9
Joined: Mon Oct 17, 2011 12:54 pm

Re: Black Screen when connected to VNC app

Postby Belazor » Fri Oct 21, 2011 9:59 am

ExpressCD, v6.1. T'was a fresh download 4 days ago or so.

I've just installed UltraVNC, same issue. I actually lied, I see a small block in the top left corner that has 3 checkboxes;
Accept clipboard from viewers
Send clipboard to viewers
Send primary selection to viewers

This happened on TightVNC too.

amahi-app-installer.log:

Code: Select all

======= app install begin @ Fri Oct 21 03:58:59 +0100 2011 ========== Installing app id k7q32dwinp under /var/hda/platform/html ENV=production /var/hda/platform/html/app/models/platform.rb:20: warning: already initialized c onstant PLATFORMS /var/hda/platform/html/app/models/platform.rb:48: warning: already initialized c onstant SERVICES patching file vncserver Starting VNC server: 4:admin [ OK ] App: VNC installed ======= app install end @ Fri Oct 21 04:00:15 +0100 2011 ==========

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Black Screen when connected to VNC app

Postby bigfoot65 » Fri Oct 21, 2011 10:11 am

This may be a result of using the Express CD. It makes the first admin user one called admin. Not sure if this is part of the problem, but thinking it could be. Did you check the app install log for errors?

Also, did you follow the special instructions for the app. Enter hda:4 and then the password to connect?

Might consider searching the forums for help. Worst case, suggest you file a bug if you cannot get it sorted out. Not sure if the app was thoroughly tested with ExpressCD, so there could be something missing.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Belazor
Posts: 9
Joined: Mon Oct 17, 2011 12:54 pm

Re: Black Screen when connected to VNC app

Postby Belazor » Fri Oct 21, 2011 10:17 am

I did indeed enter that into the VNC clients.

I wonder if this could be related?

Code: Select all

/root/.vnc/xstartup: line 24: xsetroot: command not found /root/.vnc/xstartup: line 26: twm: command not found /root/.vnc/xstartup: line 25: xterm: command not found
Found inside my localhost.localdomain:1.log file (and similarily numbered files).

EDIT: I found out these commands are found in packages that were not installed. I'm installing them now, will report back :)

EDIT2: I now get the following errors:

Code: Select all

Warning: Cannot convert string "nil2" to type FontStruct xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-i$
EDIT3: Problem solved, instructions in OP :) Thanks for putting me on the right track, bigfoot :D

vladgur
Posts: 6
Joined: Sun Mar 25, 2012 1:28 pm

Re: [SOLVED] Black Screen when connected to VNC app

Postby vladgur » Fri Mar 30, 2012 12:00 am

Hey,
EDIT: If you found this thread via search and used the Headless install, here's the solution:
1. Follow the "Method 1" steps on this page: http://wiki.amahi.org/index.php/VNC
2. As root, run the following: yum -y install xsetroot twm xterm gnome-session gnome-panel ConsoleKit nautilus
3. Re-run vncserver as admin
4. Profit.
IF this doesnt belong on the wiki, i dont know what does...

Furry
Posts: 9
Joined: Sat Jan 28, 2012 4:15 am

Re: [SOLVED] Black Screen when connected to VNC app

Postby Furry » Fri Mar 30, 2012 12:47 am


User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: [SOLVED] Black Screen when connected to VNC app

Postby bigfoot65 » Fri Mar 30, 2012 8:32 pm

If someone would like to add that to the wiki, we would greatly appreciate it. Since it is specific to the Express CD it seems, that should be mentioned as well.

The packages listed are most likely left out of the Express CD since it is headless. That is probably why it did not work without them. Just speculating of course.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 8 guests