- install vnc-server (tigervnc-server on cenOS 6.8.)
[root@apaternina nfs]# yum install vnc-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.uniminuto.edu
* extras: centos.uniminuto.edu
* updates: centos.uniminuto.edu
Package tigervnc-server-1.1.0-18.el6.x86_64 already installed and latest version
Nothing to do- install vnc client
[root@apaternina nfs]# yum install vnc
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.uniminuto.edu
* extras: centos.uniminuto.edu
* updates: centos.uniminuto.edu
Package tigervnc-1.1.0-18.el6.x86_64 already installed and latest version
Nothing to do- Create the VNC users accounts
$ su -
# useradd vnc-user- Edit the server configuration.
vi /etc/sysconfig/vncservers
VNCSERVERS="1:vnc-user"
VNCSERVERARGS[1]="-geometry 640x480"-
Set your users' VNC passwords.
-
Confirm that the vncserver will start and stop cleanly.
-
Create and customize xstartup scripts.
-
Amend the iptables.
-
Start the VNC service.
-
Test each VNC user.
-
Additional optional enhancements