Ubuntu 18.04 (Jetson Nano) Xrdp Session Ends After Login

September 13, 2020
Install xfce4

I use NVIDIA DLI AI Jetson Nano SD Card Image v1.1.1 on a Jetson Nano, which comes with Ubuntu 18.04 and Unity Desktop.

I setup xrdp (sudo apt install -y xrdp) and connect via Remote Desktop Connection from Windows, and everything seems to work flawlessly.

Then I ran ubuntu update (sudo apt-get update && sudo apt-get upgrade) and the remote desktop session always terminated after a login via Xorg.

Eventually I try install a new lightweight desktop on Jetson Nano / Ubuntu 18.04

sudo apt-get install xfce4

Setup ~/.xsession for xrdp.

echo xfce4-session > ~/.xsession
service xrdp restart

I manage to login remotely into the xfce4 desktop after the above changes, and xfce4 runs much smoothly on Jetson Nano as compared to Jetson Nano.

NOTE: I haven’t try if echo unity > ~/.xsession would solve the remote desktop issues without switching to xfce4.

References:

This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.