/************************************************************************* * windows 远程桌面连接 RPi 2B * 声明: * 本文主要记录windows下如何远程RPi 2B,通过ssh进去安装xrdp、设置USB * 无线网卡等工作。 * * 2016-2-15 深圳 南山平山村 曾剑锋 ************************************************************************/ 一、参考文章: 1. 使用 Raspberry Pi 远程桌面 http://www.oschina.net/translate/how-to-remote-desktop-raspberry-pi?cmp 2. Raspberry Pi树莓派无线网卡配置[多重方法备选] http://www.360doc.com/content/14/0521/16/7821691_379668471.shtml 二、设置无线网卡(cat /etc/network/interfaces): # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo iface lo inet loopback #iface eth0 inet manual auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.0.5 netmask 255.255.255.0 geteway 192.168.0.1 #allow-hotplug wlan0 #iface wlan0 inet manual # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf # #allow-hotplug wlan1 #iface wlan1 inet manual # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "zengjf" wpa-psk "zjf199142" 三、ssh进入系统安装xrdp: sudo apt-get install xrdp 四、xrdp账号密码: username:pi passwd:raspberry 五、Remote:
时间: 2024-10-26 18:01:17