1) Installation of graphical interface
sudo apt-get install Xinit
sudo apt-get Install Gnome
2) Enable root account
①sudo passwd Root
② modifying/etc/gdm3/custom.conf
[Security]
Disallowtcp=false
Allowroot=true
Allowremoteroot=true
3) Modify the network card address
① Modifying configurations
Vi/etc/network/interfaces
# The Primary network interface
Auto Ens33 # can see which NICs are available to/proc/sys/net/ipv4/conf
Iface ens33 inet Static
Address 192.168.202.158
Netmask 255.255.255.0
Gateway 192.168.202.2
Dns-nameserver 192.168.202.5
Dns-search shark.com
② Restart networking Service
Systemctl Restart Networking
4) Configure Xmanager to log in with remote graphical interface
Modify/etc/gdm3/custom.conf
[XDMCP]
Enable=true
port=177
But it's never been successful.
5) Disable IPV6
Configure/etc/sysctl.conf Add the following lines in/etc/sysctl.conf and restart.
#disable IPv6net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1net.ipv6.conf.lo.disable_ipv6 = 1 Restarting the server
Ubuntu 16.10 Server related