Use VNC Remote Desktop centos7

Use VNC Remote Desktop centos7

Centos to minimize the system, for example:
1, the GUI interface installation:
[the root @ SD ~] # yum the install EPEL -Y-Release # configured yum source
[the root @ SD ~] # yum Clean All
[the root @ ~ SD] # yum makecache

[root @ sd ~] # yum groups install "Server with GUI" -y # install the full graphical interface
[root @ sd ~] # systemctl set-default graphical.target # run level 5

2, mounting the VNC:
[the root @ SD ~] # yum the install TigerVNC -Y-Server
[the root @ ~ SD] # vncserver

You will require a password to access your desktops.   

Password:
Verify:
Would you like to enter a view-only password (y/n)? y  #是否设置观察者的密码
Password:
Verify:
xauth:  file /root/.Xauthority does not exist


New 'sd.xin:1 (root)' desktop is sd.xin:1

Creating default startup script /root/.vnc/xstartup
Creating default config /root/.vnc/config
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/sd.xin:1.log

[root @ sd ~] # systemctl disable firewalld # turn off the firewall or port side through 5901 can be accessed
Note: If you are outside the network access port may be mapped
VNC network disk Download:
link: https: //pan.baidu.com / s / 1PBv496sV3wbX7u2t8hbU3Q
extraction code: j0xa

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Published 57 original articles · won praise 8 · views 5526

Guess you like

Origin blog.csdn.net/zdl244/article/details/105274134
Recommended