March 31, 2014

Configuring VNC connections to you Box

A quick entry today. I needed to rid the *missing ubuntu session* dialog when connecting via VNC to my box@work.

So, I edited the vnc xstartup file:

#!/bin/sh
unset SESSION_MANAGER
gnome-session --session=gnome-classic &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &


Finally start the vncserver with something like:

#vncserver -geometry 1280x1024 -depth 24

In depth resource for this issue.

No comments: