Loading

win10远程同一局域网的虚拟机ubuntu

相关命令:
重启xrdp
sudo service xrdp restart
1.安装vnc服务
sudo apt-get install tightvncserver
2.安装xrdp服务
sudo apt-get install xrdp
PS:VNC与xrdp服务安装顺序不可以颠倒,否则可能在登陆的时候报错Error Problem connecting

3.配置xrdp

cd ~
echo unity>~/.xsession

4.重启xrdp
sudo service xrdp start
5.配置桌面共享
搜索您的计算机->桌面共享

PS:最小化安装ubuntu20.04不带vino,没有桌面共享,需要安装vino开启屏幕共享

6.安装dconf-editor
sudo apt install dconf-editor
7.终端输入dconf-editor

8.在win10打开远程桌面 mstsc

9.选择VNC-any,输入ip和密码

posted @ 2024-03-30 00:11  踩坑大王  阅读(91)  评论(0)    收藏  举报