当前位置:网站首页>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”。出现了树莓派的界面,搞定。
七、参考链接
边栏推荐
猜你喜欢

Fast realization of Bluetooth communication between MCU and mobile phone

vs怎么配置OpenCV?2022vs配置OpenCV详解(多图)

Fast implementation of thread mesh networking

How to download opencv? How to configure opencv after downloading?

POI replacing text and pictures in docx

win10远程连接云服务器

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

Fractional Order PID control

【软件工程】山东大学软件工程复习提纲
![[openairinterface5g] rrcsetupcomplete for RRC NR resolution](/img/61/2136dc37b98260e09f3be9979492b1.jpg)
[openairinterface5g] rrcsetupcomplete for RRC NR resolution
随机推荐
【OpenAirInterface5g】RRC NR解析之RrcSetupComplete
【编译原理】山东大学编译原理复习提纲
SQL injection bypass (I)
攻防演习防御体系构建之第二篇之应对攻击的常用策略
Gérer 1000 serveurs par personne? Cet outil d'automatisation o & M doit être maîtrisé
From 5 seconds to 1 second, the system flies
Some settings about postfix completion code template in idea
多表联查--07--- Hash join
yarn create vite 报错 ‘D:\Program‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件
window右键管理
2022 cisp-pte (II) SQL injection
Interviewer: you use Lombok every day. What is its principle? I can't answer
Get the query parameter in the address URL specify the parameter method
sql sever列名或所提供值的数目与表定义不匹配
postgreSQL在windows系统遇到权限否认(permission denied)
R 语言并行计算 spearman 相关系数,加快共现网络(co- occurrence network)构建速度
内存屏障今生之Store Buffer, Invalid Queue
extendible hashing
Redis cache penetration, cache breakdown, cache avalanche
Restrictions on the use of tidb