Monday 6 July 2015

How to configure vncserver CentOs 6/RHEL 6


Install Desktop Environment

For GNOME:
# yum groupinstall  "General Purpose Desktop" "Desktop Platform"

For KDE:
# yum groupinstall  "KDE Desktop"

Install VNC server
# yum -y install vnc-server

Install   Tigervnc-Server
# yum install tigervnc-server

Make vnc password for user (Ex. amir). Login to the user and run the following command:
#vncpasswd amir
Password:
Verify:
Configure VNC configuration for new user

Edit /etc/sysconfig/vncservers file and add the user name:

#vim /etc/sysconfig/vncservers
VNCSERVERS="2:amir"
VNCSERVERARGS[2]="-geometry 1280x1024"
Save and exit

#service vncserver restart
#chkconfig vncserver on

Done…

No comments:

Post a Comment

How to install clamAV on Centos 6

  Install EPEL repo: Before we can do proceed, you must ensure that you have the EPEL yum repository enabled. To do this, CentO...