|
Hi Andreas,
I installed a VNC server recently. Hence I will give a rough outline.
- Since you have CentOS 5.5 you will have a GUI.
- $> yum install vnc-server* (install the VNC server)
- $> service vncserver start
- $> vncpasswd ()provide a password
- $> vncserver
A message will be displayed saying 'New 'yourservername:1 username... this is important. Hence write it down.
I will assume you are running VNC as the root.
-$>cd ~
-$> cd .vnc
-$> vi xstartup
now uncomment the following lines.
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
This should do the trick. Also please configure SELINUX and iptables to suit your need.
I used $> lsof -i to identify the listening port and used iptables to configure the firewall.
|