Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.blogvncOSXvnc1265910499

VNC is platform-independent – There are clients and servers for many GUI-based operating systems and for Java. Multiple clients may connect to a VNC server at the same time. Popular uses for this technology include remote technical support and accessing files on one’s work computer from one’s home computer, or vice versa.

To successfully setup VNC and GNOME on CentOS 6 you need follow these steps.

root@hostname#sudo yum groupinstall Desktop
root@hostname#sudo yum install tigervnc-server
root@hostname#sudo yum install xorg-x11-fonts-Type1
root@hostname#sudo yum install vnc
root@hostname#sudo chkconfig vncserver on
root@hostname#useradd vncuser
root@hostname#passwd vncuser
root@hostname#su – vncuser
root@hostname#vncpasswd
root@hostname#ls .vnc
root@hostname#vi /etc/sysconfig/vncservers
==
VNCSERVERS=”1:vncuser”
VNCSERVERARGS[1]=”-geometry 1024×786″
==
root@hostname#service vncserver start
root@hostname# service vncserver stop
root@hostname#chkconfig vncserver on
root@hostname#su – vncuser
root@hostname#vi .vnc/xstartup
==
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
==
root@hostname#service vncserver start

note 1:-#vncserver :1
Now connect from tigervnc or any vnc viwer by using ip:1

note 2 :-vncserver -kill :1 ( to kill the process in server)

===============================================That’s all………………:)

2 thoughts on “VNC server installation in Centos

Leave a Reply

Your email address will not be published. Required fields are marked *