-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't login to xrdp when my installed raspberry kernel is higher than raspberrypi 5.10.103-v7+ #3245
Comments
@jk-85 - can you tell us exactly what is happening? "ran into problems" is not giving us enough to go on. |
Will give more info when I have enough time for it. |
Late yesterday evening I did a workaround: I commented out the [Xorg] section in xrdp.ini and installed vnc instead and don't have to select Xvnc in the combo-box every time in the xrdp login-screen:
|
Thanks. That rules out a lot of probable causes. Have a look also at this comment. The Glamor drivers in the kernel seem to be a bit buggy on the PI. |
Thank, will visit your link soon! I found more time now, re-enabled the Xorg-section again and the logs show this:
|
That's consistent with earlier reports linked above. What's in |
Oops, don't know if it was a good idea to first clear the logfile xorgxrdp.10.log. I set back the "Option DRMDevice" to "/dev/dri/renderD128" in the file /etc/X11/xrdp/xorg.conf, then restarted xrdp via "sudo systemctl restart xrdp", then tried again to connect and the log shows this:
|
Suggest you log out from xrdp, completely delete the file and try again! |
Don't know if it helps, I just found an ".xordxrdp.10.log.old" backup-log file:
|
That log file is consistent with this patch being needed (which you can apply yourself):- See also #3201 |
Yeah, this really works with the pi 2 !!! Thanks a lot for the great responses and the support! |
It seems that XRDP has compatibility issues with Raspberry Pi kernels newer than 5.10.103-v7+. This is likely due to changes in the newer kernel that XRDP hasn't fully adapted to yet. A temporary solution is to either downgrade to the compatible kernel or try using ThinLinc, a remote desktop tool that works seamlessly on Raspberry Pi and doesn't face the same kernel version issues. ThinLinc provides a smoother remote access experience and might be a more stable alternative for your setup. |
We have a fix now. |
xrdp version
0.9.21
Detailed xrdp version, build options
Sorry, I don't know if I used the correct terms in my topic (e.g. "kernel"), but this is what I see so far. I have several raspberries, but not higher than Raspberry 3, but I ran into problems every time when I want to use a fresh linux system image with a kernel higher than raspberrypi 5.10.103-v7+ (Linux r2 6.6.31+rpt-rpi-v7 for example did not work, but I also tried to run a system with a lower kernel number if I remembered correctly). It's always a pain in the neck and up to this point I simply cloned my raspberries with version 5.10.103 instead of reinstalling with a newer image just to avoid these xrdp config nightmare. I tried different solutions I found around the internet, but I can't get xrdp to work.
Operating system & version
Ubuntu 22.04
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
No response
What desktop environment do you use?
No response
Environment xrdp running on
No response
What's your client?
No response
Area(s) with issue?
Authentication
Steps to reproduce
Just install a fresh Raspberry Ubuntu OS higher than raspberrypi 5.10.103-v7+
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: