* install vnc-server (tigervnc-server on cenOS 6.8.) ```bash [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 ```bash [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 ```bash $ su - # useradd vnc-user ``` * Edit the server configuration. ```bash vi /etc/sysconfig/vncservers VNCSERVERS="1:vnc-user" VNCSERVERARGS[1]="-geometry 640x480" ``` * Set your users' VNC passwords. ```bash [root@apaternina nfs]# su vnc-user [vnc-user@apaternina nfs]$ vncpasswd Password: Verify: [vnc-user@apaternina nfs]$ cd /home/vnc-user/.vnc/ [vnc-user@apaternina .vnc]$ ls passwd [vnc-user@apaternina .vnc]$ exit exit [root@apaternina nfs]# ``` * 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