Posts

Showing posts from December, 2011

Xubuntu 11.10 vnc server

I've recently decided to use my desktop as a server without keyboard/screen. To accomplish that I needed a way to connect to the machine so I went off VNC hunting. After lots of research I've found a couple of useful forum posts at the Ubuntu Forum . For the sake of simplicity I summarize them here. Install x11vnc sudo apt-get install x11vnc Setup vnc password sudo x11vnc -storepasswd PaSsWoRd /etc/x11vnc.pass Configure x11vnc to start when your system starts Create /etc/init/x11vnc.conf file and add this as a content: start on login-session-start script x11vnc -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5900 end script Test it with RealVNC or TightVNC It was all working fine until I noticed that the screen resolution that I wanted to use wasn't available in xfce. ie.: my screen is 1680x1050 and I've got a vnc session with 1600x1200.