Raspberry Pi Connect を使ってみる

Raspberry Pi Connectのβ版がリリースされたので使ってみます。
https://www.raspberrypi.com/news/raspberry-pi-connect/

> and of course with the transition to Wayland in Raspberry Pi OS Bookworm, classic X remote desktop support is no longer available.

Raspberry Pi OS BookwormのWaylandへの移行に伴いX remoto desktopが使えなくなったとのこと。

https://ja.wikipedia.org/wiki/Wayland

## Raspberry Pi Connectのドキュメント
https://www.raspberrypi.com/documentation/services/connect.html

## 前準備
### Raspberry Pi OS のインストール

とりあえず手元にあるRaspberry Pi 5へ最新のRaspberry Pi OS(64bit)をインストールしてみます。

https://www.raspberrypi.com/software/

#### デバイスとOSの選択
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/c9e81e8d-a211-4680-8363-828ae134671a.png)
今回はホスト名やユーザ名、ネットワーク周りを設定するために編集します。

#### インストール時の設定の編集
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/49689a0c-a771-2640-1aec-1cedca47d9fa.png)

#### ホスト名などの一般的な設定
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/ed33d09b-57c7-ca70-6af4-6fb01a82b9f8.png)

#### SSHの有効化
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/6f8bf813-a779-13f8-2a93-72830131b7fc.png)

#### SDへRaspberry Pi OSを書き込む
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/628ea874-0292-7e48-e57b-e4b169e5c093.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/54b54f33-74f5-6cfd-b036-0563ef3598fc.png)

#### 書き込み終了
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/edcd3b14-c7e4-75f7-d8a0-928ccc4a9e21.png)

#### Raspberry Pi 5へOSインストール
RTCの電池やシリアル出力、カメラなどごちゃごちゃついていますが、作成したmicroSDを挿して電源を入れます。
![rasp5.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/4c92f5cf-89ab-cc40-9823-ac9866791099.jpeg)

今回は、すでにWi-Fiの設定とSSHの有効化をしていたので、しばらくしたらTeraTermなどでログインしてみる。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/9a576cb1-78e6-60ae-0f70-ad3696c5e9ce.png)

これでRaspberry Pi 5のインストールは終了です。

### Raspberry Pi Connectのインストール

#### Raspberry Pi OSを最新化

```shell:update/upgrade
$ sudo apt update
$ sudo apt upgrade
```

<details><summary>実行結果</summary>

```shell:update
nomura@raspberrypi5:~ $ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
106 packages can be upgraded. Run 'apt list --upgradable' to see them.
nomura@raspberrypi5:~ $
```

