System Environment
Ali cloud ECS
Ubuntu 16.04 Server
Xshell 5
VNC Viewer
Content Experiments
Later the cloud server system is installed linux system, connected to the server through the cloud Xshell, for mounting a super efficient graphical interface xfce.
experiment procedure
1, connected by Xshell 5 on the cloud server.
2, an upgrade apt-get.
apt-get update
apt-get upgrade
3, vncserver installation, this is used to connect with the remote.
apt-get install vnc4server
4, graphical interface to install
apt-get install xfce4
5, start vncserver, first of all let's run it to generate a configuration file
vncserver
Note: This requires you to enter an eight-digit password, which you need to remember, this is after you use to connect remotely.
6, stop service modify the startup file
kill vncserverID
vim ~/.vnc/xstartup
修改后如下:
7, restart vncserver
vncserver:1
注:后面的1是后来连接需要的。
8, view the service port, configure the firewall in the cloud server, add a security group rules, modify the port 5901!
ps -ef | grep vnc
Note: ps -e listed in the program, each display environment variables used by the program.
ps -f shows the correlation between tree structure, expression programs using ASCII characters
9, open the VNC viewer, for the remote connection.
10, input - your public IP: 1, success.