当前位置:网站首页>树莓派用VNC Viewer方式远程连接
树莓派用VNC Viewer方式远程连接
2022-06-29 03:49:00 【YouthBlood9】
录
一、下载相关工具
1.1 树莓派镜像
- 官网下载地址:https://www.raspberrypi.com/software/operating-systems/
- 下滑选择这个下载:

有三种不同版本:
①带图形桌面和推荐软件:Raspbian Stretch with desktop and recommended software
②带图形桌面:Raspbian Stretch with desktop
③最简版:Raspbian Stretch Lite
我们这里下载②
- 百度网盘链接:https://pan.baidu.com/s/1SOKyhSkqztpzutlP3ocNRg
提取码:0000
1.2 格式化工具
- 本次采用的格式化工具是SDCardFormatterv5
链接:https://pan.baidu.com/s/1MzEEVz1-A83yySZMPK9JxQ
提取码:0000
也可以自行找格式化工具。
1.3 烧录镜像工具
- 本次采用的烧录工具是Raspberry Pi
链接:https://pan.baidu.com/s/1a3QKpWGrVr83qRi76oQGRQ
提取码:0000
同样也可以选择其他的烧录工具。
1.4 VNC Viewer
- 链接:https://pan.baidu.com/s/1x-jOhlYF8MhhtPyH5qVh1Q
提取码:0000
1.5 远程工具
- 本文采用的是putty,也可以选择其他工具。
- 官网地址:https://www.chiark.greenend.org.uk/~sgtatham/putty/
下载后将格式化工具、烧录镜像工具、VNC等都安装好。
二、SD格式化
- 将SD插入到读卡器中,接着将读卡器插到电脑上;
- 打开格式化工具SDCardFormatterv5;
- 选择你需要格式化的SD卡在这里插入图片描述;
- 对弹出的对话框进行选择,选择是;
- 接着会弹出,格式化完成的提示,选择确定,就完成了SD卡的格式化。
三、烧录镜像
- 双击下载的烧录工具文件安装
- 弹出以下界面

- 点击CHOOSE OS,选择到刚才下载的镜像文件,然后点击CHOOSE SD CARD 选择刚才格式化的SD卡,接着就点击WRITE
- 接着会弹出一个对话框,选择Continue/OK,然后,就开始进行烧录了。这个可能需要一段时间
四、配置网络
- 第一种方法:插入网线
这种方法网上有很多相关的文章,自己可以去查看。 - 第二种方法:使用手机热点
①在电脑上,打开刚才烧录镜像的SD卡
②在boot目录下,建立一个ssh的空文件
③在boot目录下,先建立一个文本文件
④打开文本文件,将下面的内容复制到文本中
country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="你的无线网名称"
psk="你的无线网密码"
key_mgmt=WPA-PSK
priority=1
}
- 其中,将ssid的内容改成手机热点的名称,psk的内容改成手机热点的密码。
⑤将刚才的文本保存,并将名称修改为wpa_supplicant.conf
⑥取出SD卡,将SD卡插入树莓派中,同时打开手机热点和给树莓派接上电源
⑦可以在手机上查看得到树莓派的ip地址
五、putty远程连接
- 打开putty,在Host Name处,输入刚才查看得到的IP地址,接着选择“open”;
- 对弹出的对话框进行选择,选择“否”;
- 输入用户和密码
默认的用户:pi
默认的密码:raspberry - 开启树莓派VNC服务,输入指令(sudo raspi-config),进行树莓派配置。
- 通过上下键选择“Interfacing Options”,接着左右键选择“Select”。
- 接着上下键选择“VNC”,左右键选择“Select”。
- “would you like the vNc server to be enabled?”–>选择“Yes”。
- “The VNC server is enabled”–>回车选择“OK”。
- 上下键选择“Advanced Options”,左右键选择“Select”。
- 上下键选择“Resolution”,左右键选择“Select”。
- 接着是分辨率选择,选择“DMT Mode 16”,接着选择“OK”。
- “The resolution is set to DMT mode 16”–>回车选择“OK”。
- 回到开始,选择“Finish”,完成。
六、VNC Viewer远程界面显示
①VNC Viewer的安装过程略。
②VNC Viewer的使用。
安装后打开VNC Viewer界面,首先在最上面输入树莓派的IP地址,接着在弹出的界面中输入Username,Password,点击“OK”。出现了树莓派的界面,就完成了。
参考文献
边栏推荐
- [MCU framework][dfu] DFU upgrade example with CRC verification + timeout mechanism +led indicator + chip locking + chip self erasure
- 分布式id解决方案
- Tech Cloud Report: Mixed Office B side: How Safety and Efficiency can be combined?
- Distributed ID solution
- Technology cloud report: side B of mixed office: how to have both security and efficiency?
- 基于redis实现的扣减库存
- Yangzhou needs one English IT Helpdesk Engineer -20220216
- 技术:如何设计zkVM电路
- 数据库和缓存如何保持一致性
- [tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (III)
猜你喜欢

微秒级 TCP 时间戳

访问数据库时出现错误
![[tcapulusdb knowledge base] Introduction to tcapulusdb data import](/img/8f/3a265c41385a22577200e704ceb6aa.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb data import

leetcode - 295. 数据流的中位数

【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(二)

How sqlserver queries and removes results with null fields in the whole column

Distributed ID solution

Seura 2测试代码总结

数据库和缓存如何保持一致性
![[tcaplusdb knowledge base] view tcapdir directory server](/img/b6/f3734dfb03ec789525636335457b99.png)
[tcaplusdb knowledge base] view tcapdir directory server
随机推荐
做 SQL 性能优化真是让人干瞪眼
On June 27, 2022, I have the right to choose the journey of the summer vacation.
开发者方案 · 环境监测设备(小熊派物联网开发板)接入涂鸦IoT开发平台
MySQL Varcahr to int
sql两列变为多行过滤显示
leetcode:304. 2D area and retrieval - matrix immutable
SqlServer如何查询除去整列字段为null的结果
Data statistical analysis (SPSS) [6]
Mobileone: the mobile terminal only needs 1ms of high-performance backbone
【TcaplusDB知识库】TcaplusDB技术支持介绍
使用roslaunch为Gazebo加载自定义模型时黑屏、报错问题
Yangzhou needs one English IT Helpdesk Engineer -20220216
【TcaplusDB知识库】TcaplusDB限制条件介绍
Black screen and error reporting when loading custom models for gazebo with roslaunch
人大金仓(KingBase)导出表结构
New listing of operation light 3.0 -- a sincere work of self subversion across the times
[tcapulusdb knowledge base] Introduction to tcapulusdb restrictions
[tcaplusdb knowledge base] view tcapdir directory server
[Ubuntu] [MySQL] Ubuntu installs mysql, but the compilation error is mysql h: No such file or directory
基于redis实现的扣减库存