Gnome and xrdp session black screen -- automatic way to log out stale session?

cn flag

Using Ubuntu 20.04.

XRDP using GNOME is causing problems. Users close their RDP sessions but they dont seem to disconnect properly. This causes the issue of the user seeing a black screen after login.

I followed this workaround but this seems like a bad idea as it will just keep creating new sessions, right?

Is there a way to automatically log out stale sessions or remove it for a user when they login, and create a new session for them?

I have a feeling the solution is "Dont use gnome for xrdp use xfce", is that true?

ar flag
Does this answer your question? [Local Ubuntu desktop cannot login after opened Xrdp session](
Dave avatar
cn flag
Nope, it sure does not.
ar flag
Are you using Wayland in your remote desktop by any chance? Try [switching from Wayland to Xorg](
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.