View Full Version : [ubuntu] Which windows manager via VNC?

March 26th, 2010, 12:27 PM
I want to replicate GNOME as close as possible when I VNC to my Ubuntu 9.10 box, within vncserver /.vnc/xstartup I have the following defined:


# Uncomment the following two lines for normal desktop:
#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 &
gnome-session &I installed twm, its ok but I would like a like-for-like session as if I were at the console, if I comment out twm, it looks the same but I can move or resize windows. I'd like to hear from you guys n gals to what windows manager is best or am I simply missing something ?

thanks ;)

March 26th, 2010, 02:35 PM
VNC is so awful. Way too much lag, and try using it over DSL/Cable via VPN.

You should check out NX. https://help.ubuntu.com/community/FreeNX

It lets you log in to your desktop environment as a separate session, and everything "just works". It uses something like compressed X server message tunneling for crazy responsiveness, and you don't have all the mouse cursor lag. NX is also nice because more than one user (diff accounts) can log into the same machine, and have separate sessions.

March 29th, 2010, 09:26 AM
have you full control from poweron ? ie from Logon screen?

March 29th, 2010, 12:14 PM
I found fluxbox to be a good middle ground between full fledged gnome/kde and twm over VNC.

My .vnc/xstartup:


xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
rxvt -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

It runs ok-ish over my connection but I have to give NX a try.