How to set up VNC server on redhat?
Environment
vncserver: Redhat 6.1; install tigervnc-server
vncclient: ubuntu 12.04; install gvncviewer/tightvnc
A. Install vnc server.
a. install tigetvnc-server from the DVD using rpm or yum.
b. once installation is completed, edit the file /etc/sysconfig/vncservers and add the following information.
VNCSERVERS="1:sam 2:hari"
here we have two users are allowed to use the vnc server DISPLAY session 1 and 2.
c. create vnc password for the user sam and hari. Login as each user and use vncpasswd to create the pw. do not use root to create the pw.
$ vncpasswd
enter the password and verify the pw for both users.
d. restart the vncserver.
# service vncserver status/start/restart.
Make sure your vncservers file has correct entry. if you have any typos, you will not be able to start or connect.
B. VNC Client install and connect to the server.
a. Install client packages
$ sudo apt-get install gvncviewer
$ sudo apt-get install tightvncserver [Note: this is server package ].
b. Connect to the server.
$ gvncviewer hari@192.168.10.155:2
just supply your password and your will be on your remove server using vnc.
Environment
vncserver: Redhat 6.1; install tigervnc-server
vncclient: ubuntu 12.04; install gvncviewer/tightvnc
A. Install vnc server.
a. install tigetvnc-server from the DVD using rpm or yum.
b. once installation is completed, edit the file /etc/sysconfig/vncservers and add the following information.
VNCSERVERS="1:sam 2:hari"
here we have two users are allowed to use the vnc server DISPLAY session 1 and 2.
c. create vnc password for the user sam and hari. Login as each user and use vncpasswd to create the pw. do not use root to create the pw.
$ vncpasswd
enter the password and verify the pw for both users.
d. restart the vncserver.
# service vncserver status/start/restart.
Make sure your vncservers file has correct entry. if you have any typos, you will not be able to start or connect.
B. VNC Client install and connect to the server.
a. Install client packages
$ sudo apt-get install gvncviewer
$ sudo apt-get install tightvncserver [Note: this is server package ].
b. Connect to the server.
$ gvncviewer hari@192.168.10.155:2
just supply your password and your will be on your remove server using vnc.
No comments:
Post a Comment