```shell:upgrade
nomura@raspberrypi5:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libraspberrypi0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  gtk-nop linux-headers-6.6.28+rpt-common-rpi linux-headers-6.6.28+rpt-rpi-2712 linux-headers-6.6.28+rpt-rpi-v8
  linux-image-6.6.28+rpt-rpi-2712 linux-image-6.6.28+rpt-rpi-v8 linux-kbuild-6.6.28+rpt pastebinit python3-pycryptodome
The following packages will be upgraded:
  arandr bsdextrautils bsdutils chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra eject fdisk firefox
  gir1.2-gtk-3.0 gtk-update-icon-cache gui-pkinst less libblkid1 libc-bin libc-dev-bin libc-devtools libc-l10n libc6
  libc6-dbg libc6-dev libcamera-ipa libcamera-tools libcamera0.2 libdav1d6 libfdisk1 libfm-data libfm-extra4
  libfm-gtk-data libfm-gtk4 libfm-modules libfm4 libglib2.0-0 libglib2.0-bin libglib2.0-data libgtk-3-0 libgtk-3-common
  libjavascriptcoregtk-4.1-0 libmount1 libneatvnc0 libpipewire-0.3-0 libpipewire-0.3-common libpipewire-0.3-modules
  libpisp-common libpisp1 libsmartcols1 libspa-0.2-bluetooth libspa-0.2-modules libuuid1 libvlc-bin libvlc5 libvlccore9
  libwebkit2gtk-4.1-0 libwf-utils0 linux-headers-rpi-2712 linux-headers-rpi-v8 linux-image-rpi-2712 linux-image-rpi-v8
  linux-libc-dev locales lp-connection-editor mount pcmanfm pi-bluetooth piclone pipanel pipewire pipewire-bin
  pipewire-libcamera pipewire-pulse pishutdown piwiz pixflat-theme python3-libcamera python3-picamera2
  raspberrypi-ui-mods raspi-config raspi-firmware raspi-utils rc-gui realvnc-vnc-server rfkill rp-prefapps rpi-eeprom
  rpi-firefox-mods rpicam-apps util-linux util-linux-extra vlc vlc-bin vlc-data vlc-l10n vlc-plugin-access-extra
  vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization wayfire wayvnc wf-panel-pi xserver-common xserver-xorg-core
106 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 363 MB of archives.
After this operation, 142 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian-security bookworm-security/main arm64 bsdutils arm64 1:2.38.1-5+deb12u1 [94.0 kB]
Get:2 http://deb.debian.org/debian-security bookworm-security/main arm64 libsmartcols1 arm64 2.38.1-5+deb12u1 [104 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security/main arm64 util-linux-extra arm64 2.38.1-5+deb12u1 [112 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main arm64 util-linux arm64 2.38.1-5+deb12u1 [1,144 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security/main arm64 mount arm64 2.38.1-5+deb12u1 [134 kB]
Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 libglib2.0-data all 2.74.6-2+deb12u2 [1,209 kB]
Get:7 http://archive.raspberrypi.com/debian bookworm/main arm64 libc6-dbg arm64 2.36-9+rpt2+deb12u7 [6,573 kB]
Get:8 http://deb.debian.org/debian-security bookworm-security/main arm64 libglib2.0-bin arm64 2.74.6-2+deb12u2 [106 kB]
Get:9 http://deb.debian.org/debian-security bookworm-security/main arm64 libblkid1 arm64 2.38.1-5+deb12u1 [143 kB]
Get:10 http://deb.debian.org/debian-security bookworm-security/main arm64 libmount1 arm64 2.38.1-5+deb12u1 [159 kB]
Get:11 http://deb.debian.org/debian-security bookworm-security/main arm64 libglib2.0-0 arm64 2.74.6-2+deb12u2 [1,312 kB]
Get:12 http://deb.debian.org/debian-security bookworm-security/main arm64 libuuid1 arm64 2.38.1-5+deb12u1 [28.3 kB]
Get:13 http://deb.debian.org/debian-security bookworm-security/main arm64 libfdisk1 arm64 2.38.1-5+deb12u1 [182 kB]
Get:14 http://deb.debian.org/debian-security bookworm-security/main arm64 fdisk arm64 2.38.1-5+deb12u1 [139 kB]
Get:15 http://deb.debian.org/debian-security bookworm-security/main arm64 less arm64 590-2.1~deb12u2 [128 kB]
Get:16 http://deb.debian.org/debian-security bookworm-security/main arm64 bsdextrautils arm64 2.38.1-5+deb12u1 [86.9 kB]
Get:17 http://deb.debian.org/debian-security bookworm-security/main arm64 eject arm64 2.38.1-5+deb12u1 [51.0 kB]
Get:18 http://deb.debian.org/debian-security bookworm-security/main arm64 libdav1d6 arm64 1.0.0-2+deb12u1 [275 kB]
Get:19 http://deb.debian.org/debian-security bookworm-security/main arm64 libwebkit2gtk-4.1-0 arm64 2.44.1-1~deb12u1 [20.1 MB]
Get:20 http://deb.debian.org/debian-security bookworm-security/main arm64 libjavascriptcoregtk-4.1-0 arm64 2.44.1-1~deb12u1 [6,859 kB]
Get:21 http://deb.debian.org/debian bookworm/main arm64 python3-pycryptodome arm64 3.11.0+dfsg1-4 [1,010 kB]
Get:22 http://deb.debian.org/debian-security bookworm-security/main arm64 rfkill arm64 2.38.1-5+deb12u1 [37.1 kB]
Get:23 http://archive.raspberrypi.com/debian bookworm/main arm64 libc-devtools arm64 2.36-9+rpt2+deb12u7 [52.4 kB]
Get:24 http://archive.raspberrypi.com/debian bookworm/main arm64 libc6-dev arm64 2.36-9+rpt2+deb12u7 [1,431 kB]
Get:25 http://archive.raspberrypi.com/debian bookworm/main arm64 libc-dev-bin arm64 2.36-9+rpt2+deb12u7 [45.2 kB]
Get:26 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-libc-dev all 1:6.6.28-1+rpt1 [2,046 kB]
Get:27 http://archive.raspberrypi.com/debian bookworm/main arm64 libc6 arm64 2.36-9+rpt2+deb12u7 [2,324 kB]
Get:28 http://archive.raspberrypi.com/debian bookworm/main arm64 libc-bin arm64 2.36-9+rpt2+deb12u7 [532 kB]
Get:29 http://archive.raspberrypi.com/debian bookworm/main arm64 chromium-browser-l10n all 124.0.6367.73-rpt1 [6,651 kB]
Get:30 http://archive.raspberrypi.com/debian bookworm/main arm64 libgtk-3-common all 1:3.24.38-2~deb12u1+rpt5+rpi1 [3,896 kB]
Get:31 http://archive.raspberrypi.com/debian bookworm/main arm64 libgtk-3-0 arm64 1:3.24.38-2~deb12u1+rpt5+rpi1 [2,620 kB]
Get:32 http://archive.raspberrypi.com/debian bookworm/main arm64 chromium-browser arm64 124.0.6367.73-rpt1 [114 MB]
Get:33 http://archive.raspberrypi.com/debian bookworm/main arm64 chromium-codecs-ffmpeg-extra arm64 124.0.6367.73-rpt1 [937 kB]
Get:34 http://archive.raspberrypi.com/debian bookworm/main arm64 raspi-firmware all 1:1.20240424-1 [4,550 kB]
Get:35 http://archive.raspberrypi.com/debian bookworm/main arm64 rpi-firefox-mods all 20240424 [3,511 kB]
Get:36 http://archive.raspberrypi.com/debian bookworm/main arm64 libc-l10n all 2.36-9+rpt2+deb12u7 [675 kB]
Get:37 http://archive.raspberrypi.com/debian bookworm/main arm64 locales all 2.36-9+rpt2+deb12u7 [3,903 kB]
Get:38 http://archive.raspberrypi.com/debian bookworm/main arm64 gir1.2-gtk-3.0 arm64 1:3.24.38-2~deb12u1+rpt5+rpi1 [221 kB]
Get:39 http://archive.raspberrypi.com/debian bookworm/main arm64 raspi-config all 20240510 [31.0 kB]
Get:40 http://archive.raspberrypi.com/debian bookworm/main arm64 arandr all 0.1.11-1+rpt25 [73.1 kB]
Get:41 http://archive.raspberrypi.com/debian bookworm/main arm64 firefox arm64 125.0.1-1+rpt4 [62.5 MB]
Get:42 http://archive.raspberrypi.com/debian bookworm/main arm64 gtk-nop arm64 0.1 [3,716 B]
Get:43 http://archive.raspberrypi.com/debian bookworm/main arm64 gtk-update-icon-cache arm64 1:3.24.38-2~deb12u1+rpt5+rpi1 [44.1 kB]
Get:44 http://archive.raspberrypi.com/debian bookworm/main arm64 gui-pkinst arm64 0.15 [128 kB]
Get:45 http://archive.raspberrypi.com/debian bookworm/main arm64 libpisp1 arm64 1.0.5-1 [178 kB]
Get:46 http://archive.raspberrypi.com/debian bookworm/main arm64 libpisp-common all 1.0.5-1 [4,364 B]
Get:47 http://archive.raspberrypi.com/debian bookworm/main arm64 libcamera0.2 arm64 0.2.0+rpt20240418-1 [544 kB]
Get:48 http://archive.raspberrypi.com/debian bookworm/main arm64 libcamera-ipa arm64 0.2.0+rpt20240418-1 [429 kB]
Get:49 http://archive.raspberrypi.com/debian bookworm/main arm64 libcamera-tools arm64 0.2.0+rpt20240418-1 [279 kB]
Get:50 http://archive.raspberrypi.com/debian bookworm/main arm64 libfm-data all 1.3.2-1+rpt13 [247 kB]
Get:51 http://archive.raspberrypi.com/debian bookworm/main arm64 libfm-extra4 arm64 1.3.2-1+rpt13 [26.3 kB]
Get:52 http://archive.raspberrypi.com/debian bookworm/main arm64 libfm-gtk-data all 1.3.2-1+rpt13 [29.8 kB]
Get:53 http://archive.raspberrypi.com/debian bookworm/main arm64 libfm-gtk4 arm64 1.3.2-1+rpt13 [146 kB]
Get:54 http://archive.raspberrypi.com/debian bookworm/main arm64 libfm4 arm64 1.3.2-1+rpt13 [116 kB]
Get:55 http://archive.raspberrypi.com/debian bookworm/main arm64 libfm-modules arm64 1.3.2-1+rpt13 [44.8 kB]
Get:56 http://archive.raspberrypi.com/debian bookworm/main arm64 libneatvnc0 arm64 0.9.0+dfsg-1~rp1 [60.5 kB]
Get:57 http://archive.raspberrypi.com/debian bookworm/main arm64 pipewire-pulse arm64 0.3.65-3+rpt7+deb12u1 [19.9 kB]
Get:58 http://archive.raspberrypi.com/debian bookworm/main arm64 pipewire-libcamera arm64 0.3.65-3+rpt7+deb12u1 [60.3 kB]
Get:59 http://archive.raspberrypi.com/debian bookworm/main arm64 libpipewire-0.3-modules arm64 0.3.65-3+rpt7+deb12u1 [507 kB]
Get:60 http://archive.raspberrypi.com/debian bookworm/main arm64 libpipewire-0.3-0 arm64 0.3.65-3+rpt7+deb12u1 [216 kB]
Get:61 http://archive.raspberrypi.com/debian bookworm/main arm64 libspa-0.2-bluetooth arm64 0.3.65-3+rpt7+deb12u1 [284 kB]
Get:62 http://archive.raspberrypi.com/debian bookworm/main arm64 libspa-0.2-modules arm64 0.3.65-3+rpt7+deb12u1 [447 kB]
Get:63 http://archive.raspberrypi.com/debian bookworm/main arm64 pipewire arm64 0.3.65-3+rpt7+deb12u1 [80.3 kB]
Get:64 http://archive.raspberrypi.com/debian bookworm/main arm64 pipewire-bin arm64 0.3.65-3+rpt7+deb12u1 [285 kB]
Get:65 http://archive.raspberrypi.com/debian bookworm/main arm64 libpipewire-0.3-common all 0.3.65-3+rpt7+deb12u1 [72.6 kB]
Get:66 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc arm64 1:3.0.20-0+rpt6+deb12u1 [110 kB]
Get:67 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-base arm64 1:3.0.20-0+rpt6+deb12u1 [2,990 kB]
Get:68 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-data all 1:3.0.20-0+rpt6+deb12u1 [421 kB]
Get:69 http://archive.raspberrypi.com/debian bookworm/main arm64 libvlccore9 arm64 1:3.0.20-0+rpt6+deb12u1 [473 kB]
Get:70 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-skins2 arm64 1:3.0.20-0+rpt6+deb12u1 [531 kB]
Get:71 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-qt arm64 1:3.0.20-0+rpt6+deb12u1 [1,067 kB]
Get:72 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-video-output arm64 1:3.0.20-0+rpt6+deb12u1 [190 kB]
Get:73 http://archive.raspberrypi.com/debian bookworm/main arm64 libvlc5 arm64 1:3.0.20-0+rpt6+deb12u1 [138 kB]
Get:74 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-bin arm64 1:3.0.20-0+rpt6+deb12u1 [129 kB]
Get:75 http://archive.raspberrypi.com/debian bookworm/main arm64 libvlc-bin arm64 1:3.0.20-0+rpt6+deb12u1 [91.6 kB]
Get:76 http://archive.raspberrypi.com/debian bookworm/main arm64 libwf-utils0 arm64 0.7.5-1~bpo11+1~rpt35 [39.0 kB]
Get:77 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-headers-6.6.28+rpt-common-rpi all 1:6.6.28-1+rpt1 [8,214 kB]
Get:78 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-image-6.6.28+rpt-rpi-2712 arm64 1:6.6.28-1+rpt1 [29.3 MB]
Get:79 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-kbuild-6.6.28+rpt arm64 1:6.6.28-1+rpt1 [1,012 kB]
Get:80 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-headers-6.6.28+rpt-rpi-2712 arm64 1:6.6.28-1+rpt1 [1,126 kB]
Get:81 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-image-6.6.28+rpt-rpi-v8 arm64 1:6.6.28-1+rpt1 [29.3 MB]
Get:82 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-headers-6.6.28+rpt-rpi-v8 arm64 1:6.6.28-1+rpt1 [1,126 kB]
Get:83 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-headers-rpi-2712 arm64 1:6.6.28-1+rpt1 [1,160 B]
Get:84 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-headers-rpi-v8 arm64 1:6.6.28-1+rpt1 [1,156 B]
Get:85 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-image-rpi-2712 arm64 1:6.6.28-1+rpt1 [1,428 B]
Get:86 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-image-rpi-v8 arm64 1:6.6.28-1+rpt1 [1,428 B]
Get:87 http://archive.raspberrypi.com/debian bookworm/main arm64 lp-connection-editor arm64 0.3 [671 kB]
Get:88 http://archive.raspberrypi.com/debian bookworm/main arm64 pastebinit all 1.6.2-1+rpt1 [43.5 kB]
Get:89 http://archive.raspberrypi.com/debian bookworm/main arm64 pcmanfm arm64 1.3.2-1+rpt20 [289 kB]
Get:90 http://archive.raspberrypi.com/debian bookworm/main arm64 pi-bluetooth all 0.1.20 [5,488 B]
Get:91 http://archive.raspberrypi.com/debian bookworm/main arm64 piclone arm64 0.29 [22.2 kB]
Get:92 http://archive.raspberrypi.com/debian bookworm/main arm64 pipanel arm64 1:1.45 [39.1 kB]
Get:93 http://archive.raspberrypi.com/debian bookworm/main arm64 pishutdown arm64 0.28 [8,704 B]
Get:94 http://archive.raspberrypi.com/debian bookworm/main arm64 piwiz arm64 0.68 [161 kB]
Get:95 http://archive.raspberrypi.com/debian bookworm/main arm64 pixflat-theme arm64 0.17 [92.0 kB]
Get:96 http://archive.raspberrypi.com/debian bookworm/main arm64 python3-libcamera arm64 0.2.0+rpt20240418-1 [214 kB]
Get:97 http://archive.raspberrypi.com/debian bookworm/main arm64 python3-picamera2 all 0.3.18-1 [59.2 kB]
Get:98 http://archive.raspberrypi.com/debian bookworm/main arm64 wayfire arm64 0.7.5-1~bpo11+1~rpt35 [833 kB]
Get:99 http://archive.raspberrypi.com/debian bookworm/main arm64 wf-panel-pi arm64 0.73 [413 kB]
Get:100 http://archive.raspberrypi.com/debian bookworm/main arm64 raspberrypi-ui-mods arm64 1.20240510 [1,004 kB]
Get:101 http://archive.raspberrypi.com/debian bookworm/main arm64 raspi-utils arm64 20240402-3 [109 kB]
Get:102 http://archive.raspberrypi.com/debian bookworm/main arm64 rc-gui arm64 1.80 [63.3 kB]
Get:103 http://archive.raspberrypi.com/debian bookworm/main arm64 realvnc-vnc-server arm64 7.11.0.18 [9,303 kB]
Get:104 http://archive.raspberrypi.com/debian bookworm/main arm64 rp-prefapps arm64 0.55 [299 kB]
Get:105 http://archive.raspberrypi.com/debian bookworm/main arm64 rpi-eeprom all 23.0-1 [6,306 kB]
Get:106 http://archive.raspberrypi.com/debian bookworm/main arm64 rpicam-apps arm64 1.4.4-1 [304 kB]
Get:107 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-l10n all 1:3.0.20-0+rpt6+deb12u1 [6,010 kB]
Get:108 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-access-extra arm64 1:3.0.20-0+rpt6+deb12u1 [107 kB]
Get:109 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-notify arm64 1:3.0.20-0+rpt6+deb12u1 [92.7 kB]
Get:110 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-samba arm64 1:3.0.20-0+rpt6+deb12u1 [93.3 kB]
Get:111 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-video-splitter arm64 1:3.0.20-0+rpt6+deb12u1 [107 kB]
Get:112 http://archive.raspberrypi.com/debian bookworm/main arm64 vlc-plugin-visualization arm64 1:3.0.20-0+rpt6+deb12u1 [112 kB]
Get:113 http://archive.raspberrypi.com/debian bookworm/main arm64 wayvnc arm64 0.9.0~dev-1 [64.8 kB]
Get:114 http://archive.raspberrypi.com/debian bookworm/main arm64 xserver-common all 2:21.1.7-3+rpt2+deb12u7 [2,383 kB]
Get:115 http://archive.raspberrypi.com/debian bookworm/main arm64 xserver-xorg-core arm64 2:21.1.7-3+rpt2+deb12u7 [3,594 kB]
Fetched 363 MB in 50s (7,274 kB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 127434 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.38.1-5+deb12u1_arm64.deb ...
Unpacking bsdutils (1:2.38.1-5+deb12u1) over (1:2.38.1-5+b1) ...
Setting up bsdutils (1:2.38.1-5+deb12u1) ...
(Reading database ... 127433 files and directories currently installed.)
Preparing to unpack .../0-libc6-dbg_2.36-9+rpt2+deb12u7_arm64.deb ...
Unpacking libc6-dbg:arm64 (2.36-9+rpt2+deb12u7) over (2.36-9+rpt2+deb12u4) ...
Preparing to unpack .../1-libc-devtools_2.36-9+rpt2+deb12u7_arm64.deb ...
Unpacking libc-devtools (2.36-9+rpt2+deb12u7) over (2.36-9+rpt2+deb12u4) ...
Preparing to unpack .../2-libc6-dev_2.36-9+rpt2+deb12u7_arm64.deb ...
Unpacking libc6-dev:arm64 (2.36-9+rpt2+deb12u7) over (2.36-9+rpt2+deb12u4) ...
Preparing to unpack .../3-libc-dev-bin_2.36-9+rpt2+deb12u7_arm64.deb ...
Unpacking libc-dev-bin (2.36-9+rpt2+deb12u7) over (2.36-9+rpt2+deb12u4) ...
Preparing to unpack .../4-linux-libc-dev_1%3a6.6.28-1+rpt1_all.deb ...
Unpacking linux-libc-dev (1:6.6.28-1+rpt1) over (1:6.6.20-1+rpt1) ...
Preparing to unpack .../5-libc6_2.36-9+rpt2+deb12u7_arm64.deb ...
Unpacking libc6:arm64 (2.36-9+rpt2+deb12u7) over (2.36-9+rpt2+deb12u4) ...
Setting up libc6:arm64 (2.36-9+rpt2+deb12u7) ...
(Reading database ... 127434 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.38.1-5+deb12u1_arm64.deb ...
Unpacking libsmartcols1:arm64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Setting up libsmartcols1:arm64 (2.38.1-5+deb12u1) ...
(Reading database ... 127433 files and directories currently installed.)
Preparing to unpack .../util-linux-extra_2.38.1-5+deb12u1_arm64.deb ...
Unpacking util-linux-extra (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Setting up util-linux-extra (2.38.1-5+deb12u1) ...
(Reading database ... 127432 files and directories currently installed.)
Preparing to unpack .../util-linux_2.38.1-5+deb12u1_arm64.deb ...
Unpacking util-linux (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Setting up util-linux (2.38.1-5+deb12u1) ...
fstrim.service is a disabled or a static unit not running, not starting it.
(Reading database ... 127431 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.36-9+rpt2+deb12u7_arm64.deb ...
Unpacking libc-bin (2.36-9+rpt2+deb12u7) over (2.36-9+rpt2+deb12u4) ...
Setting up libc-bin (2.36-9+rpt2+deb12u7) ...
(Reading database ... 127431 files and directories currently installed.)
Preparing to unpack .../mount_2.38.1-5+deb12u1_arm64.deb ...
Unpacking mount (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../chromium-browser-l10n_124.0.6367.73-rpt1_all.deb ...
Unpacking chromium-browser-l10n (124.0.6367.73-rpt1) over (122.0.6261.89-rpt1) ...
Preparing to unpack .../libglib2.0-data_2.74.6-2+deb12u2_all.deb ...
Unpacking libglib2.0-data (2.74.6-2+deb12u2) over (2.74.6-2) ...
Preparing to unpack .../libglib2.0-bin_2.74.6-2+deb12u2_arm64.deb ...
Unpacking libglib2.0-bin (2.74.6-2+deb12u2) over (2.74.6-2) ...
Preparing to unpack .../libblkid1_2.38.1-5+deb12u1_arm64.deb ...
Unpacking libblkid1:arm64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Setting up libblkid1:arm64 (2.38.1-5+deb12u1) ...
(Reading database ... 127429 files and directories currently installed.)
Preparing to unpack .../libmount1_2.38.1-5+deb12u1_arm64.deb ...
Unpacking libmount1:arm64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Setting up libmount1:arm64 (2.38.1-5+deb12u1) ...
(Reading database ... 127428 files and directories currently installed.)
Preparing to unpack .../0-libglib2.0-0_2.74.6-2+deb12u2_arm64.deb ...
Unpacking libglib2.0-0:arm64 (2.74.6-2+deb12u2) over (2.74.6-2) ...
Preparing to unpack .../1-libgtk-3-common_1%3a3.24.38-2~deb12u1+rpt5+rpi1_all.deb ...
Unpacking libgtk-3-common (1:3.24.38-2~deb12u1+rpt5+rpi1) over (1:3.24.38-2~deb12u1+rpt4+rpi1) ...
Preparing to unpack .../2-libgtk-3-0_1%3a3.24.38-2~deb12u1+rpt5+rpi1_arm64.deb ...
Unpacking libgtk-3-0:arm64 (1:3.24.38-2~deb12u1+rpt5+rpi1) over (1:3.24.38-2~deb12u1+rpt4+rpi1) ...
Preparing to unpack .../3-chromium-browser_124.0.6367.73-rpt1_arm64.deb ...
Unpacking chromium-browser (124.0.6367.73-rpt1) over (122.0.6261.89-rpt1) ...
Preparing to unpack .../4-chromium-codecs-ffmpeg-extra_124.0.6367.73-rpt1_arm64.deb ...
Unpacking chromium-codecs-ffmpeg-extra (124.0.6367.73-rpt1) over (122.0.6261.89-rpt1) ...
Preparing to unpack .../5-raspi-firmware_1%3a1.20240424-1_all.deb ...
Unpacking raspi-firmware (1:1.20240424-1) over (1:1.20240306+ds-1+rpt1) ...
Preparing to unpack .../6-rpi-firefox-mods_20240424_all.deb ...
Unpacking rpi-firefox-mods (20240424) over (20240110) ...
Preparing to unpack .../7-libuuid1_2.38.1-5+deb12u1_arm64.deb ...
Unpacking libuuid1:arm64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Setting up libuuid1:arm64 (2.38.1-5+deb12u1) ...
(Reading database ... 127429 files and directories currently installed.)
Preparing to unpack .../00-libfdisk1_2.38.1-5+deb12u1_arm64.deb ...
Unpacking libfdisk1:arm64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../01-fdisk_2.38.1-5+deb12u1_arm64.deb ...
Unpacking fdisk (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../02-less_590-2.1~deb12u2_arm64.deb ...
Unpacking less (590-2.1~deb12u2) over (590-2) ...
Preparing to unpack .../03-libc-l10n_2.36-9+rpt2+deb12u7_all.deb ...
Unpacking libc-l10n (2.36-9+rpt2+deb12u7) over (2.36-9+rpt2+deb12u4) ...
Preparing to unpack .../04-locales_2.36-9+rpt2+deb12u7_all.deb ...
Unpacking locales (2.36-9+rpt2+deb12u7) over (2.36-9+rpt2+deb12u4) ...
Preparing to unpack .../05-gir1.2-gtk-3.0_1%3a3.24.38-2~deb12u1+rpt5+rpi1_arm64.deb ...
Unpacking gir1.2-gtk-3.0:arm64 (1:3.24.38-2~deb12u1+rpt5+rpi1) over (1:3.24.38-2~deb12u1+rpt4+rpi1) ...
Preparing to unpack .../06-raspi-config_20240510_all.deb ...
Unpacking raspi-config (20240510) over (20240313) ...
Preparing to unpack .../07-arandr_0.1.11-1+rpt25_all.deb ...
Unpacking arandr (0.1.11-1+rpt25) over (0.1.11-1+rpt23) ...
Preparing to unpack .../08-bsdextrautils_2.38.1-5+deb12u1_arm64.deb ...
Unpacking bsdextrautils (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../09-eject_2.38.1-5+deb12u1_arm64.deb ...
Unpacking eject (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../10-firefox_125.0.1-1+rpt4_arm64.deb ...
Unpacking firefox (125.0.1-1+rpt4) over (123.0-1+rpt4) ...
Selecting previously unselected package gtk-nop.
Preparing to unpack .../11-gtk-nop_0.1_arm64.deb ...
Unpacking gtk-nop (0.1) ...
Preparing to unpack .../12-gtk-update-icon-cache_1%3a3.24.38-2~deb12u1+rpt5+rpi1_arm64.deb ...
Unpacking gtk-update-icon-cache (1:3.24.38-2~deb12u1+rpt5+rpi1) over (1:3.24.38-2~deb12u1+rpt4+rpi1) ...
Preparing to unpack .../13-gui-pkinst_0.15_arm64.deb ...
Unpacking gui-pkinst (0.15) over (0.14) ...
Preparing to unpack .../14-libpisp1_1.0.5-1_arm64.deb ...
Unpacking libpisp1:arm64 (1.0.5-1) over (1.0.4-1) ...
Preparing to unpack .../15-libpisp-common_1.0.5-1_all.deb ...
Unpacking libpisp-common (1.0.5-1) over (1.0.4-1) ...
Preparing to unpack .../16-libcamera0.2_0.2.0+rpt20240418-1_arm64.deb ...
Unpacking libcamera0.2:arm64 (0.2.0+rpt20240418-1) over (0.2.0+rpt20240215-1) ...
Preparing to unpack .../17-libcamera-ipa_0.2.0+rpt20240418-1_arm64.deb ...
Unpacking libcamera-ipa:arm64 (0.2.0+rpt20240418-1) over (0.2.0+rpt20240215-1) ...
Preparing to unpack .../18-libcamera-tools_0.2.0+rpt20240418-1_arm64.deb ...
Unpacking libcamera-tools (0.2.0+rpt20240418-1) over (0.2.0+rpt20240215-1) ...
Preparing to unpack .../19-libdav1d6_1.0.0-2+deb12u1_arm64.deb ...
Unpacking libdav1d6:arm64 (1.0.0-2+deb12u1) over (1.0.0-2) ...
Preparing to unpack .../20-libfm-data_1.3.2-1+rpt13_all.deb ...
Unpacking libfm-data (1.3.2-1+rpt13) over (1.3.2-1+rpt12) ...
Preparing to unpack .../21-libfm-extra4_1.3.2-1+rpt13_arm64.deb ...
Unpacking libfm-extra4:arm64 (1.3.2-1+rpt13) over (1.3.2-1+rpt12) ...
Preparing to unpack .../22-libfm-gtk-data_1.3.2-1+rpt13_all.deb ...
Unpacking libfm-gtk-data (1.3.2-1+rpt13) over (1.3.2-1+rpt12) ...
Preparing to unpack .../23-libfm-gtk4_1.3.2-1+rpt13_arm64.deb ...
Unpacking libfm-gtk4:arm64 (1.3.2-1+rpt13) over (1.3.2-1+rpt12) ...
Preparing to unpack .../24-libfm4_1.3.2-1+rpt13_arm64.deb ...
Unpacking libfm4:arm64 (1.3.2-1+rpt13) over (1.3.2-1+rpt12) ...
Preparing to unpack .../25-libfm-modules_1.3.2-1+rpt13_arm64.deb ...
Unpacking libfm-modules:arm64 (1.3.2-1+rpt13) over (1.3.2-1+rpt12) ...
Preparing to unpack .../26-libwebkit2gtk-4.1-0_2.44.1-1~deb12u1_arm64.deb ...
Unpacking libwebkit2gtk-4.1-0:arm64 (2.44.1-1~deb12u1) over (2.42.5-1~deb12u1) ...
Preparing to unpack .../27-libjavascriptcoregtk-4.1-0_2.44.1-1~deb12u1_arm64.deb ...
Unpacking libjavascriptcoregtk-4.1-0:arm64 (2.44.1-1~deb12u1) over (2.42.5-1~deb12u1) ...
Preparing to unpack .../28-libneatvnc0_0.9.0+dfsg-1~rp1_arm64.deb ...
Unpacking libneatvnc0:arm64 (0.9.0+dfsg-1~rp1) over (0.8.0+dfsg-1~rpt1) ...
Preparing to unpack .../29-pipewire-pulse_0.3.65-3+rpt7+deb12u1_arm64.deb ...
Unpacking pipewire-pulse (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../30-pipewire-libcamera_0.3.65-3+rpt7+deb12u1_arm64.deb ...
Unpacking pipewire-libcamera:arm64 (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../31-libpipewire-0.3-modules_0.3.65-3+rpt7+deb12u1_arm64.deb ...
Unpacking libpipewire-0.3-modules:arm64 (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../32-libpipewire-0.3-0_0.3.65-3+rpt7+deb12u1_arm64.deb ...
Unpacking libpipewire-0.3-0:arm64 (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../33-libspa-0.2-bluetooth_0.3.65-3+rpt7+deb12u1_arm64.deb ...
Unpacking libspa-0.2-bluetooth:arm64 (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../34-libspa-0.2-modules_0.3.65-3+rpt7+deb12u1_arm64.deb ...
Unpacking libspa-0.2-modules:arm64 (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../35-pipewire_0.3.65-3+rpt7+deb12u1_arm64.deb ...
Unpacking pipewire:arm64 (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../36-pipewire-bin_0.3.65-3+rpt7+deb12u1_arm64.deb ...
Unpacking pipewire-bin (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../37-libpipewire-0.3-common_0.3.65-3+rpt7+deb12u1_all.deb ...
Unpacking libpipewire-0.3-common (0.3.65-3+rpt7+deb12u1) over (0.3.65-3+rpt6+deb12u1) ...
Preparing to unpack .../38-vlc_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../39-vlc-plugin-base_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-base:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../40-vlc-data_1%3a3.0.20-0+rpt6+deb12u1_all.deb ...
Unpacking vlc-data (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../41-libvlccore9_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking libvlccore9:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../42-vlc-plugin-skins2_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-skins2:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../43-vlc-plugin-qt_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-qt:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../44-vlc-plugin-video-output_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-video-output:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../45-libvlc5_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking libvlc5:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../46-vlc-bin_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-bin (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../47-libvlc-bin_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking libvlc-bin:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../48-libwf-utils0_0.7.5-1~bpo11+1~rpt35_arm64.deb ...
Unpacking libwf-utils0:arm64 (0.7.5-1~bpo11+1~rpt35) over (0.7.5-1~bpo11+1~rpt33) ...
Selecting previously unselected package linux-headers-6.6.28+rpt-common-rpi.
Preparing to unpack .../49-linux-headers-6.6.28+rpt-common-rpi_1%3a6.6.28-1+rpt1_all.deb ...
Unpacking linux-headers-6.6.28+rpt-common-rpi (1:6.6.28-1+rpt1) ...
Selecting previously unselected package linux-image-6.6.28+rpt-rpi-2712.
Preparing to unpack .../50-linux-image-6.6.28+rpt-rpi-2712_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-image-6.6.28+rpt-rpi-2712 (1:6.6.28-1+rpt1) ...
Selecting previously unselected package linux-kbuild-6.6.28+rpt.
Preparing to unpack .../51-linux-kbuild-6.6.28+rpt_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-kbuild-6.6.28+rpt (1:6.6.28-1+rpt1) ...
Selecting previously unselected package linux-headers-6.6.28+rpt-rpi-2712.
Preparing to unpack .../52-linux-headers-6.6.28+rpt-rpi-2712_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-headers-6.6.28+rpt-rpi-2712 (1:6.6.28-1+rpt1) ...
Selecting previously unselected package linux-image-6.6.28+rpt-rpi-v8.
Preparing to unpack .../53-linux-image-6.6.28+rpt-rpi-v8_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-image-6.6.28+rpt-rpi-v8 (1:6.6.28-1+rpt1) ...
Selecting previously unselected package linux-headers-6.6.28+rpt-rpi-v8.
Preparing to unpack .../54-linux-headers-6.6.28+rpt-rpi-v8_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-headers-6.6.28+rpt-rpi-v8 (1:6.6.28-1+rpt1) ...
Preparing to unpack .../55-linux-headers-rpi-2712_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-headers-rpi-2712 (1:6.6.28-1+rpt1) over (1:6.6.20-1+rpt1) ...
Preparing to unpack .../56-linux-headers-rpi-v8_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-headers-rpi-v8 (1:6.6.28-1+rpt1) over (1:6.6.20-1+rpt1) ...
Preparing to unpack .../57-linux-image-rpi-2712_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-image-rpi-2712 (1:6.6.28-1+rpt1) over (1:6.6.20-1+rpt1) ...
Preparing to unpack .../58-linux-image-rpi-v8_1%3a6.6.28-1+rpt1_arm64.deb ...
Unpacking linux-image-rpi-v8 (1:6.6.28-1+rpt1) over (1:6.6.20-1+rpt1) ...
Preparing to unpack .../59-lp-connection-editor_0.3_arm64.deb ...
Unpacking lp-connection-editor (0.3) over (0.2) ...
Selecting previously unselected package pastebinit.
Preparing to unpack .../60-pastebinit_1.6.2-1+rpt1_all.deb ...
Unpacking pastebinit (1.6.2-1+rpt1) ...
Preparing to unpack .../61-pcmanfm_1.3.2-1+rpt20_arm64.deb ...
Unpacking pcmanfm (1.3.2-1+rpt20) over (1.3.2-1+rpt19) ...
Preparing to unpack .../62-pi-bluetooth_0.1.20_all.deb ...
Unpacking pi-bluetooth (0.1.20) over (0.1.19) ...
Preparing to unpack .../63-piclone_0.29_arm64.deb ...
Unpacking piclone (0.29) over (0.28) ...
Preparing to unpack .../64-pipanel_1%3a1.45_arm64.deb ...
Unpacking pipanel (1:1.45) over (1:1.41) ...
Preparing to unpack .../65-pishutdown_0.28_arm64.deb ...
Leaving 'diversion of /usr/bin/lxde-pi-shutdown-helper to /usr/bin/lxde-pi-shutdown-helper.old by pishutdown'
Unpacking pishutdown (0.28) over (0.27) ...
Preparing to unpack .../66-piwiz_0.68_arm64.deb ...
Unpacking piwiz (0.68) over (0.67) ...
Preparing to unpack .../67-pixflat-theme_0.17_arm64.deb ...
Unpacking pixflat-theme (0.17) over (0.14) ...
Preparing to unpack .../68-python3-libcamera_0.2.0+rpt20240418-1_arm64.deb ...
Unpacking python3-libcamera:arm64 (0.2.0+rpt20240418-1) over (0.2.0+rpt20240215-1) ...
Preparing to unpack .../69-python3-picamera2_0.3.18-1_all.deb ...
Unpacking python3-picamera2 (0.3.18-1) over (0.3.17-1) ...
Selecting previously unselected package python3-pycryptodome.
Preparing to unpack .../70-python3-pycryptodome_3.11.0+dfsg1-4_arm64.deb ...
Unpacking python3-pycryptodome (3.11.0+dfsg1-4) ...
Preparing to unpack .../71-wayfire_0.7.5-1~bpo11+1~rpt35_arm64.deb ...
Unpacking wayfire (0.7.5-1~bpo11+1~rpt35) over (0.7.5-1~bpo11+1~rpt33) ...
Preparing to unpack .../72-wf-panel-pi_0.73_arm64.deb ...
Unpacking wf-panel-pi (0.73) over (0.68) ...
Preparing to unpack .../73-raspberrypi-ui-mods_1.20240510_arm64.deb ...
Unpacking raspberrypi-ui-mods (1.20240510) over (1.20240311) ...
Preparing to unpack .../74-raspi-utils_20240402-3_arm64.deb ...
Unpacking raspi-utils (20240402-3) over (20240115-1) ...
Preparing to unpack .../75-rc-gui_1.80_arm64.deb ...
Unpacking rc-gui (1.80) over (1.78) ...
Preparing to unpack .../76-realvnc-vnc-server_7.11.0.18_arm64.deb ...
Unpacking realvnc-vnc-server (7.11.0.18) over (7.5.1.50075) ...
Preparing to unpack .../77-rfkill_2.38.1-5+deb12u1_arm64.deb ...
Unpacking rfkill (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../78-rp-prefapps_0.55_arm64.deb ...
Unpacking rp-prefapps (0.55) over (0.54) ...
Preparing to unpack .../79-rpi-eeprom_23.0-1_all.deb ...
Unpacking rpi-eeprom (23.0-1) over (21.4-1) ...
Preparing to unpack .../80-rpicam-apps_1.4.4-1_arm64.deb ...
Unpacking rpicam-apps (1.4.4-1) over (1.4.3-1) ...
Preparing to unpack .../81-vlc-l10n_1%3a3.0.20-0+rpt6+deb12u1_all.deb ...
Unpacking vlc-l10n (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../82-vlc-plugin-access-extra_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-access-extra:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../83-vlc-plugin-notify_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-notify:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../84-vlc-plugin-samba_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-samba:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../85-vlc-plugin-video-splitter_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-video-splitter:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../86-vlc-plugin-visualization_1%3a3.0.20-0+rpt6+deb12u1_arm64.deb ...
Unpacking vlc-plugin-visualization:arm64 (1:3.0.20-0+rpt6+deb12u1) over (1:3.0.20-0+rpt5+deb12u1) ...
Preparing to unpack .../87-wayvnc_0.9.0~dev-1_arm64.deb ...
Unpacking wayvnc (0.9.0~dev-1) over (0.8.0-rel-1) ...
Preparing to unpack .../88-xserver-common_2%3a21.1.7-3+rpt2+deb12u7_all.deb ...
Unpacking xserver-common (2:21.1.7-3+rpt2+deb12u7) over (2:21.1.7-3+rpt2+deb12u5) ...
Preparing to unpack .../89-xserver-xorg-core_2%3a21.1.7-3+rpt2+deb12u7_arm64.deb ...
Unpacking xserver-xorg-core (2:21.1.7-3+rpt2+deb12u7) over (2:21.1.7-3+rpt2+deb12u5) ...
Setting up libpipewire-0.3-common (0.3.65-3+rpt7+deb12u1) ...
Setting up libfm-gtk-data (1.3.2-1+rpt13) ...
Setting up libc-l10n (2.36-9+rpt2+deb12u7) ...
Setting up chromium-codecs-ffmpeg-extra (124.0.6367.73-rpt1) ...
Setting up bsdextrautils (2.38.1-5+deb12u1) ...
Setting up libglib2.0-0:arm64 (2.74.6-2+deb12u2) ...
Setting up pi-bluetooth (0.1.20) ...
Setting up python3-pycryptodome (3.11.0+dfsg1-4) ...
Setting up pixflat-theme (0.17) ...
Setting up less (590-2.1~deb12u2) ...
Setting up linux-libc-dev (1:6.6.28-1+rpt1) ...
Setting up pastebinit (1.6.2-1+rpt1) ...
Setting up vlc-l10n (1:3.0.20-0+rpt6+deb12u1) ...
Setting up locales (2.36-9+rpt2+deb12u7) ...
Generating locales (this might take a while)...
  en_GB.UTF-8... done
Generation complete.
Setting up raspi-utils (20240402-3) ...
Setting up libfm-data (1.3.2-1+rpt13) ...
Setting up libc6-dbg:arm64 (2.36-9+rpt2+deb12u7) ...
Setting up eject (2.38.1-5+deb12u1) ...
Setting up rpi-firefox-mods (20240424) ...
Setting up libneatvnc0:arm64 (0.9.0+dfsg-1~rp1) ...
Setting up libglib2.0-data (2.74.6-2+deb12u2) ...
Setting up libjavascriptcoregtk-4.1-0:arm64 (2.44.1-1~deb12u1) ...
Setting up libspa-0.2-modules:arm64 (0.3.65-3+rpt7+deb12u1) ...
Setting up libpisp-common (1.0.5-1) ...
Setting up libpipewire-0.3-0:arm64 (0.3.65-3+rpt7+deb12u1) ...
Setting up rfkill (2.38.1-5+deb12u1) ...
Setting up raspi-firmware (1:1.20240424-1) ...
'/boot/vmlinuz-6.6.28+rpt-rpi-2712' -> '/boot/firmware/kernel_2712.img'
'/boot/vmlinuz-6.6.28+rpt-rpi-v8' -> '/boot/firmware/kernel8.img'
Setting up linux-image-6.6.28+rpt-rpi-v8 (1:6.6.28-1+rpt1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.6.28+rpt-rpi-v8
'/boot/initrd.img-6.6.28+rpt-rpi-v8' -> '/boot/firmware/initramfs8'
/etc/kernel/postinst.d/z50-raspi-firmware:
'/boot/vmlinuz-6.6.28+rpt-rpi-v8' -> '/boot/firmware/kernel8.img'
Setting up linux-image-rpi-v8 (1:6.6.28-1+rpt1) ...
Setting up libdav1d6:arm64 (1.0.0-2+deb12u1) ...
Setting up libfm4:arm64 (1.3.2-1+rpt13) ...
Setting up libvlccore9:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up libfdisk1:arm64 (2.38.1-5+deb12u1) ...
Setting up linux-image-6.6.28+rpt-rpi-2712 (1:6.6.28-1+rpt1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.6.28+rpt-rpi-2712
'/boot/initrd.img-6.6.28+rpt-rpi-2712' -> '/boot/firmware/initramfs_2712'
/etc/kernel/postinst.d/z50-raspi-firmware:
'/boot/vmlinuz-6.6.28+rpt-rpi-2712' -> '/boot/firmware/kernel_2712.img'
Setting up mount (2.38.1-5+deb12u1) ...
Setting up linux-kbuild-6.6.28+rpt (1:6.6.28-1+rpt1) ...
Setting up vlc-plugin-qt:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up libspa-0.2-bluetooth:arm64 (0.3.65-3+rpt7+deb12u1) ...
Setting up libwf-utils0:arm64 (0.7.5-1~bpo11+1~rpt35) ...
Setting up rpi-eeprom (23.0-1) ...
Setting up libpisp1:arm64 (1.0.5-1) ...
Setting up realvnc-vnc-server (7.11.0.18) ...
Updating /etc/pam.d/vncserver
Updating /etc/pam.conf... done
Looking for font path... not found.
Original config file "/etc/vnc/pulse/daemon.conf.old" preserved
Generating private key... done
Installed systemd unit for VNC Server in Service Mode daemon
Start or stop the service with:
  systemctl (start|stop) vncserver-x11-serviced.service
Mark or unmark the service to be started at boot time with:
  systemctl (enable|disable) vncserver-x11-serviced.service

Installed systemd unit for VNC Server in Virtual Mode daemon
Start or stop the service with:
  systemctl (start|stop) vncserver-virtuald.service
Mark or unmark the service to be started at boot time with:
  systemctl (enable|disable) vncserver-virtuald.service

Setting up xserver-common (2:21.1.7-3+rpt2+deb12u7) ...
Setting up libc-dev-bin (2.36-9+rpt2+deb12u7) ...
Setting up raspi-config (20240510) ...
Setting up vlc-data (1:3.0.20-0+rpt6+deb12u1) ...
Setting up libgtk-3-common (1:3.24.38-2~deb12u1+rpt5+rpi1) ...
Setting up linux-headers-6.6.28+rpt-common-rpi (1:6.6.28-1+rpt1) ...
Setting up libc-devtools (2.36-9+rpt2+deb12u7) ...
Setting up vlc-plugin-video-output:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up vlc-plugin-samba:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up gtk-update-icon-cache (1:3.24.38-2~deb12u1+rpt5+rpi1) ...
Setting up libfm-extra4:arm64 (1.3.2-1+rpt13) ...
Setting up vlc-plugin-skins2:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up libgtk-3-0:arm64 (1:3.24.38-2~deb12u1+rpt5+rpi1) ...
Setting up vlc-plugin-video-splitter:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up xserver-xorg-core (2:21.1.7-3+rpt2+deb12u7) ...
Setting up gir1.2-gtk-3.0:arm64 (1:3.24.38-2~deb12u1+rpt5+rpi1) ...
Setting up libglib2.0-bin (2.74.6-2+deb12u2) ...
Setting up libvlc5:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up linux-headers-6.6.28+rpt-rpi-v8 (1:6.6.28-1+rpt1) ...
Setting up fdisk (2.38.1-5+deb12u1) ...
Setting up gui-pkinst (0.15) ...
Setting up linux-image-rpi-2712 (1:6.6.28-1+rpt1) ...
Setting up libpipewire-0.3-modules:arm64 (0.3.65-3+rpt7+deb12u1) ...
Setting up vlc-plugin-visualization:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up vlc-plugin-access-extra:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up wayfire (0.7.5-1~bpo11+1~rpt35) ...
Setting up pipanel (1:1.45) ...
Setting up piwiz (0.68) ...
Setting up arandr (0.1.11-1+rpt25) ...
Setting up libvlc-bin:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up chromium-browser (124.0.6367.73-rpt1) ...
Setting up chromium-browser-l10n (124.0.6367.73-rpt1) ...
Setting up pishutdown (0.28) ...
Setting up libc6-dev:arm64 (2.36-9+rpt2+deb12u7) ...
Setting up linux-headers-6.6.28+rpt-rpi-2712 (1:6.6.28-1+rpt1) ...
Setting up vlc-plugin-base:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up piclone (0.29) ...
Setting up wayvnc (0.9.0~dev-1) ...
Setting up vlc-plugin-notify:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
Setting up lp-connection-editor (0.3) ...
Setting up rc-gui (1.80) ...
Setting up gtk-nop (0.1) ...
Setting up libfm-gtk4:arm64 (1.3.2-1+rpt13) ...
Setting up rp-prefapps (0.55) ...
Setting up linux-headers-rpi-v8 (1:6.6.28-1+rpt1) ...
Setting up libwebkit2gtk-4.1-0:arm64 (2.44.1-1~deb12u1) ...
Setting up pcmanfm (1.3.2-1+rpt20) ...
Setting up firefox (125.0.1-1+rpt4) ...
Setting up libfm-modules:arm64 (1.3.2-1+rpt13) ...
Setting up vlc-bin (1:3.0.20-0+rpt6+deb12u1) ...
Setting up pipewire-bin (0.3.65-3+rpt7+deb12u1) ...
Setting up linux-headers-rpi-2712 (1:6.6.28-1+rpt1) ...
Setting up wf-panel-pi (0.73) ...
Setting up vlc (1:3.0.20-0+rpt6+deb12u1) ...
Setting up pipewire:arm64 (0.3.65-3+rpt7+deb12u1) ...
Setting up raspberrypi-ui-mods (1.20240510) ...
Installing new version of config file /etc/xdg/labwc/environment ...
Installing new version of config file /etc/xdg/labwc/rc.xml ...
Setting up pipewire-pulse (0.3.65-3+rpt7+deb12u1) ...
Setting up libcamera-ipa:arm64 (0.2.0+rpt20240418-1) ...
Setting up libcamera0.2:arm64 (0.2.0+rpt20240418-1) ...
Setting up rpicam-apps (1.4.4-1) ...
Setting up python3-libcamera:arm64 (0.2.0+rpt20240418-1) ...
Setting up pipewire-libcamera:arm64 (0.3.65-3+rpt7+deb12u1) ...
Setting up libcamera-tools (0.2.0+rpt20240418-1) ...
Setting up python3-picamera2 (0.3.18-1) ...
Processing triggers for shared-mime-info (2.2-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.6.28+rpt-rpi-v8
'/boot/initrd.img-6.6.28+rpt-rpi-v8' -> '/boot/firmware/initramfs8'
update-initramfs: Generating /boot/initrd.img-6.6.28+rpt-rpi-2712
'/boot/initrd.img-6.6.28+rpt-rpi-2712' -> '/boot/firmware/initramfs_2712'
update-initramfs: Generating /boot/initrd.img-6.6.20+rpt-rpi-v8
update-initramfs: Generating /boot/initrd.img-6.6.20+rpt-rpi-2712
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for libc-bin (2.36-9+rpt2+deb12u7) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libvlc-bin:arm64 (1:3.0.20-0+rpt6+deb12u1) ...
nomura@raspberrypi5:~ $
```

