Windows using vnc viewer to remotely connect to Linux desktop

  

Using vnc viewer to connect Linux desktop remotely under windows, the main configuration steps:

Linux:

1.rpm -qa vnc //Check whether the vnc service is installed. If it is not installed, you can use yum, or rpm to install


2. Modify the configuration file: vim /etc/sysconfig/vncservers, modify as shown below


3. Set the vnc password: vncpasswd


4. Start vncserver: service vncserver start


5. Change the xstartup configuration: vim /root/.vnc/xstartup, as shown in the following figure. Note that this file will only appear after the vncserver is started, so you must first start vncserver


6. Restart vncserver : service vncserver restart


windows

1.Download and install vnc viewer:


3. Password, the password here is the password set when vncpasswd


4.OK, the connection is successful

Copyright © Windows knowledge All Rights Reserved