当前位置:网站首页>VNC Viewer方式的远程连接树莓派
VNC Viewer方式的远程连接树莓派
2022-06-27 06:58:00 【羚漆】
一、工具下载
①树莓派镜像
https://www.raspberrypi.org/downloads/raspbian/
进入官网后,点击查看所有可下载选项:
选择32bit带图形化桌面的版本.
②格式化工具
本次使用SDCardFormatterv5,可以选择其他工具
③镜像烧录工具
本次使用Raspberry Pi,可以选择其他工具
④VNC Viewer
https://www.realvnc.com/en/connect/download/viewer/
⑤远程工具
本次使用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”。出现了树莓派的界面,搞定。
七、参考链接
边栏推荐
- Interviewer: how to never migrate data and avoid hot issues by using sub database and sub table?
- 攻防演习防御体系构建之第一篇之介绍和防守的四个阶段
- Redis 缓存穿透、缓存击穿、缓存雪崩
- guava 教程收集一些案例慢慢写 google工具类
- Difference between boundvalueops and opsforvalue
- HTAP in depth exploration Guide
- Fast realization of Bluetooth communication between MCU and mobile phone
- Caldera installation and simple use
- Centos7.9 install MySQL 5.7 and set startup
- Modeling competition - optical transport network modeling and value evaluation
猜你喜欢

Interviewer: how to never migrate data and avoid hot issues by using sub database and sub table?

mssql如何使用语句导出并删除多表数据

Redis cache penetration, cache breakdown, cache avalanche

winow10安装Nexus nexus-3.20.1-01

On gpu: historical development and structure

Configuring FTP, enterprise official website, database and other methods for ECS

Xiaomi Interviewer: let's talk about the proficient Registration Center for three days and three nights

Vs how to configure opencv? 2022vs configuration opencv details (multiple pictures)

小米面试官:听你说精通注册中心,我们来聊 3 天 3 夜

(已解决) npm突然报错 Cannot find module ‘D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js‘
随机推荐
When there are multiple El select, the selected value is filtered by El select, and the last selected value is filtered by the second El select
(已解决) MINet 进行测试时报错如下 raise NotImplementedError
Process termination (have you really learned recursion? Test your recursion Foundation)
Interviewer: do you have any plan to request a lot of data that does not exist in redis to destroy the database?
Unsafe中的park和unpark
One year's experience of technical personnel in Entrepreneurship
Bean拷贝详解
Meaning of 0.0.0.0:x
pytorch Default process group is not initialized
聊聊领域驱动设计
R 中的 RNA-Seq 数据分析 - 调查数据中的差异表达基因!
mysql关于自增和不能为空
C# 请问怎么在更新数据库时候调用line与rows
(已解决) npm突然报错 Cannot find module ‘D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js‘
正斜杠反斜杠的由来
2022 CISP-PTE(一)文件包含
一个人管理1000台服务器?这款自动化运维工具一定要掌握
【Kevin三连弹之三】Rust真的比C慢吗?进一步分析queen微测评
进程终止(你真的学会递归了吗?考验你的递归基础)
Basic SQL operations in tidb