当前位置:网站首页>树莓派用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”。出现了树莓派的界面,就完成了。
参考文献
边栏推荐
- 【滤波器设计】根据设计指标使用matlab定制滤波器
- Data statistical analysis (SPSS) [5]
- How sqlserver queries and removes results with null fields in the whole column
- 百度智能云服务网格产品CSM发布 | 火热公测中
- 【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(三)
- Vg4131sxxxn0s1 wireless module hardware specification
- 【FPGA数学公式】使用FPGA实现常用数学公式
- [tcapulusdb knowledge base] tcapulusdb technical support introduction
- [Ubuntu] [MySQL] Ubuntu installs mysql, but the compilation error is mysql h: No such file or directory
- 【C语言】解决 “address of stack memory associated with local variable ‘num‘ returned”
猜你喜欢

Mobileone: the mobile terminal only needs 1ms of high-performance backbone

访问数据库时出现错误

【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(二)
![[tcapulusdb knowledge base] Introduction to tcapulusdb table data caching](/img/7b/8c4f1549054ee8c0184495d9e8e378.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb table data caching

PostgreSQL 出现cross-database references are not implemented的bug

科班出身,结果外包都不要

开发者方案 · 环境监测设备(小熊派物联网开发板)接入涂鸦IoT开发平台

Ask the handler about the memory leak scenario in the interview. Don't just know static internal classes & weak references!

leetcode - 295. 数据流的中位数

88. (cesium chapter) cesium aggregation diagram
随机推荐
Black screen and error reporting when loading custom models for gazebo with roslaunch
Ask the handler about the memory leak scenario in the interview. Don't just know static internal classes & weak references!
Why are you a test / development programmer? Can you recall
访问数据库时出现错误
Seura 2测试代码总结
云原生周报 | Grafana 9正式发布;云原生词汇表中文版现已上线
自己动手搭建一个简单的网站
[tcapulusdb knowledge base] Introduction to tcapulusdb restrictions
Error: schema validation failed with the following error: the data path '' should not have other properties (projects)
科技雲報道:混合辦公的B面:安全與效率如何兼得?
Live broadcast preview | neurips special session I & Young Scientists special session
88. (cesium chapter) cesium aggregation diagram
微秒级 TCP 时间戳
Establishment of small and medium-sized enterprise network
Data collection and management [3]
PostgreSQL 出现cross-database references are not implemented的bug
Adelaidet (detectron2) & abcnet environment configuration
88. (cesium chapter) cesium aggregation diagram
Django model generates docx database design documents
《运营之光3.0》全新上市——跨越时代,自我颠覆的诚意之作