1) When connecting to a Raspberry Pi 4 via xrdp under user "pi", openbox manager is not started. So top panel and window decoration are missing. If I add a new user, e.g. "testuser", everything just works fine.
(Side note: if I choose "Desktop Autologin" in raspi-config, user "pi" just gets an empty screen after login.)
2) Regardless of the username, after login I always get this annoying window "Authentication is required to refresh the system repositories".
-
- Posts: 2
- Joined: Wed Nov 10, 2021 11:58 am
-
- Posts: 2
- Joined: Wed Nov 10, 2021 11:58 am
Re: bullseye: xrdp not working for user "pi"
Possibly, there is a bug or at least a side-effect in /usr/bin/startlxde-pi
TOTAL_MEM=$(vcgencmd get_config total_mem | cut -d= -f2)
VNC=$(systemctl status vncserver-x11-serviced | grep -w active)
if [ $TOTAL_MEM -ge 2048 ] && [ -f /usr/bin/mutter ] && [ -z „$VNC“ ] ; then
….
exec /usr/bin/lxsession -s LXDE-pi -e LXDE
....
else
….
exec /usr/bin/lxsession -s LXDE-pi -e LXDE -w openbox-lxde-pi
vcgencmd gives only a valid result when called by "pi" or "root". All other users get "VCHI initialization failed". Is this side effect really intended? Anyhow, if vncserver-X11 is started, even user "pi" gets openbox as a window manager, because the last condition in "if" is false.
TOTAL_MEM=$(vcgencmd get_config total_mem | cut -d= -f2)
VNC=$(systemctl status vncserver-x11-serviced | grep -w active)
if [ $TOTAL_MEM -ge 2048 ] && [ -f /usr/bin/mutter ] && [ -z „$VNC“ ] ; then
….
exec /usr/bin/lxsession -s LXDE-pi -e LXDE
....
else
….
exec /usr/bin/lxsession -s LXDE-pi -e LXDE -w openbox-lxde-pi
vcgencmd gives only a valid result when called by "pi" or "root". All other users get "VCHI initialization failed". Is this side effect really intended? Anyhow, if vncserver-X11 is started, even user "pi" gets openbox as a window manager, because the last condition in "if" is false.
Re: bullseye: xrdp not working for user "pi"
I'm getting this symptom too. Fresh install of bullseye. Similar to this post.
All windows do not have title bars.
This starts after installing xrdp.
All windows do not have title bars.
This starts after installing xrdp.
Last edited by lokety on Thu Nov 11, 2021 9:53 am, edited 1 time in total.
Re: bullseye: xrdp not working for user "pi"
Just wondering if anyone has a solution yet. I keep getting the blank screen which after a long delay gives this message:
-
- Posts: 4
- Joined: Thu Nov 11, 2021 10:47 pm
Re: bullseye: xrdp not working for user "pi"
Hi there, I registered here because I have the same issue Reggie98 described.
I installed the newest version of the raspberry pi os, did the setup and all the updates, and then installed xrdp. Then, using the windows remote desktop, I can login to the pi, then I get a blank screen and after waiting about 10 mins I get the same error message Reggie98 posted.
When I installed the older version of raspberry pi os with buster, the process above worked fine and it let me connect without any issue.
I have already tried several solutions I found online, yet none of them worked for me. If someone here has a fix for this issue please let me know, it is pretty annoying. I am using a Pi 4 with 8GB RAM if that helps anyone.
I installed the newest version of the raspberry pi os, did the setup and all the updates, and then installed xrdp. Then, using the windows remote desktop, I can login to the pi, then I get a blank screen and after waiting about 10 mins I get the same error message Reggie98 posted.
When I installed the older version of raspberry pi os with buster, the process above worked fine and it let me connect without any issue.
I have already tried several solutions I found online, yet none of them worked for me. If someone here has a fix for this issue please let me know, it is pretty annoying. I am using a Pi 4 with 8GB RAM if that helps anyone.
Last edited by moinierer3000 on Thu Nov 11, 2021 11:00 pm, edited 3 times in total.
Re: bullseye: xrdp not working for user "pi"
Same problem also for me after the upgrade 
EDIT: Then i tried a fresh install and noticed that until changing password it works.

