tigervnc installation

1. server installed desktop environment

2. Install tigervnc server

yum -y install tigervnc-server tigervnc

3. Modify the configuration file

cp /lib/systemd/system/[email protected] /lib/systemd/system/vncserver@:1.service

vim editor, write your linux user name here

 

4. Set the remote password

vncpasswd

5. Start vnc service

systemctl start vncserver@:1.service

6. Check the monitor port, confirm whether to start

netstat -anput

FIG port monitor 5901 follows

7. Client Remote

8. Close the service

vncserver -kill :1

Or systemctl start vncserver @: 1.service

 

Guess you like

Origin www.cnblogs.com/lzlongjie/p/11310018.html