Issue with xrdp

After installing Microsoft January 2020 Patch, I had problems logging into the jetson nano via xrdp. I get the nvidia logo and the session terminates

Interesting, my host pc is on ubuntu 18.04. Xrdp works fine on both Pi4 and Pi 3b+ though.
Maybe I should try to rollback to an older version of xrdp since there was an update recently that might not play nice with the Jetson Nano:

https://launchpad.net/ubuntu/+source/xrdp/+changelog

nol older version, reinstalled and still no dice.

It could have something to do with this:
https://arstechnica.com/information-technology/2020/01/another-reason-to-hurry-with-windows-server-patches-a-new-rdp-vulnerability/

If Microsoft changed the way rdp works, it possibly broke xrdp from patched Windows clients. New vulnerabilities for rdp are always being found.

Getting this error “unable to locate package xrdp” while installing xrdp in Jetson Nano.
Please help.
Thanks in advance

Please give solution for this problem

what if you use other remote desktop servers/clients? or your choice is limited only to xrdp? what about nomachine? vnc, x2go?

That’s a good suggestion, Andrey. I use ssh -X for nearly everything, but it is not suitable for graphics heavy apps or slower internet. Most people seem to use vnc, but the encode is done in software on nano, I believe. I have never tried x2go.

I believe there’s an issue logging in via RDP while there is an SSH connection open, maybe that’s related.

I have the exact same problem: Microsoft Remote Desktop opens a window on my Mac which for 1s shows the Nvidia logo, then closes unexpectedly. I am using the Nvidia image on my Jetson nano and Microsoft Remote Desktop for Mac. Did you find a solution to the problem? Thanks!

I have the same problem using Microsoft Remote Desktop on Windows 10 and Remmima in Ubuntu.

1 Like

Logout from Jetson nano and try to login in remote connection.it will work

I encountered this issue today. It turns out it was caused by gnome (more specifically, the MESA GL library).

Didn’t want to waste more time on this. So I installed xfce4 and used it instead. That solved the problem.

Here are the steps:

  1. Install xfce4
    sudo apt install xfce4
  2. Comment out the last two lines in /etc/xrdp/startwm.sh
  3. Add the following line to /etc/xrdp/startwm.sh
    startxfce4
  4. Restart xrdp
    sudo service xrdp restart
5 Likes

Thank, xfce4 works!

Works perfectly, thanks.

Obviously not the RDP patch issue mentioned above.

This worked, but there is an error when I try to run an application that uses the OpenGl

libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 36
Current serial number in output stream: 35

This error does not happens when I am using the monitor.

Before I got this issue , I didn’t upgrade my ubuntu and the XRDP worked very good between windows and the Jetson. But then I decided to upgrade my distro to 18.04.4 LTS and this starts happening

although xfce4 desktop shell allows me to log in via MS RDP, it has several issues including unable to launch Terminal window and the shell hangs on occasion. Will be looking for a fix for default shell.

1 Like

please consider this before installing xfce4 ,

UI is lag, old and main important there is no synchronism to some applications(terminal mainly , etc), actions wont visible in RDP.

@WayneWWW
what is the use of these Forums, if you cant even give a resolution to main problem of XRDP connecting,
I had to waste more than 3 days in searching.

Hi,
We may not have experience in some software frameworks, but other users may see the post and share experience. My apology that we don’t have enough experience in xrdp. And thank other users for providing guidance. Much appreciation.

The solution for XRDP provided here is for ubuntu https://forums.developer.nvidia.com/u/jiang.guo
could any provide solution same for windows for connecting jetson nano through remote