akarl10
akarl10
> See https://github.com/matt335672/xrdp/wiki/Running-GNOME-on-Ubuntu-24.04-LTS for a draft solution. > > @akarl10 - I'd particularly appreciate your comments on this. > > When this is a bit more official I'll tidy this...
I'm currently looking through the deb source file of gdm: gdm does not run /etc/X11/Xsession but /etc/gdm/Xsession I'm not a bash guru, but I think this will also run /etc/X11/Xsession.d/...
that's actually interresting. the only difference I see in ubuntu.desktop and ubuntu-xorg.desktop is the trailing `;` in `DesktopNames=` Maybe that's the issue? Note that both use `\;` whereas the delimiter...
here a script that should work. I put it in /etc/X11/Xsession.d/10enforce-single-graphical-session but of course that is debian/ubuntu specific. Also this only works for X11 session. Xrdp should detect pre-existing wayland...
I think wayland is directly started by startplasma-wayland or gnome-session. on KDE kwin_wayland is the "real" "X11 replacement" while in gnome gnome-session itself is that (there is no mutter, mutter...
Good news for those who need multiple concurrent sessions for singe users on a systemd based system: I found out how to create a separate systemd-user instance per session. This...
`systemd-run --user -E XDG_RUNTIME_DIR=$SESSION_RUNTIME_DIR -E DBUS_SESSION_BUS_ADDRESS=unix:path="$SESSION_RUNTIME_DIR"/bus systemd --user ` actually was my personal breakthrough. With this I have "full" systemd support in the session, logind knows that the session is...
@matt335672 I made some tests with kubuntu: apparmor might need some modifications in `/etc/apparmor.d/abstractions/dbus-session-strict` (addition of `owner @{run}/user/[0-9]*/xrdp-display-*/bus rw` same for `/etc/apparmor.d/abstraction/audio` `owner @{run}/user/*/xrdp-display-*/pulse/ rw, owner @{run}/user/*/xrdp-display-*/pulse/{native,pid} rwk,` snap works,...
@matt335672 nice refactoring 👍 did not know that kill -0 works to check if a pid is still around. Usually I do that with test -d /proc/PID, but kill -0...
> I've been playing with creating a new mount namespace with a private `/run/user/` before the PAM session starts. The idea is that pam_systemd will then see an empty directory...