Score:2

How to login to the Ubuntu (not GNOME) session on a remote server using xRDP?

us flag

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?

jpp avatar
cn flag
jpp
Check this http://c-nergy.be/blog/?p=18918 Works out of the box but you can explore the script to find the way.
Score:2
us flag

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.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.