当前位置:网站首页>网络远程访问树莓派(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”。出现了树莓派的界面,搞定。
七.参考链接
边栏推荐
- Is your PCB ground wire right? Why should we have a master land?
- 相机电源受干扰案例分析,严重影响画质
- 什么是抽象类?怎样定义抽象类?
- ABAP随笔-程序优化笔记
- 使用Jmeter进行性能测试及性能监控平台搭建
- 融云:让银行轻松上“云”
- 右腿驱动电路原理?心电采集必备,有仿真文件!
- R语言使用tidyquant包的tq_transmute函数计算持有某只股票的天、月、周收益率、ggplot2使用条形图(bar plot)可视化股票月收益率数据、使用百分比显示Y轴坐标数据
- leetcode:30. 串联所有单词的子串【Counter匹配 + 剪枝】
- ABAP essays - program optimization notes
猜你喜欢

坚持五件事,带你走出迷茫困境

Apache基金会正式宣布Apache InLong成为顶级项目

Importance and purpose of test
![[solution] NPM warn config global ` --global`, `--local` are deprecated Use `--location=global`](/img/14/a2b3df1e8d0cf06ec96d6df9104a4a.png)
[solution] NPM warn config global ` --global`, `--local` are deprecated Use `--location=global`

The summary of high concurrency experience under the billion level traffic for many years is written in this book without reservation

2022九峰小学(光谷第二十一小学)生源摸底

Implementation of golang bubble sort code

图扑软件以轻量化建模构建智慧城市

解读2022年度敏捷教练行业现状报告

IFLYTEK neuroimaging disease prediction program!
随机推荐
科大讯飞神经影像疾病预测方案!
The summary of high concurrency experience under the billion level traffic for many years is written in this book without reservation
TensorRT Paser加载onnx 推理使用
Mathematical analysis_ Certification_ Chapter 1: the union of countable sets is countable
[today in history] June 23: Turing's birthday; The birth of the founder of the Internet; Reddit goes online
Readimg: read picture to variable variable variable
如何让销售管理更高效?
How NPM contracts and deletes packages
npm install 问题解决(nvm安装与使用)
Improving efficiency or increasing costs, how should developers understand pair programming?
Code examples of golang goroutine, channel and time
R语言使用colorblinr包模拟色盲视觉、将已有的ggplot2可视化结果图像使用edit_colors函数编辑转化为色盲视觉友好的可视化结果、并自定设置色盲形式、色盲严重级别
openGauss数据库源码解析系列文章—— 密态等值查询技术详解(上)
How to select securities companies? Is it safe to open a mobile account?
leetcode:30. 串联所有单词的子串【Counter匹配 + 剪枝】
Importance and purpose of test
亚朵更新招股书:继续推进纳斯达克上市,已提前“套现”2060万元
什么是抽象类?怎样定义抽象类?
golang冒泡排序代码实现
How is it cheaper to open a stock account? Is it safe to open an account online now?