当前位置:网站首页>网络远程访问树莓派(VNC Viewer)
网络远程访问树莓派(VNC Viewer)
2022-06-23 16:01:00 【狴鲲】
一、工具下载
①树莓派镜像
下载地址
进入官网后,点击查看所有可下载选项:
有三种不同版本:
带图形桌面和推荐软件:Raspbian Stretch with desktop and recommended software
带图形桌面(推荐使用):Raspbian Stretch with desktop
最简版:Raspbian Stretch Lite
②格式化工具
本次使用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”。出现了树莓派的界面,搞定。
七.参考链接
边栏推荐
- 港股多支个股表现活跃,引发投资者对港股市场回暖猜想与关注
- 什么是抽象类?怎样定义抽象类?
- Interpreting the 2022 agile coaching industry status report
- R语言ggplot2可视化水平箱图(Horizontal boxplot with coord_flip)、并添加抖动数据点显示分布情况(jittered points)
- leetcode:面试题 08.13. 堆箱子【自顶而下的dfs + memory or 自底而上的排序 + dp】
- stylegan1: a style-based henerator architecture for gemerative adversarial networks
- R语言使用tidyquant包的tq_transmute函数计算持有某只股票的天、月、周收益率、ggplot2使用条形图(bar plot)可视化股票月收益率数据、使用百分比显示Y轴坐标数据
- IFLYTEK neuroimaging disease prediction program!
- Shushulang passed the listing hearing: the gross profit margin of the tablet business fell, and the profit in 2021 fell by 11% year-on-year
- 读书郎通过上市聆讯:平板业务毛利率走低,2021年利润同比下滑11%
猜你喜欢
随机推荐
Opengauss database source code analysis series articles -- detailed explanation of dense equivalent query technology (Part 2)
ABP框架之——数据访问基础架构(下)
R language plot visualization: plot visualization adds bar chart with error bars with plot in R
What does websocket do?
Block, non block, multiplexing, synchronous, asynchronous, bio, NiO, AIO
Matlab: how to know from some data which data are added to get a known number
什么是抽象类?怎样定义抽象类?
ABAP essays - program optimization notes
How to configure PostgreSQL data source on SSRs page
Golang write file code example
[today in history] June 23: Turing's birthday; The birth of the founder of the Internet; Reddit goes online
Golang writes to JSON files
港股多支个股表现活跃,引发投资者对港股市场回暖猜想与关注
Apache foundation officially announced Apache inlong as a top-level project
The summary of high concurrency experience under the billion level traffic for many years is written in this book without reservation
Golang对JSON文件的写操作
Elk log collection system deployment
How did Tencent's technology bulls complete the overall cloud launch?
[solution] NPM warn config global ` --global`, `--local` are deprecated Use `--location=global`
stylegan1: a style-based henerator architecture for gemerative adversarial networks



![[today in history] June 23: Turing's birthday; The birth of the founder of the Internet; Reddit goes online](/img/d5/4b3e622ab77bc546ca5d285ef67d8a.jpg)




