title: Raspberry Pi / Remote Desktop, "connection problem, giving up"
body: <p>I have three new Raspberry Pis running this OS:</p>
  <pre><code>PRETTY_NAME=&quot;Raspbian GNU/Linux 11 (bullseye)&quot;
  NAME=&quot;Raspbian GNU/Linux&quot;
  VERSION_ID=&quot;11&quot;
  VERSION=&quot;11 (bullseye)&quot;
  VERSION_CODENAME=bullseye
  ID=raspbian
  ID_LIKE=debian
  </code></pre>
  <p>I cannot get Remote Desktop to connect properly. I have xrdp and all updates installed on the Pi. SSH is on and I can connect via a gitbash terminal fine. VNC connection is enabled and viewer connects just fine. I keep getting the following error after logging in to the Pi's ip address (192.168.4.84):</p>
  <pre><code>Connecting to sesman IP 127.0.0.1 port 3350
  sesman connect ok sending
  login info to session manager, please wait...
  login successful for display 10
  started connecting
  connection problem, giving up
  some problem
  </code></pre>
  <p><a href="https://i.stack.imgur.com/MM8po.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MM8po.png" alt="enter image description here" /></a></p>
  <p>Per many other posts, I have tried:</p>
  <ul>
  <li>restarting the xrdp service</li>
  <li>adding <code>auto lo</code> to /etc/network/interfaces</li>
  <li>reinstalling xrdp, vnc4server, and tightvnc in various orders per <a href="https://askubuntu.com/a/928297/1299566">this answer</a>.</li>
  <li>adding <code>allowed_users = anybody</code> to /etc/X11/Xwrapper.config per <a href="https://askubuntu.com/a/1080022/1299566">this answer</a>.</li>
  <li>per <a href="https://forums.raspberrypi.com/viewtopic.php?t=161468" rel="nofollow noreferrer">this post</a>, I tried purging xrdp, then purge vnc server, then reinstalling xrdp with no luck.</li>
  <li>I tried installing an older version of xrdp <a href="https://askubuntu.com/a/1108563/1299566">per this answer</a>, but the package is no longer available.</li>
  <li>I tried <a href="https://askubuntu.com/a/1108567/1299566">adding this</a> to sesman.ini, no luck</li>
  </ul>
  <p>I have another Raspberry Pi running version 10 OS <strong>with no issues</strong>:</p>
  <pre><code>PRETTY_NAME=&quot;Raspbian GNU/Linux 10 (buster)&quot;
  NAME=&quot;Raspbian GNU/Linux&quot;
  VERSION_ID=&quot;10&quot;
  VERSION=&quot;10 (buster)&quot;
  VERSION_CODENAME=buster
  ID=raspbian
  ID_LIKE=debian
  </code></pre>
  <p>Any suggestions to get the newer OS working properly?</p>