xRDP to Ubuntu but GNOME session not Ubuntu session
xRDP (Remote Desktop) to Ubuntu but GNOME session not Ubuntu session
Create ~/.xessionrc
export GNOME_SHELL_SESSION_MODE=ubuntu
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
Logout then Login
References
https://askubuntu.com/questions/1442514/how-to-login-to-the-ubuntu-not-gnome-session-on-a-remote-server-using-xrdp
https://askubuntu.com/questions/1291557/xrdp-xfce-apparently-incompatible/1303884#1303884
https://askubuntu.com/questions/1291557/xrdp-xfce-apparently-incompatible/1303884#1303884
Update