[plug] VNC / X help please

Chris Griffin griffinster at gmail.com
Tue Oct 3 17:49:25 WST 2006


I am working my way through playing with vnc and X on an install of
Ubuntu 6.06 Desktop.
An article in the latest Atomic says that once I have it all running
with vnc and can connect from a remote PC (which is working fine) to
edit ~/.vnc/xstartup and add the line:
exec /usr/bin/gnome-session

after the first line. Then restart the vncserver and connect again and
you will get the full Ubuntu desktop. All this I have done but all I
get is a dotted grey/white desktop with a quite large X cursor and
nothing else. Clicking or right clicking the desktop does nothing
eithyer.
The xstartup file looks like this:

#!/bin/sh
exec /usr/bin/gnome-session
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

I also noticed the comment in line 3 and did as it said (commenting
out the added line 2 of course) and restarted the vncserver but got
the same result.

Could someone please help me get this going?

Regards,
Chris Griffin



More information about the plug mailing list