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 xfce4Setup ~/.xsession for xrdp.
echo xfce4-session > ~/.xsessionservice xrdp restartI 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: