Friday, 13 April 2012

Install Tigervnc Server on Oracle Linux 6

Assuming you have already some up local or public repository
[root@db11gr2 tmp]#
yum install tigervnc-server*
After the installation is complete
Edit tigervnc configuration file
[root@db11gr2 tmp]# vi /etc/sysconfig/vncservers
Uncomment all the line
And add the below line
VNCSERVERS=”3:oracle” [means vncsession for user oracle on display 3, using port 5903]
VNCSERVERARGS[3]=”-geometry 1280×1024″
Login with oracle user to set vnc password
[root@db11gr2 tmp]#
su –oracle
[root@db11gr2 tmp]# vncpasswd
[root@db11gr2 tmp]#
[root@db11gr2 tmp]# exit
Enable VNC Server service for autostart and start the service
[root@db11gr2 tmp]# chkconfig vncserver on
[root@db11gr2 tmp]# service vncserver start
[root@db11gr2 tmp]# ps -ef | grep vnc
Connect using Tigervnc

useful link