当前位置:网站首页>采用VNC Viewer方式远程连接树莓派
采用VNC Viewer方式远程连接树莓派
2022-07-02 22:14:00 【y000827】
一、相关工具下载
1、树莓派镜像
官网:https://www.raspberrypi.org/downloads/raspbian/
2、格式化工具
本次采用的格式化工具是SDCardFormatterv5
3、烧录镜像工具
本次采用的烧录工具是Raspberry Pi
4、VNC Viewer
官网地址:
https://www.realvnc.com/en/connect/download/viewer/
5、远程工具
本文章中采用的是Xshell,也可以选择其他工具。
百度网盘分享:
https://pan.baidu.com/s/1THVKag0zAyCcvCJIe2Ca9g
提取码:kk02
二、SD格式化
①将SD插入到读卡器中,接着将读卡器插到电脑上。
②打开格式化工具SDCardFormatterv5。
③选择你需要格式化的SD卡。
④对弹出的对话框进行选择,选择“是”。
⑤接着会弹出,格式化完成的提示,选择确定,就完成了SD卡的格式化。
三、烧录镜像
①打开烧录的工具raspberry pi。
②点击“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远程界面显示
1、安装 VNC Viewer
2、VNC Viewer使用
安装后打开VNC Viewer界面,首先在最上面输入树莓派的IP地址,接着在弹出的界面中输入Username,Password,点击“OK”。出现了树莓派的界面,成功。
七、总结
整个过程按照学姐博客的步骤做下去基本上没有什么问题,虽然还是遇到一些问题。但是在CSDN上一搜就基本上能解决
八、参考文章
树莓派无需显示屏的VNC Viewer方式的远程连接
树莓派raspberry 安装ubuntu18.04 server + desktop + ros1
边栏推荐
- 海思调用接口之Makefile配置
- 第三方支付功能测试点【杭州多测师_王sir】【杭州多测师】
- 程序员版本的八荣八耻~
- Simple square wave generating circuit [51 single chip microcomputer and 8253a]
- (stinger) use pystinger Socks4 to go online and not go out of the network host
- [proteus simulation] 51 MCU +lcd12864 push box game
- Cryptographic technology -- key and ssl/tls
- Eight honors and eight disgraces of the programmer version~
- Golang common settings - modify background
- STM32串口DAM接收253字节就死机原因排查
猜你喜欢
设置单击右键可以选择用VS Code打开文件
[Solved] Splunk: Cannot get username when all users are selected“
The first batch of Tencent cloud completed the first cloud native security maturity assessment in China
(stinger) use pystinger Socks4 to go online and not go out of the network host
Jinglianwen technology's low price strategy helps AI enterprises reduce model training costs
Go language sqlx library operation SQLite3 database addition, deletion, modification and query
“一个优秀程序员可抵五个普通程序员!”
Loss function~
Hisilicon VI access video process
Catalogue of digital image processing experiments
随机推荐
Jinglianwen technology's low price strategy helps AI enterprises reduce model training costs
Win11系统explorer频繁卡死无响应的三种解决方法
基于Pyqt5工具栏按钮可实现界面切换-1
跨境电商如何通过打好数据底座,实现低成本稳步增长
BBR 遭遇 CUBIC
Loss function~
面试过了,起薪16k
golang入门:for...range修改切片中元素的值的另类方法
Temperature measurement and display of 51 single chip microcomputer [simulation]
The first batch of Tencent cloud completed the first cloud native security maturity assessment in China
Tronapi-波场接口-源码无加密-可二开--附接口文档-基于ThinkPHP5封装-作者详细指导-2022年7月1日08:43:06
Quantitative analysis of PSNR, SSIM and RMSE
ServletContext learning diary 1
理想汽车×OceanBase:当造车新势力遇上数据库新势力
密码技术---分组密码的模式
Typical case of data annotation: how does jinglianwen technology help enterprises build data solutions
2016. maximum difference between incremental elements
Numerical solution of partial differential equations with MATLAB
从底层结构开始学习FPGA----Xilinx ROM IP的定制与测试
海思 VI接入视频流程