Page 1 of 1
[SOLVED] Black Screen when connected to VNC app
Posted: Fri Oct 21, 2011 6:37 am
by Belazor
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.
Re: Black Screen when connected to VNC app
Posted: Fri Oct 21, 2011 9:28 am
by bigfoot65
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.
Re: Black Screen when connected to VNC app
Posted: Fri Oct 21, 2011 9:59 am
by Belazor
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 ==========
Re: Black Screen when connected to VNC app
Posted: Fri Oct 21, 2011 10:11 am
by bigfoot65
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.
Re: Black Screen when connected to VNC app
Posted: Fri Oct 21, 2011 10:17 am
by Belazor
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

Re: [SOLVED] Black Screen when connected to VNC app
Posted: Fri Mar 30, 2012 12:00 am
by vladgur
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...
Re: [SOLVED] Black Screen when connected to VNC app
Posted: Fri Mar 30, 2012 12:47 am
by Furry
Re: [SOLVED] Black Screen when connected to VNC app
Posted: Fri Mar 30, 2012 8:32 pm
by bigfoot65
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.