</details>

#### Raspberry Pi Connectのインストール

いよいよRaspberry Pi Connectをインストールします。

```shell:
$ sudo apt install rpi-connect
```

<details><summary>実行結果</summary>

```shell:
nomura@raspberrypi5:~ $ sudo apt install rpi-connect
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libraspberrypi0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  rpi-connect
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,256 kB of archives.
After this operation, 18.7 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.com/debian bookworm/main arm64 rpi-connect arm64 1.0.2 [7,256 kB]
Fetched 7,256 kB in 5s (1,535 kB/s)
Selecting previously unselected package rpi-connect.
(Reading database ... 147607 files and directories currently installed.)
Preparing to unpack .../rpi-connect_1.0.2_arm64.deb ...
Unpacking rpi-connect (1.0.2) ...
Setting up rpi-connect (1.0.2) ...
Created symlink /etc/systemd/user/default.target.wants/rpi-connect-wayvnc.service → /usr/lib/systemd/user/rpi-connect-wayvnc.service.
Created symlink /etc/systemd/user/default.target.wants/rpi-connect.service → /usr/lib/systemd/user/rpi-connect.service.
nomura@raspberrypi5:~ $
```
</details>

インストールが終わったらRaspberry Piを再起動します。

```shell:
$ sudo reboot
```

