<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Annoying XRDP issue]]></title>
    <link>https://linlog.skepticats.com/entries/2026/08/annoying-xrdp-issue.php</link>
    <description><![CDATA[<p>I've long had both a Windows laptop and a Linux desktop on my desk.&nbsp; I will occasionally have things going on both machines at the same time and want to switch back and forth between them.&nbsp; I have a KVM switch for this, but I'm lazy and it's kind of annoying because it takes a few seconds for the multi-monitor setup to refresh between systems.</p>
<p>In the past, I dealt with this by setting up XRDP on the Linux box.&nbsp; That way I can just open an RDP window and quickly check it whenever I want.&nbsp; I prefer XRDP to something like VNC or TeamViewer because it's free software and requires no additional configuration once it's set up.&nbsp; I don't have to install VNCviewer on Windows, I don't have to make sure that VNCserver is running on Linux - I just start the xrdp service and I'm good to go.&nbsp; XRDP has it's own login manager and will start a session if one doesn't already exist.</p>
<p><strong>The problem:</strong> <em>That last part no longer works.</em></p>
<p>It's been a while since I used that setup, but I used to be able log in on the physical machine and then connect to that same session using RDP.&nbsp; Turns out, you can't do that anymore.&nbsp; I didn't dig into the details, but I found <a href="https://github.com/neutrinolabs/xrdp/issues/1559">this GitHub issue</a>, which pointed me to <a href="https://github.com/neutrinolabs/xrdp/wiki/Tips-and-FAQ#why-cant-i-log-the-same-user-on-on-the-graphical-console-and-over-xrdp-at-the-same-time">this section of the docs</a>, which basically says, "Yeah, this doesn't really work with systemd."&nbsp; Apparently, the way systemd doesn't play well with DBUS, so you can't log into an existing session that was initiated from the physical terminal.</p>
<p>The work-around is to log into another account.&nbsp; Which is not great, but I guess it's better than nothing.&nbsp; So I just created a "&lt;mylogin&gt;-rpd" user, added it to the same groups and my regular login, and it works reasonably well.&nbsp; It's certainly not ideal, but it's easier than switching to a distro that doesn't use systemd.</p>]]></description>
    <lastBuildDate>2026-08-23T15:05:28+00:00</lastBuildDate>
    <managingEditor>pageer@skepticats.com (Peter Geer)</managingEditor>
    <language>en-US</language>
    <generator>https://lnblog.skepticats.com/?v=2.3.3</generator>
  </channel>
</rss>
