Use of VNC Teaching
1, Target: The client connects to the server side, keeps the desktop update synchronized, and does not allow the client to control the servers.
2, using the tool:
(Linux platform) server side: Tigervnc-server, vino
(Platform unrestricted) client: VNCVIEWER,REALVNC, etc.
Installation of the 3,linux platform server
Installing tigervnc-server:yum-y Install Tigervnc-server
Installing vino:yum-y Install Vino
4. Configure server-side VNC server:
Target files that need to be changed:/etc/sysconfig/vncservers
To edit the Vncservers file, simply add 2 lines of content to the last face:
Vncservers= "1:root"
vncserverargs[1]= "-geometry 800x600-nolisten TCP" (Do not write the parameters-localhost here)
5. Configure the VNC password:
# VNCPASSWD
Password:
Verify:
# Su-root
# VNCPASSWD
Password:
Verify:
Note that you must configure the VNC sever password before you start the VNC Server service
6. Modify the configuration file:/root/.vnc/xstartup
Finally, add the following content to the file:
Gnome-session & (mainly to share the GNOME desktop, because the native installed graphical interface is GNOME, if it is KDE, it is necessary to add startkde &
7, enable the VNC Server service: Server Vncserver start
Here is an indication of the error Terminal 1 is running, we forcibly kill the service, vncserver-kill:1
Then manually enable the service:
Server Vncserver Start
This starts successfully
8, configuration Vino
Vino-preferences Popup Graphical interface
Sharing Select the first one, remove the second one
Security, remove the first, select the third, if you want to enter a password, select the second
This article is from the "pincer" blog, make sure to keep this source http://pincer.blog.51cto.com/5759011/1617388
Teaching management of TigerVNC