## 接続

Raspberry Piを再起動するとRaspberry Pi Connectは自動起動しているようです。

```shell:
nomura@raspberrypi5:~ $ ps aux | grep rpi-connect
nomura      1331  0.0  0.4 256832 40448 ?        SLsl 10:25   0:00 /usr/bin/wayvnc --config /etc/rpi-connect/wayvnc.config --render-cursor --unix-socket --socket=/run/user/1000/rpi-connect-wayvnc-ctl.sock /run/user/1000/rpi-connect-wayvnc.sock
nomura      1334  0.0  0.1 1236560 10240 ?       Ssl  10:25   0:00 /usr/bin/rpi-connectd -socket=/run/user/1000/rpi-connect-wayvnc.sock
nomura      1947  0.0  0.0   6240  1536 pts/0    S+   10:28   0:00 grep --color=auto rpi-connect
nomura@raspberrypi5:~ $
```

### Paspberry Pi IDを作成する
Raspberry Pi Connectを利用するにはRaspberry PiとRaspberry Pi IDを関連付ける必要があるので、Raspberry Pi IDを作成します。

Raspberry Pi IDのドキュメント

https://www.raspberrypi.com/documentation/services/id.html#create-a-raspberry-pi-id

### Raspberry PiとRaspberry Pi IDをリンクする

