Multiple concurrent desktop sessions/black screen issue
Since the introduction of systemd or specifically user@.service it is not possible to launch multiple graphical sessions per user.
This seems to be by design (or at least it is a consequence of how XDG_RUNTIME_DIR and DBUS_SESSION_BUS are used within systemd)
There is no warning message that informs the user that logging in in xrdp when for example a console graphical session is running for the same user is not possible. Instead either the display is black (plasma) or the user is logged out immediatly (gnome-session)
in
https:/
there is mentioned a way to at least inform the user if such a thing happens by hooking /etc/X11/
there is also a tool
https:/
that enables the creation on a nested systemd-user.
I think the single session enforcement should be included downstream.
Regarding the systemd-user nesting I like to note that snapd would need to be patched (probably not a big change). Mainly snap would have to "import" the right XDG_RUNTIME_DIR instead of using /run/user/$UID.
I raised this question mainly to start a discussion how to proceed here and if Ubuntu would consider supporting systemd-user nesting (that could also be used in other situations) in snap (the only software component that I found does not fully work right oob; mainly pulseaudio passthru)
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu xrdp Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: