The libc error looks potentially serious, but it looks like Connect thinks you're running the X desktop, rather than Wayland which is required for the screen sharing part of Connect to work. That may just be because it can't see Wayland, so it's defaulting to X.The GUI icon for this Device does not have the option to toggle - only Remote shell is offered and Connect button just says Connect not Connect via.
From the command line on the remote shell
X Screen sharing support is unavailable is returned to BOTH off and on commands.
On the remote shell I have also tried to remove, purge and then reinstall rpi-connect and that does not seem to complete and returns the previously reported libc-bin error ...
pi@MonitorPi:~ $ sudo apt remove --purge rpi-connect && 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:
libcamera0.2 libraspberrypi0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
rpi-connect*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 18.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
Setting up libc-bin (2.36-9+rpt2+deb12u7) ...
Segmentation fault
Segmentation fault
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is this relevant? How to fix? I have tried to fix with sudo apt install --fix-missing and sudo dpkg --configure -a but both return the same libc-bin error.
Do you have a spare SD card, and a monitor you can attach to this Pi? I would start with a fresh install on a different SD card - it could be a hardware fault, or random filesystem corruption on your current install. If you can't attach a monitor, keyboard and mouse to do Network Install, can you image a spare SD card on another computer, and set a username and password for the Pi using Imager's advanced options, and enable SSH. If you then boot the Pi with this new card, and attach it to a monitor you can see when it completes the first boot setup, then SSH to install Connect, then check that it enables OK.
Statistics: Posted by andrum99 — Sat Jun 29, 2024 12:02 pm