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