当前位置:网站首页>树莓派无需显示屏的VNC Viewer方式的远程连接
树莓派无需显示屏的VNC Viewer方式的远程连接
2022-06-28 10:16:00 【weixin_50909683】
一、配置wifi连接
方法非常简单,首先在SD卡的根目录下添加一个名为 wpa_supplicant.conf的文件,然后在该文件内添加以下的内容:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="你的WIFI名"
psk="WIFI密码"
}
插入SD卡启动树莓派就能直接连接到你的WIFI网络了(切记树莓派现时只支持802.11.n的WIFI标准所以只能连接2.4G网络,所以你需要确保你所连接的是2.4G的通道而不是5G的。
二、查看树莓派ip地址
ping raspberrypi.local
三、打开SSH
方法同样很简单在树莓的官网上也有介绍,只要在新建一个名为SSH文件到SD的根目录就OK了。
四、连接树莓派
ssh根据ip地址连接到树莓派:
默认账号密码:
pi
raspberry
在我们输入密码的过程中,终端上是没有任何显示,我们不用管,输完之后直接回车,出现以下一大堆字符表示我们输入的密码正确,这时候我们就可以远程用指令操纵树莓派了。
五、打开vnc
接下来我们需要通过SSH指令打开树莓派的VNC,VNC是一款远程桌面软件,支持Windows、Mac、iOS、Linux、树莓派操作系统,而且树莓派3B、3B+自带了VNC,我们只需要远程打开它就好了。
远程配置树莓派的指令为:
sudo raspi-config
在终端/运行中键入以上指令后的现象如下图所示,然后选择5 Interfacing Options:
出现以下界面的时候选择P3 VNC:
然后选“是”:
确定:
finish:
六、vnc连接
vnc输入ip地址之后,出现以下界面,这时候提示我们输入树莓派的账户、密码。账户一般为pi,原始密码为raspberry:
密码输入正确之后,我们日思夜想的树莓派桌面就通过VNC远程实现了:
七.参考链接
https://blog.csdn.net/qq_43279579/article/details/109142276?spm=1001.2014.3001.5502
边栏推荐
- What is the difference between MySQL development environment and test environment??
- Understand 12 convolution methods (including 1x1 convolution, transpose convolution and deep separable convolution)
- 增量快照 必须要求mysql表有主键的吗?
- Chapter 5 trees and binary trees
- Decorator
- 在OpenCloudOS使用snap安装.NET 6
- appliedzkp zkevm(10)中的Transactions Proof
- Dear leaders, ask me if MySQL does not support early_ Offset mode? Unsupported star
- Idea failed to connect to SQL Sever
- 2022 Wu Enda machine learning specialization week 2 practice lab: linear expression
猜你喜欢

Redis sentinel cluster main database failure data recovery ideas # yyds dry goods inventory #

Starting from full power to accelerate brand renewal, Chang'an electric and electrification products sound the "assembly number"

How to use dataant to monitor Apache apisex

接口自动化框架脚手架-参数化工具的实现
![[Unity]内置渲染管线转URP](/img/a5/3ae37b847042ffb34e436720f61d17.png)
[Unity]内置渲染管线转URP
Ribbon核心源码解析

【NLP】今年高考英语AI得分134,复旦武大校友这项研究有点意思

Numpy array: join, flatten, and add dimensions

An error is reported when uninstalling Oracle

我大抵是卷上瘾了,横竖睡不着!竟让一个Bug,搞我两次!
随机推荐
Must the MySQL table have a primary key for incremental snapshots?
[Unity]EBUSY: resource busy or locked
【NLP】今年高考英语AI得分134,复旦武大校友这项研究有点意思
读取pdf图片并识别内容
The R language uses the avplots function in the car package to create added variable plots. In image interaction, manually identify (add) strong influence points that have a great impact on each predi
Discard Tkinter! Simple configuration to quickly generate cool GUI!
Google开源依赖注入框架-Guice指南
Ffmpeg audio and video recording
请教下, 我在本地idea运行flinkcdc的mysql到mysql全量同步,这个是在我本地ide
栈的弹出压入序列<难度系数>
linux中源码安装mysql数据库(centos)
缓存之王Caffeine Cache,性能比Guava更强
SQL中的DQL、DML、DDL和DCL是怎么区分和定义的
在OpenCloudOS使用snap安装.NET 6
The boss asked me to write an app automation -- yaml file reading -- with the whole framework source code attached
Is it safe to open an account with the QR code of CICC securities? Tell me what you know
再見!IE瀏覽器,這條路由Edge替IE繼續走下去
Chapter 3 stack and queue
dotnet 使用 Crossgen2 对 DLL 进行 ReadyToRun 提升启动性能
[happy Lantern Festival] guessing lantern riddles eating lantern festival full of vitality ~ (with lantern riddle guessing games)