<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>树莓派，Linux on Laning's Blog</title><link>https://blog.laning.org/tags/%E6%A0%91%E8%8E%93%E6%B4%BElinux/</link><description>Recent content in 树莓派，Linux on Laning's Blog</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 09 May 2022 21:14:54 +0800</lastBuildDate><atom:link href="https://blog.laning.org/tags/%E6%A0%91%E8%8E%93%E6%B4%BElinux/index.xml" rel="self" type="application/rss+xml"/><item><title>树莓派远程访问——向日葵解决方案</title><link>https://blog.laning.org/posts/wp-0062/</link><pubDate>Fri, 03 Dec 2021 20:03:54 +0800</pubDate><guid>https://blog.laning.org/posts/wp-0062/</guid><description>&lt;h2 id="项目介绍"&gt;项目介绍&lt;/h2&gt;
&lt;p&gt;树莓派是一款口袋型电脑，拥有丰富的外设接口，同时不错的计算能力，完善的生态（可安装多种Linux操作系统），吸引了一大批技术爱好者加入树莓派社区。要想实现远程访问树莓派GUI界面，除了常用的VNC解决方案，在这里我推荐一个工具——向日葵，它很好地解决了在无公网IP的情况下，树莓派GUI访问的问题。&lt;/p&gt;
&lt;h3 id="1环境要求"&gt;1.环境要求&lt;/h3&gt;
&lt;p&gt;Raspbain_bullseye_arm64镜像，下载链接：&lt;a href="https://mirrors.tuna.tsinghua.edu.cn/raspberry-pi-os-images/raspios_arm64/images/raspios_arm64-2021-11-08/2021-10-30-raspios-bullseye-arm64.zip"&gt;https://mirrors.tuna.tsinghua.edu.cn/raspberry-pi-os-images/raspios_arm64/images/raspios_arm64-2021-11-08/2021-10-30-raspios-bullseye-arm64.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;更换Debian的软件源（注意此处必须是对应系统版本Debian的软件源，而非Raspbian的软件源），更换方法如下：（&lt;a href="https://mirrors.tuna.tsinghua.edu.cn/help/debian/"&gt;参考清华大学开源软件镜像站使用帮助&lt;/a&gt;）&lt;/p&gt;
&lt;p&gt;命令行执行&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;sudo nano /etc/apt/sources.list
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;注释掉原有的软件源，即在未注释行前面加#号，并复制粘贴以下内容``&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;依次 ctrl+o 回车 ctrl+x&lt;/p&gt;
&lt;p&gt;如果细心观察你会发现我们这里使用了Debian11(bullseye)的系统但是使用的是Debian10(buster)的软件源，因为树莓派向日葵客户端的.deb包依赖只有buster能解决（截止2022年5月9日），如果后续需要使用可以在安装完向日葵客户端后再次换源Debian11(bullseye)&lt;/p&gt;
&lt;p&gt;换源方法在文尾，此处可继续执行后续步骤。&lt;/p&gt;
&lt;p&gt;接下来命令行执行下面的命令使上述变更生效&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;sudo apt update
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="2下载并安装向日葵客户端"&gt;2.下载并安装向日葵客户端&lt;/h3&gt;
&lt;p&gt;通过git命令克隆.deb文件地址，命令行依次执行&lt;/p&gt;</description></item></channel></rss>