远程桌面连接树莓派

Posted lvmememe

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了远程桌面连接树莓派相关的知识,希望对你有一定的参考价值。

要知道树莓派的IP地址的方法有很多,在这里假定你已经知道了树莓派的IP地址。要解决的问题是怎么用Windows的远程桌面连接去连接树莓派的图形界面。

 

第一步:在raspbian下面安装一个服务xdrp。输入如下命令安装:

1
sudo apt-get install xrdp

有可能这一步之后就可以了。

技术分享

技术分享

 

第二步:如果第一步出现问题。

技术分享

故障现象:

Bash
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to sesman login successful for display 14started
 connectingconnecting to 127.0.0.1 5914error - problem connecting
xrdp-sesman.log

解决方法:

Bash
apt-get purge tightvnc xrdp
apt-get install tightvncserver xrdp

最后:

启动xrdp服务,sudo /etc/init.d/xrdp restart,此时会启用相应端口,配置方面默认即可。

通过命令:

Bash
netstat  -tnl

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

 

参考网址:

1. http://shumeipai.nxez.com/2013/10/06/windows-remote-desktop-connection-raspberry-pi.html

2. http://www.dellts.cn/article/22.html


以上是关于远程桌面连接树莓派的主要内容,如果未能解决你的问题,请参考以下文章

远程桌面连接树莓派

使用PyCharm连接树莓派远程编程

树莓派进阶之路 (024) - windows远程桌面连接树莓派通过xrdp服务(转)

树莓派4B远程桌面vnc连接

树莓派-----局域网电脑远程桌面连接

树莓派初入门:SSH远程登录与VNC远程桌面