(Note: this used to work on Fedora 23)
My coworkers and I are attempting to use Windows Remote Desktop Connection to connect to machines running Fedora 25. We are running XRDP as our VNC provider, and using Windows 7.
Initially, when we attempt to connect from Windows, we get a black screen, then the connection drops.
I made the following change to the xrdp.ini file:
allow_channels=false
#allow_channels=true
This allows me to connect to the Fedora machine via Remote Desktop. Unfortunately, it only works once. On a second attempt, it fails. After the failure, running ps -eaf | grep xrdp
shows TWO instances of xrdp-sesman --nodaemon
running.
A second issue: once I log into the Fedora machine via remote desktop, I am unable to log into it locally due to an error message stating "could not acquire name on the session bus". I switched to a terminal, logged in as root, and ran systemctl restart xrdp
, but was still unable to log in as my regaular user. (Note to self: disable root login once I fix this).
So two questions:
-
How can I fix the error where I can't log in more than once (I don't know which xrdp-sesman to kill, and I don't know if that will break xrdp).
-
How can I log in locally AND via remote desktop simultaneously?
Thanks for any help.
update : added error message text
Jason
Best Answer
I seem to have fixed the issue.
The trick was to make a few changes to /etc/xrdp/xrdp.ini , create a .Xinitrc file to show what session manager to use, then create a XWrapper.config file.
Changes to xrdp.ini:
.Xinitrc file:
Finally, I created the Xwrapper.config file with a single line:
At this point, I could log in via the Windows Remote Desktop, as long as I changed the "session" dropdown from Xvnc to Xorg.