Connected Raspberry Pi (detailed tutorial) with Windows Remote Desktop

First, prepared

1. Tools required: SD card (preferably greater than or equal 8G), a card reader, raspberry send 3b +, SD card format tool, Raspbian system image, SSH tools, PuTTY
Note: the necessary tools download link
SD card format tools
Raspbian system mirror
image burn-in software (I use the Etcher)
SSH tools: 64 , 32
PuTTY
Advanced_IP_Scanner (ip finder)

Second, the choice of the mirror

Click the above hyperlink ( Raspbian system image ) to enter the official Raspberry Pi mirrored download page, click on the first chart, as shown below
Here Insert Picture Description
and then select the first item "NOOBS", because it contains Raspbian and LibreELEC, Raspbian a number of pre-installed for education , software programming and general use. It has a Python, Scratch, Sonic Pi, Java, etc., to bring convenience for the subsequent development of learning.
Here Insert Picture Description

Third, format the SD card

After the SD card is connected to the computer, open the formatting software, select the drive letter where the SD card, click on the format to format, the default on the line all the way back.
Here Insert Picture Description

Fourth, the mirror burn

1. Click ----> image burned into the software into the Etcher official download interface (below), click on Download to download.
Here Insert Picture Description
Or who choose the version according to the computer system ( I used the Windows presentation )
Here Insert Picture Description
2, after the download is complete, open the software.
Here Insert Picture Description
Select the image can be burned into.

5, configuration raspberry pie Wifi and SSH

1、WiFi 网络配置
用户可以在未启动树莓派的状态下单独修改 /boot/wpa_supplicant.conf 文件配置 WiFi 的 SSID 和密码,这样树莓派启动后会自行读取 wpa_supplicant.conf 配置文件连接 WiFi 设备。
操作方法简单:将刷好 Raspbian 系统的 SD 卡用电脑读取。在 boot 分区,也就是树莓派的 /boot 目录下新建 wpa_supplicant.conf 文件,按照下面的参考格式填入内容并保存 wpa_supplicant.conf 文件。

country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
 
network={
ssid="WiFi-A"
psk="12345678"
key_mgmt=WPA-PSK
}

注:
#ssid:网络的ssid
#psk:密码
(哈哈,我当时是用的手机热点)

2、开启 SSH 服务
如果通过 ssh 连接树莓派出现 Access denied 这个提示则说明 ssh 服务没有开启。要手动开启的话,和 WiFi 配置相似,同样在 boot 分区新建一个文件,空白的即可,文件命名为 ssh。注意要小写且不要有任何扩展名。树莓派在启动之后会在检测到这个文件之后自动启用 ssh 服务。可以通过 ssh 安装 xrdp,再用 Windows 的远程桌面客户端连接到树莓派,我们距离目标又进了!

3、通过 ssh 安装 xrdp
①安装putty,点击超链接putty界面如下
Here Insert Picture Description
根据需要选择64位的,还是32位的。
②在这之前,将烧入镜像完毕并且配置好文件的SD卡插入树莓派,接通树莓派电源。点击Advanced_IP_Scanner (ip查找工具)下载此工具。打开此软件点击 扫描,等待待扫描完成
Here Insert Picture Description
找到 raspberrypi,复制其IP地址,如下
Here Insert Picture Description
打开putty,输入树莓派的IP地址,点击 open
Here Insert Picture Description
会有两个界面弹出,其中一个是下面的,一定要点击 是(Y)
Here Insert Picture Description
另一个如下所示的命令框,输入树莓派账号密码(账号:pi 密码为:raspberry)这时候 Linux 系统在输入密码时不会显示任何东西,就像没有输入一样,请忽质疑。输入完直接回车确定
Here Insert Picture Description
登录成功后输入:

sudo apt-get install xrdp

Press Enter,
Here Insert Picture Description
enter y / Y, the transport
Here Insert Picture Description
waits to close after the completion of loading OK.
4, the use of computer Remote Desktop Connection Raspberry Pi (has reached the final step, and persevering ah)
to open a remote desktop, access to the Raspberry Pi enter the above address
Here Insert Picture Description
click connection , the following window appears, click on that
Here Insert Picture Description
then appears remote desktop user login interface, as follows, raspberry Pi enter account password (account number: pi password: raspberry)
Here Insert Picture Description
enter or click OK to enter the raspberry Pi desktop.
Here Insert Picture Description
Come this far objectives have been reached, Wow! ! I was excited to have been speechless O (∩_∩) O When I got to this point, filled with infinite sense of accomplishment (≧ ∇ ≦) Techno.

**参考资源:
https://shumeipai.nxez.com/2017/09/13/raspberry-pi-network-configuration-before-boot.html
https://shumeipai.nxez.com/2013/10/06/windows-remote-desktop-connection-raspberry-pi.html
https://www.cnblogs.com/wirehome/p/10115149.html
Released four original articles · won praise 8 · views 444

Guess you like

Origin blog.csdn.net/weixin_43624626/article/details/104227725