vdesktop icon indicating copy to clipboard operation
vdesktop copied to clipboard

Hopes for RPi OS Bullseye

Open Jai-JAP opened this issue 2 years ago • 3 comments

Recently I have been through this repo which has a guide regarding How to set up your nested Wayland Desktop Environment with systemd-nspawn container, like VirtualBox.

I don't know if it works on X11 and/or GTK based systems as it uses KWin (a part ot KDE) but there are high hopes that this will help running mutter (RPi OS Bullseye) on vdesktop.

Jai-JAP avatar Feb 11 '22 05:02 Jai-JAP

I still have to test the above setup but if it works, (fingers crossed) I would suggest to move on from Xephyr to Kwin for vdesktop, as it supports both X11 & Wayland protocols opposed to Xephyr which only supports X11. And support for Wayland has mutter support for RPi OS Bullseye.

Jai-JAP avatar Feb 11 '22 05:02 Jai-JAP

Very interesting. Thanks for the link.

I was not able to get kwin_wayland running, but this issue mentions that the mutter window manager also has a nested mode! As we're already using Mutter, I think that it has a better chance of working.

pi@raspberrypi:~ $ export $(dbus-launch)
pi@raspberrypi:~ $ mutter --nested
Window manager warning: Failed to set environment variable GNOME_SETUP_DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable XAUTHORITY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable WAYLAND_DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist

Botspot avatar Feb 11 '22 18:02 Botspot

I got it working!

export $(dbus-launch)
mutter --nested --wayland -d :1 &
export DISPLAY=:1
lxterminal

In the above example, a terminal should open inside the nested xwayland session!

Botspot avatar Feb 11 '22 18:02 Botspot