Sunday, July 5, 2015

Configure VNC Server on Linux


Edit /etc/sysconfig/vncservers file to configure the required displays

VNCSERVERS ="2:root 3:oracle"
VNCSERVERARGS[2] = "-geometry 1280x1024 -nolisten tcp -localhost"
VNCSERVERARGS[3] = "-geometry 1280x1024"

Set the VncPassword for the above users.

$vncpasswd

$su - oracle
$vncpasswd
$exit

Enable the VNC Server service for auto start and start the service

$chkconfig vncserver on
$service vncserver start

To stop the service and disable auto start
$service vncserver stop
$chkconfig vncserver off


No comments:

Post a Comment