I am not sure where to report bugs that are part of the jetson OS / L4T.
On a freshly flashed AGX Orin with L4T 34.1.1 /ubuntu20.04:
Installing xrdp and connecting presents the xrdp login prompt, but exits when attempting to log in to the desktop. I suspect it also result in vino presenting only the nvidia splash screen (see ~/.xsessionrc)
The reason can be seen in ~/.xsession-errors.
There is a syntax error (or otherwise) at line 83 of ~/.xsessionrc
/etc/X11/Xsession: 83: /home/sacvp-user/.xsessionrc: Syntax error: "(" unexpected (expecting "fi")
At ‘remove_apps’
if [ -e "/usr/bin/gnome-shell" ]; then
remove_apps=("thunderbird" "rhythmbox" "libreoffice-writer")
favorite_apps="$(gsettings get org.gnome.shell favorite-apps)"
for app in "${remove_apps[@]}"; do
favorite_apps="$(echo "${favorite_apps}" | \
sed -e "s/'${app}.desktop', //g" -e "s/, '${app}.desktop' / /g")"
done
gsettings set org.gnome.shell favorite-apps "${favorite_apps}"
fi
This error happens when a bash file is called using sh.
I’m not sure the exact launch process but I would suspect that ~/.xsessionrc should not use the bash stringarray, and instead be ‘sh’-ified.