Re: [Hampshire] Xubuntu tight VNC problem

Top Page

Reply to this message
Author: Tim Brocklehurst
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Xubuntu tight VNC problem
On Sunday 12 December 2010 16:52:57 Tim Brocklehurst wrote:
> > > > vncserver -geometry 1024x768 -depth 24 :1
> >
> > Unfortunately it has only moved me onto another problem, I now get a
> > window where the desktop should display but it is just grey. The mouse I
> > get a mouse cursor which I can move about but thats it.
> >
> > Tim
>
> You are running a VNC server which is connected to an X-Server with no
> window manager running. There is an init script which is run on startup by
> VNC, which should include an X program or window manager at the end. From
> memory, it is in ~/.vnc/*init.However, I may be wrong about the exact
> location. Some nice person who has VNC set up at home (I have it at work
> for testing, but usually use XDMCP) may be able to tell you what it should
> contain.
>
> Tim B.



Apologies, this is it from the web:

File: ~/.vnc/xstartup
Contents:
#!/bin/shxrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# x-window-manager &
gnome-session &

Hope this helps...

Tim B.
--
OpenPilot - Open-source Marine Chart Plotter
Lead Developer
http://openpilot.sourceforge.net