linux graphical remote tool

*. Due to the needs of the project, the server side is a linux operating system, so the following tools are required to remote to the server

*, centos graphical interface GNOME
yum -y groupinstall "X Window System" "Desktop"
*, install the vncserver server on the server
yum install tigervnc-server -y (it's not too late to install other plugins)
*,set password
Execute vncserver, enter the password twice
*, modify the configuration file
/etc/vncserver
--The first line: 2 (number of terminals): linux-username (username)
--The second line; adjust the resolution and remove localhost
https://blog.csdn.net/silencegll/article/details/51320616
*, make sure the service is started
service vncservice restart
*, then the client can install vncviewer
Knowledge such as IP port mapping may be required.

 

*, how to solve the problem of connection failure

1. Firewall is turned on and cannot connect
Turn off the firewall service iptables stop
View firewall status service iptables status
View process ps axf | grep vnc/iptables

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326008155&siteId=291194637