Jump to content

[WORKAROUND]XRDP - Could not acquire name on session bus


SeedTheNet

Recommended Posts

Sometimes after updating Ubuntu or some accident happen and you manage to get yourself disconnected or restarted the wrong service after the update

Connecting back again would show you this error message :

1.png.3b480036d17a779e5e21059cfc498b22.png

Normally restarting the server would allow us to connect again , but if a restart isn't possible we will have to SSH to the machine so we can get back to XRDP

After logging into SSH , we have to run this command

https://manpages.ubuntu.com/manpages/jammy/man1/loginctl.1.html

loginctl — Control the systemd login manager

sudo loginctl list-sessions

You will receive output like this

SESSION  UID 	USER 		SEAT  	TTY
 246 	1000 	TESTUSER  			pts/0
 c2 	1000 	TESTUSER    seat0 

Your XRDP sessions would be most likely as c1 , c2 , c3 ,c4 etc...

We will run after
 

sudo loginctl terminate-session <your session ID>

sudo loginctl terminate-session c2

After terminating the session it would be possible again to login in XRDP.

Seeding the net..
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Privacy Policy