VNC startup and shutdown commands

1. View the list of startups

[root@centos ~]# vncserver -list

TigerVNC server sessions:

X DISPLAY #	PROCESS ID

 

2. Set a password

[root@centos ~]# vncpasswd

 

3. Start the desktop

[root@centos ~]# vncserver :1

 

4. Close the desktop

[root@jinglun ~]# vncserver -kill :1

 

Guess you like

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