Skip to content

Debian dbus user session package

matt335672 edited this page Apr 28, 2020 · 7 revisions

Using the console and XRDP together in Debian / Ubuntu / Mint

Some users of Debian derivatives have noted that XRDP cannot be used by a user if the same user is logged in to the machine's graphical console.

If your way of working requires this functionality, you will need to remove the package dbus-user-session from your system and replace it with dbus-x11:-

sudo apt remove dbus-user-session
sudo apt install dbus-x11

More information can be found with the command apt show dbus-user-session, which at the time of writing contains the following paragraphs:-

Multiple graphical sessions per user are not currently supported in this mode; as a result, it is particularly suitable for gdm, which responds to requests to open a parallel graphical session by switching to the existing graphical session and unlocking it.

To retain dbus' traditional session semantics, in which login sessions are artificially isolated from each other, remove this package and install dbus-x11 instead.

Note: Currently with the recently released Ubuntu 20.04 LTS, a logged in XRDP session can interfere with console logins. A resolution for this has not yet been found. Further technical information can be found under issue #1559

Clone this wiki locally