当前位置:网站首页>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
边栏推荐
- [sdx62] wcn685x IPA registration failure analysis and solution
- He is also a junior test engineer. Why is his salary high? The interview must be brilliant at these points
- MySQL toolset: the official export tool mysqlpump
- Differential privacy
- Monitoring and warning | is the website attacked?
- I have been in the industry for 4 years and have changed jobs twice. I have learned a lot about software testing
- Closed loop management of time synchronization service -- time monitoring
- Motion planning of floating base robot
- Keyword of ES mapping; Term query add keyword query; Change mapping keyword type
- Huangchuping presided over the video conference on fixed-point contact with Zhuhai, resolutely implemented the deployment requirements of the provincial Party committee, and ensured positive results i
猜你喜欢
Redis consistency hash and hash slot

CVPR 2022 - Interpretation of selected papers of meituan technical team
Record the range of data that MySQL update will lock

Stm32f1 and stm32cubeide programming examples -ws2812b full color LED driver (based on spi+dma)

As a developer, what is the most influential book for you?

Do you really know the difference between H5 and applet?

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

【C语言刷题——Leetcode12道题】带你起飞,飞进垃圾堆

I have been in the industry for 4 years and have changed jobs twice. I have learned a lot about software testing

为什么企业实施WMS仓储管理系统很容易失败
随机推荐
Analysis of similarities and differences between redis and memcached in cache use
Use list
Allwinner a40i industrial Internet gateway design scheme, smart site, smart city core gateway
Record the range of data that MySQL update will lock
Bitmap of redis data structure
He is also a junior test engineer. Why is his salary high? The interview must be brilliant at these points
Concurrent writing of maps in golang
Task priority motion planning of floating base
FreeRTOS新建任务不执行问题解决办法
From pair to unordered_ Map, theory +leetcode topic practice
Arrays API
At? Let's blow the air conditioner together!
CIA security model - use PGP to describe privacy and integrity of network security CIA model
QTreeWidget作为单例模式以dll返回的两个问题
As a developer, what is the most influential book for you?
MySQL toolset: the official performance testing tool mysqlslap
07. Tencent cloud IOT device side learning - Data Template
Is it safe to open an account for flush stock on mobile phone!
SF express: please sign for MySQL soul ten
Golang实现Biginteger大数计算