当前位置:网站首页>采用VNC Viewer方式遠程連接樹莓派
采用VNC Viewer方式遠程連接樹莓派
2022-07-02 23:20:00 【y000827】
一、相關工具下載
1、樹莓派鏡像
官網:https://www.raspberrypi.org/downloads/raspbian/

2、格式化工具
本次采用的格式化工具是SDCardFormatterv5
3、燒錄鏡像工具
本次采用的燒錄工具是Raspberry Pi
4、VNC Viewer
官網地址:
https://www.realvnc.com/en/connect/download/viewer/
5、遠程工具
本文章中采用的是Xshell,也可以選擇其他工具。
百度網盤分享:
https://pan.baidu.com/s/1THVKag0zAyCcvCJIe2Ca9g
提取碼:kk02
二、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遠程界面顯示
1、安裝 VNC Viewer




2、VNC Viewer使用
安裝後打開VNC Viewer界面,首先在最上面輸入樹莓派的IP地址,接著在彈出的界面中輸入Username,Password,點擊“OK”。出現了樹莓派的界面,成功。
七、總結
整個過程按照學姐博客的步驟做下去基本上沒有什麼問題,雖然還是遇到一些問題。但是在CSDN上一搜就基本上能解决
八、參考文章
樹莓派無需顯示屏的VNC Viewer方式的遠程連接
樹莓派raspberry 安裝ubuntu18.04 server + desktop + ros1
边栏推荐
- 海思调用接口之Makefile配置
- LINQ usage collection in C #
- 提交代码流程
- CDN acceleration requires the domain name to be filed first
- Alibaba cloud award winning experience: how to use polardb-x
- [adjustment] postgraduate enrollment of Northeast Petroleum University in 2022 (including adjustment)
- Brief introduction of emotional dialogue recognition and generation
- Which common ports should the server open
- psnr,ssim,rmse三个指标的定量分析
- PotPlayer设置最小化的快捷键
猜你喜欢
![[Solved] Splunk: Cannot get username when all users are selected“](/img/13/1e824c8005701e21fc5b4e73308d53.png)
[Solved] Splunk: Cannot get username when all users are selected“

Potplayer set minimized shortcut keys

Getting started with golang: for Range an alternative method of modifying the values of elements in slices

Looking at Ctrip's toughness and vision from the Q1 financial report in 2022

Cryptography -- the mode of block cipher

程序员版本的八荣八耻~

Why does RTOS system use MPU?

Loss function~

Configuration clic droit pour choisir d'ouvrir le fichier avec vs Code

Win11麦克风测试在哪里?Win11测试麦克风的方法
随机推荐
Mask R-CNN
psnr,ssim,rmse三个指标的定量分析
@BindsInstance在Dagger2中怎么使用
Win11麦克风测试在哪里?Win11测试麦克风的方法
ADC of stm32
Temperature measurement and display of 51 single chip microcomputer [simulation]
海思调用接口之Makefile配置
详解Promise使用
Catalogue of digital image processing experiments
Pandora IOT development board learning (HAL Library) - Experiment 4 serial port communication experiment (learning notes)
【Proteus仿真】51单片机+LCD12864推箱子游戏
Simple square wave generating circuit [51 single chip microcomputer and 8253a]
Static file display problem
Win11系统explorer频繁卡死无响应的三种解决方法
ServletContext learning diary 1
抖音实战~点赞数量弹框
Methods to solve the tampering of Chrome browser and edeg browser homepage
第三方支付功能测试点【杭州多测师_王sir】【杭州多测师】
LINQ usage collection in C #
[redis notes] compressed list (ziplist)