Thursday 14 March 2013

VNC Server in RHEL, CentOS 5 & 6


1.Install VNC Server (EL:5 Servers)

#yum install vnc-server

2.create VNC login password

#vncpasswd

3.Edit following file and uncomment the two lines as mentioned in file.

#vi .vnc/xstartup

4.start an instance of VNC server & Check the log for moredetails.

#vncserver

5. Start VNC client in hostname field type ipaddress and :1 (xxx.xxx.xxx.xxx:1) and for authentication use the password set in Step two.




1.Install VNC Server (EL:6 Servers)

#yum install tigervnc-server

2.create VNC login password

#vncpasswd

3.Edit following file and  add two lines like following.

#vi /etc/sysconfig/vncservers

VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x768"

4.start an instance of VNC server & Check the log for moredetails.

#service vncserver start

5. Start VNC client in hostname field type ipaddress and :1 (xxx.xxx.xxx.xxx:1) and for authentication use the password set in Step two.


Install VNC in CentOS-7

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7

1 comment: