phoc on Librem5 does not work through waypipe
Environment
- Phoc 0.25.2 on Librem5 (PureOS Byzantium)
- Waypipe 0.8.6
To get the Librem5s GUI on my desktop I compiled waypipe both on the phone and on my PureOS Byzantium desktop with all optional dependencies installed.
observed behaviour
librem5: sudo systemctl stop phosh
desktop: waypipe ssh -R /tmp/socket-way:/tmp/socket-l5 purism@librem5 phoc -C /home/purism/.config/waypipe-phoc.ini -E /usr/libexec/phosh
output on the desktop:
Running compositor on wayland display 'wayland-0'
phoc-output-Message: 11:01:33.452: Output 'WL-1' added ('wayland'/'wayland'/''), 0mm x 0mm
phoc-output-Message: 11:01:33.452: Output 'WL-1' has invalid physical size, using default scale
Phoc/Phosh is not displayed on the desktop.
expected behaviour
Phoc/Phosh started on the Librem5 appearing via waypipe on my desktop.
workaround
phone (still sudo systemctl stop phosh
): rm /tmp/socket-way
(get rid of the file if it has been left over), sudo chmod 700 /dev/dri
desktop: waypipe ssh -R /tmp/socket-way:/tmp/socket-l5 purism@librem5 phoc -C /home/purism/.config/waypipe-phoc.ini -E /usr/libexec/phosh
When phoc cannot read /dev/dri/renderD128 the connection works as expected and the Librem5s gui shows up on the desktop.
Using waypipe to show the Librem5s gui on a remote desktop does work well when using the Librem5 QEMU image, because the file /dev/dri/renderD128 does not exist.