1.安裝所需組件javascript
sudo apt-get update //若沒有desktop sharing,則須要安裝vino sudo apt-get install vino //如有desktopsharing,則執行接下來的命令 sudo apt-get install tightvncserver xrdp sudo apt-get install dconf-tools
2.設置java
dconf write /org/gnome/desktop/remote-access/require-encryption false
打開dconf Editor
將require-encryption設置爲off
設置screen sharing容許控制並設置密碼
shell
win+R open command run, run commmand:mstsc or open mstsc directly input the ip of ubuntu.
press connect and enter information just like followings:
ubuntu
在被登錄的電腦上作一個設置容許被遠程鏈接,右鍵點擊「此電腦」打開系統,而後點擊「遠程設置」; 在遠程設置界面勾選,「容許遠程挾制鏈接這臺計算機「。
### Part2.ubuntu settings
1.下載安裝remmina軟件
官方安裝教程:https://remmina.org/how-to-install-remmina/
或者直接執行安裝命令:ui
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next sudo apt update sudo apt install remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spice
安裝完以後直接打開remmina:
創建新的鏈接:
code