Ubuntu 18.04 (Jetson Nano) Xrdp Session Ends After Login

Sep 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 > ~/.xsessionservice 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.


❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.