Ubuntu server and vnc

Linux Add comments

Yesterday I installed a vnc server on my Ubuntu 8.04 LTS server. I did this because I want to run some GUI applications like a BitTorrent client on it. The last time I installed a vnc server on a machine without a window manager was back when I was using Redhat. So I did a little search and found out that the best way is to install gnome-core and tightvncserver by issuing

apt-get install gnome-core tightvncserver

After the first start of tightvncserver I was able to connect to port 5901. Tightvnc only starts a simple window manager and an xterm. To get tightvnc start a gnome session I had to edit the file xstartup in the .vnc folder of my home directory. I removed the line

x-window-manager &

at the end of the file and added

gnome-session &

After stopping the vnc server with the following command line

tightvncserver -kill :1

and starting it again I was entering my gnome session when connecting with my vnc viewer (UltraVNC).

Leave a Reply



WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in