今回はRaspberry Piにディスプレイを接続していないのでコマンドラインで接続するリンクを生成してみます。

```shell:
nomura@raspberrypi5:~ $ rpi-connect signin
Complete sign in by visiting https://connect.raspberrypi.com/verify/XXXX-XXXX

⣽ Waiting for a response…

```
上記の状態で、URLにアクセスします。
（XXXX-XXXXは、ユニークな英数字になっているはず）

先ほど作成したRaspberry Pi IDでサインインします。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/404a7cfa-9238-7d3e-b432-0ef08f0c651f.png)

Raspberry Pi Connectを利用するRaspberry Piデバイスに名前を付けます。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/4f35971d-0bd3-986c-4118-6e9520df0ba6.png)

Raspberry Pi IDとRaspberry Piデバイスの紐づけが成功しました。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/9a624a9a-3544-8d9b-8018-2d224cdde64c.png)

### 接続

https://connect.raspberrypi.com/devices
にアクセスすると下のような表示になりますので、右側にあるConnectボタンを押します。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/924e1971-a250-9bc1-ee38-e62ae2ebc08b.png)

しばらくすると、登録したRaspberry Pi 5のデスクトップが表示され使えるようになります。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/4d26e0b5-298f-1c80-cbd7-f5d17d9b6c7f.png)

アプリの立ち上げやウィンドウの移動には、ちょっともたつく感じもしましたが、リモートだと考えるとこんなものかなと。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/28184/c9ff2060-0d84-b8d3-ec66-c9611a0f1eb3.png)