r/linuxquestions • • 1d ago

Support Using external device as additional monitor while using Wayland?

Desktop running KDE Plasma on CachyOS, External Device running a fresh Alpine install with Sway. Alpine machine will have no inputs, I only wish to use it as an additional display.

Krdc and Remmina (Alpine) originally could not find Krfb (Plasma), Krfb now refuses to open.

Initializing D-Bus connectivity with XDG Desktop Portal
DBus session created:  "/org/freedesktop/portal/desktop/request/1_579/krfb1375478723"
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
fish: Job 1, 'krfb' terminated by signal SIGSEGV (Address boundary error)

krfb-virtualmonitor still creates a display, but throws an error:

qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.krfb-virtualmonitor'")
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1

Different apps would be fine, but I want to keep everything LAN and FOSS.

1 Upvotes

8 comments sorted by

1

u/Monoyo- 1d ago

if krfb-virtualmonitor already created the display, it should be serving vnc on the port you gave it, so you might not need the krfb app at all, just point a vnc client on the alpine box at that host:port. assuming the plasma session is on wayland?

1

u/Icy-Brilliant-727 1d ago

Thank you for the fast reply!

Correct on plasma running wayland. With the display running properly on host end, KRDC on Alpine cannot find the server.

Perhaps it could do with the fact that Alpine has an ethernet connection? Client does not have wifi, but both Server and Client are connected to a router with Ethernet. Server also has a wifi connection.

1

u/Monoyo- 1d ago

ethernet shouldn't matter if both machines are on the same router. krdc's auto-discover is kinda flaky though, so try connecting straight to the host's ethernet ip and the vnc port, and if that still fails check the firewall on the plasma box.

1

u/Icy-Brilliant-727 1d ago

Oh huh. I didn't even know krdc Had an auto discover. It was a matter of inputting IP/Port and having a blank window until the Failed to Find Server popup.

Unfortunately, creating a firewall exception did not change anything, and disabling firewall entirely only had the Server Not Found error appear instantly.

1

u/Monoyo- 15h ago

if turning the firewall off makes it fail instantly, that usually means nothing is actually listening on that ip/port. on the plasma box, check the virtual display service is running and that ss -tlnp shows 5900 or 3389, and in krdc make sure you picked vnc or rdp to match whatever's running.