yum install tigervnc tigervnc-server
2) Under the user that will be used to login execute:
vncpasswd
This is the password that you will use to connect to the server
3) Configure the displays by editing /etc/sysconfig/vncservers
nano /etc/sysconfig/vncservers
Make sure that you have something like this
VNCSERVERS="1:the_user_that_is_used_for_vnc"
VNCSERVERARGS[1]="-geometry 1280x1024"
VNCSERVERARGS[1]="-geometry 1280x1024"
4) Then start the service for the first time:
service vncserver start
5) And make sure that the service is starting everytime you restart your machine:
chkconfig vncserver on
6) also don't forget to add firewall rules - use gnome tools from System / Administration / Firewall... Allow connections to port 5901
7) Now you can connect to the VNC server with ip and the display number e.g.: 192.160.0.254:1
No comments:
Post a Comment