EDIT: Then i tried a fresh install and noticed that until changing password it works.
Last edited by Varro on Sat Nov 13, 2021 7:27 am, edited 1 time in total.
-
- Posts: 1
- Joined: Fri Nov 12, 2021 4:48 pm
Re: bullseye: xrdp not working for user "pi"
Same issue after doing a in place upgrade. I checked if every part is installed and configured right. Cannot find any obvious reason. Hope they fix it soon and not just in the image also a fix to repair already migrated installations.
Re: bullseye: xrdp not working for user "pi"
Has anyone posting in this thread made any attempt to draw this to the attention of a Raspberry Pi Engineer or Developer? Because it can't be assumed that they have time to read each and every thread in these volunteer-supported forums to see if there is some mention of an issue that might affect them.
Is everyone up to this point using 32-bit RasPiOS Bullseye on RPi4 hardware?
Because it might be significant to report that I am very happily using xrdp, from an MS Windows 10 RDP client, on an RPi3B+ board running a fresh install of RasPiOS Bullseye [32] 'Desktop'.
Maybe this is a previously undetected 'quirk' of the different video support in RPi4 hardware?
{I have flagged this post for Moderator attention to ask for RPT investigation.}
Is everyone up to this point using 32-bit RasPiOS Bullseye on RPi4 hardware?
Because it might be significant to report that I am very happily using xrdp, from an MS Windows 10 RDP client, on an RPi3B+ board running a fresh install of RasPiOS Bullseye [32] 'Desktop'.
Maybe this is a previously undetected 'quirk' of the different video support in RPi4 hardware?
{I have flagged this post for Moderator attention to ask for RPT investigation.}
-
- Posts: 4
- Joined: Thu Nov 11, 2021 10:47 pm
Re: bullseye: xrdp not working for user "pi"
Thank you for flagging the post, I am very new in this forum and didn't know about that.B.Goode wrote: ↑Fri Nov 12, 2021 9:03 pmHas anyone posting in this thread made any attempt to draw this to the attention of a Raspberry Pi Engineer or Developer? Because it can't be assumed that they have time to read each and every thread in these volunteer-supported forums to see if there is some mention of an issue that might affect them.
Is everyone up to this point using 32-bit RasPiOS Bullseye on RPi4 hardware?
Because it might be significant to report that I am very happily using xrdp, from an MS Windows 10 RDP client, on an RPi3B+ board running a fresh install of RasPiOS Bullseye [32] 'Desktop'.
Maybe this is a previously undetected 'quirk' of the different video support in RPi4 hardware?
{I have flagged this post for Moderator attention to ask for RPT investigation.}
I have already written my setup above but in short I am using the newest 32-bit Raspberry Pi OS with desktop (Release date: October 30th 2021) on my Raspberry Pi 4 8GB and I am trying to connect with the default Remote Desktop Client on Windows 10.
Before I used the Bullseye based version, I was running the latest Buster based version with the Release date marked as May 7th 2021 and it worked perfectly fine with that. In both cases I had a fresh install and the only thing I installed was xrdp via
Code: Select all
sudo apt-get install xrdp
If any more information is needed I am happy to provide it as well.
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 14340
- Joined: Wed Dec 04, 2013 11:27 am
- Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.
Re: bullseye: xrdp not working for user "pi"
https://github.com/neutrinolabs/xrdp/di ... nt-1630986
https://github.com/neutrinolabs/xrdp/issues/2048
We're looking at backporting the fix to xrdp already.
https://github.com/neutrinolabs/xrdp/issues/2048
We're looking at backporting the fix to xrdp already.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.
I'm not interested in doing contracts for bespoke functionality - please don't ask.
-
- Posts: 4
- Joined: Thu Nov 11, 2021 10:47 pm
Re: bullseye: xrdp not working for user "pi"
Thank you so much! Also the workaround to install tigervnc-standalone-server works, but I had to uninstall realvnc-vnc-server before. Just wanted to put that out there if anyone has the same issue.6by9 wrote: ↑Sat Nov 13, 2021 2:46 pmhttps://github.com/neutrinolabs/xrdp/di ... nt-1630986
https://github.com/neutrinolabs/xrdp/issues/2048
We're looking at backporting the fix to xrdp already.
Re: bullseye: xrdp not working for user "pi"
Same exact issue here, RB Pi 4 running Bullseye 64-bit and Windows 10 remote desktop refuses to connect...
Re: bullseye: xrdp not working for user "pi"
Yep, same on CM4 64bit OS (2021-10-30 version). With Desktop autologin, I get stuck on the gray desktop. If I select in rasp-config, "Desktop GIU, requiring user to login" it will work beside the fact I'll have to reenter the password once the desktop opens...
Hopefully a fix will be coming soon...
V.
Hopefully a fix will be coming soon...
V.
Re: bullseye: xrdp not working for user "pi"
Also struggled on this issue, in the end I managed to to install back previous package version and it works fine. it is easiest way to me before there is a fix on this problem.
The method tested working on fresh installed bullseye with desktop on Pi4. Release date: October 30th 2021
sudo apt update
apt-cache policy xrdp #if you get <Candidate: 0.9.12-1.1>, this is the problem version, do not install
sudo nano /etc/apt/sources.list
#comment all existing list then add below list (remember what you commented, after install xrdp need to restore back)
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
#save and exit the list file
sudo nano /etc/apt/sources.list.d/raspi.list
#comment all existing list then add below list (remember what you commented, after install xrdp need to restore back)
deb http://archive.raspberrypi.org/debian/ buster main
#save and exit the list file
sudo apt update #this command is a must after change above 2 list file
apt-cache policy xrdp #if you see <Candidate: 0.9.9-1+deb10u1> then you are good to install
sudo apt install xrdp
#remember to uncomment back the 2 list file, and deleted added list, otherwise you will get old packages for all upcoming installations
#and always apt update after change the list file
sudo apt update
The method tested working on fresh installed bullseye with desktop on Pi4. Release date: October 30th 2021
sudo apt update
apt-cache policy xrdp #if you get <Candidate: 0.9.12-1.1>, this is the problem version, do not install
sudo nano /etc/apt/sources.list
#comment all existing list then add below list (remember what you commented, after install xrdp need to restore back)
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
#save and exit the list file
sudo nano /etc/apt/sources.list.d/raspi.list
#comment all existing list then add below list (remember what you commented, after install xrdp need to restore back)
deb http://archive.raspberrypi.org/debian/ buster main
#save and exit the list file
sudo apt update #this command is a must after change above 2 list file
apt-cache policy xrdp #if you see <Candidate: 0.9.9-1+deb10u1> then you are good to install
sudo apt install xrdp
#remember to uncomment back the 2 list file, and deleted added list, otherwise you will get old packages for all upcoming installations
#and always apt update after change the list file
sudo apt update
Re: bullseye: xrdp not working for user "pi"
@DaDaDown
Followed your procedure and it didn't help
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/raspi.list
pi@raspberrypi:~ $ pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ sudo apt update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Ign:2 http://raspbian.raspberrypi.org/raspbian/buster main InRelease
Err:3 http://raspbian.raspberrypi.org/raspbian/buster main Release
404 Not Found [IP: 93.93.128.193 80]
Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
Reading package lists... Done
E: The repository 'http://raspbian.raspberrypi.org/raspbian/buster main Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
pi@raspberrypi:~ $ apt-cache policy xrdp
xrdp:
Installed: 0.9.12-1.1
Candidate: 0.9.12-1.1
Version table:
*** 0.9.12-1.1 100
100 /var/lib/dpkg/status
So pointing to the buster repository for xrdp isnt possible as it is disabled by default.
Thanks for your efforts. I wish that xrdp gets repaired soon. For the VNC methods are horrible to use.
Followed your procedure and it didn't help
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/raspi.list
pi@raspberrypi:~ $ pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ sudo apt update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Ign:2 http://raspbian.raspberrypi.org/raspbian/buster main InRelease
Err:3 http://raspbian.raspberrypi.org/raspbian/buster main Release
404 Not Found [IP: 93.93.128.193 80]
Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
Reading package lists... Done
E: The repository 'http://raspbian.raspberrypi.org/raspbian/buster main Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
pi@raspberrypi:~ $ apt-cache policy xrdp
xrdp:
Installed: 0.9.12-1.1
Candidate: 0.9.12-1.1
Version table:
*** 0.9.12-1.1 100
100 /var/lib/dpkg/status
So pointing to the buster repository for xrdp isnt possible as it is disabled by default.
Thanks for your efforts. I wish that xrdp gets repaired soon. For the VNC methods are horrible to use.
-
- Posts: 13
- Joined: Fri Jul 25, 2014 9:53 pm
Re: bullseye: xrdp not working for user "pi"
I'm having the same issue but no one of the proposed solutions worked out for me.
Then I reinstalled Buster waiting for the problem to be fixed.
Then I reinstalled Buster waiting for the problem to be fixed.
Re: bullseye: xrdp not working for user "pi"
I have just upgraded to the latest version of xrdp (.i.e. 0.9.17-2-1.1) and xorgxrdp 0.2.17-1 and unfortunately, it does not solve this issue. In addition, it has overwritten my version of xorg.conf . 

