Description: In fact, it is better to install VNC than to install a teamview faster, and full platform support.
1. Installation
$$sudo apt-get install vnc4server$sudo apt-get Install XRDP
2. Start Vncserver, initialize
Vncserver
#启动vncserver, the first time you need to enter a setup login password
If the password is forgotten, you can go in the ~/.vnc/directory to delete the password file.
3. Modify the configuration file Xstartup
sudo gedit ~/.vnc/xstartup
Replace it with the following:
#!/bin/SH# Uncomment the following and the lines forNormal Desktop:#unset Session_manager# exec/etc/x11/xinit/XINITRC#[-x/etc/vnc/xstartup] && exec/etc/vnc/Xstartup#[-R $HOME/. Xresources] && Xrdb $HOME/.xresources#Xsetroot-solid Grey#Vncconfig-iconic &#x-terminal-emulator-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop"&#X-window-manager &unset session_managerunset dbus_session_bus_address[-X/etc/vnc/xstartup] && exec/etc/vnc/xstartup[-R$HOME/. Xresources] && Xrdb $HOME/.xresourcesvncconfig-iconic &xfce4-session &
4. Restart Vncserver and XRDP
sudo vncserver-kill:1 #杀死关闭vncserver
Vncserver #vncserver再次重启
sudo service xrdp restart #重新启动xrdp
5. Connection
Use your own Remmina Remote Desktop
"New", protocol Select "svn-virtual network Compute" Server "Ip:1"
Enter the VNC password to connect.
Close again, and then use "ip:5901" to connect.
If you are using a firewall, you need to open 5901 remote ports (sudo UFW allow 5901) on the fire wall.
Reference:
Http://www.playubuntu.cn/article/289.html (the above content is transferred from this article)
Ubuntu 16.04 configuring VNC for Remote Desktop Connection