当前位置:网站首页>VNC Viewer方式的远程连接树莓派
VNC Viewer方式的远程连接树莓派
2022-06-24 15:33:00 【可小阿木】
一,工具下载
1,树莓派镜像
https://www.raspberrypi.org/downloads/raspbian/
进入官网后,点击查看所有可下载选项:
选择32bit带图形化桌面的版本:
2,格式化工具
本次使用SDCardFormatterv5,可以选择其他工具
3,镜像烧录工具
本次使用Raspberry Pi,可以选择其他工具
4,VNC Viewer
https://www.realvnc.com/en/connect/download/viewer/
5,远程工具
本次使用putty,可以选择其他工具
https://www.chiark.greenend.org.uk/~sgtatham/putty/
二,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远程界面显示
①VNC Viewer的安装过程略。
②VNC Viewer的使用。
安装后打开VNC Viewer界面,首先在最上面输入树莓派的IP地址,接着在弹出的界面中输入Username,Password,点击“OK”。出现了树莓派的界面,搞定。
七,参考链接
https://blog.csdn.net/qq_45659777/article/details/125343118?spm=1001.2014.3001.5502
边栏推荐
- 兴业证券靠谱吗?开证券账户安全吗?
- I have been in the industry for 4 years and have changed jobs twice. I have learned a lot about software testing
- Design of vga/lcd display controller system based on FPGA (Part 2)
- Analysis of dompurify
- 股票网上开户及开户流程怎样?网上开户安全么?
- Low fidelity prototype vs high fidelity prototype, which one is more suitable for your design?
- Allwinner a40i industrial Internet gateway design scheme, smart site, smart city core gateway
- Golang实现Biginteger大数计算
- QoS Technology in network
- Actual combat | a tortuous fishing counteraction
猜你喜欢

FreeRTOS新建任务不执行问题解决办法

A common defect management tool - Zen, which teaches you from installation to using the handle

Linux记录-4.22 MySQL5.37安装(补充)

Keyword of ES mapping; Term query add keyword query; Change mapping keyword type

CVPR 2022 - Interpretation of selected papers of meituan technical team

Laravel 8 realizes auth login

I have been in the industry for 4 years and have changed jobs twice. I have learned a lot about software testing
An accident caused by a MySQL misoperation, and the "high availability" cannot withstand it!

He is also a junior test engineer. Why is his salary high? The interview must be brilliant at these points

刚刚阿里面软件测试回来,3+1面任职阿里P7,年薪28*15薪
随机推荐
Teach you how to deploy the pressure test engine on Tencent cloud
FPGA based analog I ² C protocol system design (Part 2)
Improving the classification of motor imagery by combining EEG and MEG signals in BCI
Bosun query
实战 | 记一次曲折的钓鱼溯源反制
Teach you how to view version information with mongodb
[parameter configuration tutorial] how should the parameters in the RTMP streaming camera be configured?
Why is the blackmail virus that shut down half of America's energy system terrible? Interpretation of authoritative reports
How do individuals open accounts for stock speculation? Is it safe to open accounts for stock speculation
Use tuples
在同花顺开户证券安全吗,需要什么准备
Cvpr2022 𞓜 thin domain adaptation
"Industry foresight" future development trend of intelligent security monitoring industry
FPGA based analog I ² C protocol system design (Part I)
In 2021, big companies often ask IOS interview questions -- runloop
Monitoring and warning | is the website attacked?
Logstash introduction and simple case
update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
Record the range of data that MySQL update will lock
PHP export data as excel table