5

I am using Ubuntu 22.04 running on a remote server, which I am accessing over xRDP.

When I login, it seems to load the "GNOME on X.Org" (and not the Ubuntu) session. Since I am using RDP, I cannot access the GDM login screen (because I directly login).

As a result, I am unable to change appearance settings. I am experiencing this issue.

How to change settings so that I can login to the Ubuntu session?

1 Answers1

7

This answer is based on another answer posted to a different question (which is about making XFCE work with XRDP).

Create the hidden file .xsessionrc in your home folder with the following content

export GNOME_SHELL_SESSION_MODE=ubuntu
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg

Logout and Login.