VNC Server Configuration for oracle Linux 6

In this article we will describe how to configure vnc server for oracle linux 6.

Step 1: this  command install tiger vnc in linux server
#  yum install tigervnc-server*

Step 2: Configure server's resolution.
#  vi /etc/sysconfig/vncservers
    VNCSERVERARGS[2]=”-geometry 1280×1024

Step 3: If we set chkconfig is on it means when start the server vnc server will be started automatically. 
#  chkconfig vncserver on

Step 4: Set below configuration for vnc server
#  vi /etc/ssh/sshd_config
    X11Forwarding yes
    X11DisplayOffset 10
#  vi /etc/ssh/ssh_config
    ForwardX11 yes

Step 5: Switch user where we want to set vnc server
#  su - username

Step 6: Set vncserver password
#  vncpasswd
#  12345 (password)

Step 7: Vnc server start stop and last command is used to stop firewall
#  /etc/init.d/sshd restart
#  service vncserver start
# service iptables stop

Post a Comment

0 Comments

3