Score:1

Setting the default desktop environment in Ubuntu 20.04

eg flag

I have upgraded my Ubuntu 16.04 to 20.04 and have installed Xfce which I'd like to set as the default DE when logging into my system. However, everytime I login with Xfce and logout, Ubuntu forgets Xfce as the default DE and goes back to the option Ubuntu (Unity).

Following How do I set the default desktop environment on 18.04 (Bionic)?

I tried

sudo update-alternatives --config x-session-manager

in the terminal. However, what I get is

There are 3 choices for the alternative x-session-manager (providing /usr/bin/x-session-manager).


  Selection    Path                    Priority   Status
---------------------------------------------
  0            /usr/bin/gnome-session   50        auto mode
  1            /usr/bin/gnome-session   50        manual mode
  2            /usr/bin/startxfce4      50        manual mode
* 3            /usr/bin/xfce4-session   40        manual mode

Press <enter> to keep the current choice[*], or type selection number: 

which apparently indicates that Xfce should be the default DE which is not the case. Any help would be appreciated.

us flag
You should be able to select XFCE in the login screen. Also, since you upgraded from 16.04, you probably have GNOME, Unity and XFCE installed in your system, which would unnecessarily consume a lot of space. Consider fresh installing Xubuntu 20.04 if you want to use XFCE.
Simon avatar
eg flag
@ArchismanPanigrahi Of course, I can select xfce, but I cannot set it as the default log in and hence the question. Unity is the default...
Sadaharu Wakisaka avatar
pl flag
Welcome to AskUbuntu, perhaps [this](https://askubuntu.com/questions/139491/how-to-change-from-gdm-to-lightdm) Login screen has a variation, which doesn't talk each other, the branch before the selection of DE won't be loaded in the maze.
Score:1
cn flag

check cat /var/lib/AccountsService/users/your-username. Make sure that XSession is set to xfce.

Simon avatar
eg flag
xsession is set to xfce. Here is what I got from the terminal. [User] XSession=xfce Background=/usr/share/backgrounds/The_Land_of_Edonias_by_Γιωργος_Αργυροπουλος.jpg Icon=/home/..../.face SystemAccount=false [InputSource0] xkb=us [InputSource1] xkb=ir
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.