1. 树莓派安装

1.1 安装xrdp

确定树莓派ip , ssh登录树莓派

xshell执行命令,安装xrdp

  1. sudo apt-get update
  2. sudo apt-get install xrdp

启动 xrdp 服务

sudo /etc/init.d/xrdp restart

查看端口占用 netstat -tnl

查看 3350 3389 5910 这三个端口处于LISTEN,一般就没问题了

2. win10 远程登录

1. 远程桌面

image.png

2. 输入用户名和密码

image.png

3. 效果

image.png

参考1 参考2:https://shumeipai.nxez.com/2018/08/31/raspberry-pi-vnc-viewer-configuration-tutorial.html