要知道树莓派的IP地址的方法有很多,在这里假定你已经知道了树莓派的IP地址。要解决的问题是怎么用Windows的远程桌面连接去连接树莓派的图形界面。
第一步:在raspbian下面安装一个服务xdrp。输入如下命令安装:
1 | sudo apt-get install xrdp |
有可能这一步之后就可以了。
第二步:如果第一步出现问题。
故障现象:
Bash
connecting to sesman ip 127.0.0.1 port 3350sesman connect oksending login info to sesman login successful for display 14started connectingconnecting to 127.0.0.1 5914error - problem connectingxrdp-sesman.log
解决方法:
Bash
apt-get purge tightvnc xrdpapt-get install tightvncserver xrdp
最后:
启动xrdp服务,sudo /etc/init.d/xrdp restart,此时会启用相应端口,配置方面默认即可。
通过命令:
Bash
netstat -tnl
查看 3389 这个端口处于LISTEN,一般就没问题了。
参考网址:
1.
2.