One: Configuration of vncserver in Linux system
1. Confirm that your server is configured with Vncserver, you can click the command line below to view:
Rpm-qa |grep VNC
The operating system CentOS6.4 of this experiment has the VNC server package installed by default. If Vncserver is not installed, locate the installation package from the CD to install it.
2. Start Vncserver (vncserver:1)
Vncserver
If you configure VNC Server for the first time, you will be asked to provide a password to log in to VNC, and you can use VNCPASSWD to modify the password.
3. Modify the configuration file
A.vi/root/.vnc/xstartup
Commented out: Twm &
B.vi/etc/sysconfig/vncservers
This experiment only prepared a desktop, namely: vncservers= "1:root"
4. Restart the Vncserver service
Service Vncserver Restart
5. View the startup status of the Vncserver service
Chkconfig--list Vncserver
6. Turn off the firewall (can also be configured)
Chkconfig iptables off
Second: VNC view remote Connection Linux system in Windows system
1. Download and install vnc_windows;
2. Run the VNC Viewer and enter the password for the Vncserver setting.
Using VNC to enable remote connection of Windows to Linux