-
- Posts: 4
- Joined: Thu Nov 11, 2021 10:47 pm
Re: bullseye: xrdp not working for user "pi"
Yep, same here. Now I cannot connect at all.
Edit: Even after a fresh install and updating everything, the method I used before which is to connect via Xvnc with tigervnc-standalone-server does not work anymore. Looking very much forward to a fix.
Edit 2: Downgrading xrdp to version 0.9.12-1.1 works for me right now, but a permanent solution would be better obviously. Just putting it out there for anyone with the same issues.
Re: bullseye: xrdp not working for user "pi"
Finally the team solved this problem, updated version 0.9.17-2~bpo11+rpt1 tested working after fresh installation.
Re: bullseye: xrdp not working for user "pi"
https://github.com/neutrinolabs/xrdp/issues/2060
Modify /etc/X11/xrdp/xorg.conf to use xrdp normally
Modify /etc/X11/xrdp/xorg.conf to use xrdp normally
-
- Posts: 1
- Joined: Wed Apr 27, 2022 1:52 am
Re: bullseye: xrdp not working for user "pi"
I just installed Bullseye, both the 32 and 64 bit versions via the imager, and I am seeing the same problem as reported in this thread. If I revert to Buster, everything works perfect.
Re: bullseye: xrdp not working for user "pi"
The same for me. Just installed and updated the latest rpi os one pi4 with 32bit and the other with 64 bit. Installed xrdp on both. Running the mac os based ms remote desktop app, it appears to connect to the rpi but the screen is just a blank black screen.
Is MS Remote Desktop expected to work with Raspberry pi os ??? Has anyone got it working with the latest released?
Is MS Remote Desktop expected to work with Raspberry pi os ??? Has anyone got it working with the latest released?
Re: bullseye: xrdp not working for user "pi"
Oh woohoo
I got the ms remote desktop working. Only took another few hours of googling.
I had to create a new user - sudo adduser xxxx - and then login to that new user when using the remote desktop from my mac. The first time a pop up on the desktop of the new user asks you to log into the pi user
for some reason to do with updates, but that only appears to be on the first remote login (so far anyway).


I had to create a new user - sudo adduser xxxx - and then login to that new user when using the remote desktop from my mac. The first time a pop up on the desktop of the new user asks you to log into the pi user
