gui server and vnc installation testing

In order to prepare a connection OpenStack, we have to prepare the enterprise is not used to the gui desktop and vnc connection to debug

Then we started tutorial

yum grouplist

  Group lists the package you want to install the service

systemctl stop zabbix 
because the cloud host running zabbix stop it all 
skippable

  install service

# yum groupinstall 'Server with GUI'

  Wait just fine

# Yum install tigervnc-server -y 
install vnc server

  

# Vim / etc / sysconfig / vncservers 
edit a configuration file
vncserver = "2: the root" VNCSERVERARGS [2] = "- 800x600 -nolisten TCP Geometry" ~ ~ ~ ~ ~ ~ ~ write two profile lines

  

vncpasswd 
change vnc password and view vnc password input display does not have six
systemctl status firewalld 
see firewalld is closed 



as not want to close firewalld can add a rule to allow port access

  

vncserver: 1 
  VNC service starts  

  

ps aux | grep vnc 
View VNC 
netstat the -l | grep 159 
View port

  

vncserver -kill: 1 
Close vnc service

  Finally, attach a picture success

 

Guess you like

Origin www.cnblogs.com/kesz/p/10985479.html