Hello,
I'm able to RDP into my fresh install of Ubuntu-desktop (24.04.1 LTS) from the windows 10 native client. When trying to rdp with the remote desktop manager ver 2024.3.20. I get a login prompt and enter my correct credentials and the window closes. In the desktop manager application log i see a RDP-fatal error 5.
Any help with being able to rdp into this linux box from the desktop manager would be appreciated.
Thanks
Hello
Honestly it could be a lot of things, I think in the context of xrdp a client error 5 means that the server is rejecting the connection "for some reason".
One thing to check would be if you have the same settings between RDM and Microsoft Remote Desktop client. In RDM, change your session to open "External" and launch it - it should open in the MS RDP client instead of embedded in RDM, but using the same settings. Does it work?
Otherwise, the answer will probably lie in the xrdp logs. Did you install and configure xrdp yourself, or are you using the native Ubuntu "remote access" feature?
Thanks and kind regards,
Richard Markievicz
Hi Richard thanks for the reply.
i was able to import the *.rdp into the rdp session and able to launch that way. i tried changing the display option to external from embedded and and that fails. I configured xrdp via the native Ubuntu "remote access" feature.
i'll take a look at the xrdp logs and see if i see anything there.
In the mean time can you think of anything else?
Hello
You should be able to view the logs with journalctl on the server.
That said, I have two suggestions to try:
One or both of these might be the issue, let me know if something works.
Thanks and kind regards,
Richard Markievicz
Excellent! I enabled the "use redirection server" and adjusted the screen sizing options and was able to connect. I understand the use redirection server part. But why would i need to adjust the screen sizing options for this to work?
Hello
Excellent news. Are you sure both changes are needed; i.e. did you try them independently?
For the redirection server: the "Remote Access" feature in Ubuntu isn't actually built on xrdp; it's Gnome Remote Desktop (which under the hood uses a FreeRDP server, so essentially the same components as xrdp). The client authenticates with GRD, then the session is "redirected" to the RDP server. This setting is needed to make your credentials "persist" across the redirection.
For the screen dimensions: the server enforces that the requested width be a factor of 2, and that the width and height must be between 200 and 8192 pixels. This is due to some of the older codecs possible in RDP. I suspect that your standalone connection with mstsc was launching full screen and dodging this problem? When you have an embedded window, and depending on your OS version (where invisible window borders can be different sizes), you have a good chance of being "unlucky" and using an unsupported resolution. Moving forward, you might try playing with a "fixed" window size that's appropriate, but at the same time enabling dynamic resolution.
I jus fixed some issues related to this with our FreeRDP backend, so if you can't make that play nicely with the embedded MS RDP (I'm not suggesting you live in a screen resolution of 1024x768!) then using FreeRDP could be a good option. Let me know, as I'll have to check if my changes have been released yet.
Please, let me know if something isn't clear or you have other questions
Richard Markievicz
Richard,
I tried both changes independently, if i had redirection turned off with a fixed resolution and scrolling. i would get an auth error. Leaving the default display options with redirection turned on, my session would just quit like before. I actually got this to work nicely with dynamic resolution with the current screen size option. I'm a happy camper now.
To answer your question my stand alone mstsc connection was launching in full screen. Thought this was normal behavior and didn't think much of it.
Also thank you for the explanation on what the two options do and what i seeing.
Hello
mstsc doesn't have to launch in full screen, but it does by default; and since your regular screen resolution almost certainly fits the constraints set by the RDP server, then it masks the problem.
I'm glad things are working well. Don't hesitate with further questions or comments.
Kind regards,
Richard Markievicz
Check that the RDP server on your Ubuntu installation is properly set up. Try adjusting the RDP settings in Remote Desktop Manager, and ensure no firewall or security settings on Ubuntu are blocking the connection. Let me know! When I had multiple assignments due, I decided to use https://academized.com/order-essay for one of my essays. The process was simple, and their team delivered a top-notch paper that exceeded my expectations. The content was original, and the arguments were clear and logical. I also appreciated their quick turnaround time, which allowed me to review the work before submission. I’m very satisfied with their service and will use it again.