1

I have installed i3 and logged in by using i3 as GUI/Window Manager. Now, whenever I start Ubuntu, it automatically logs into i3. How can I go back using Unity as GUI? I am using Ubuntu 18.04.

pfnuesel
  • 173
  • 1
    Does this answer your question? https://askubuntu.com/questions/1049351/how-do-i-set-the-default-desktop-environment-on-18-04-bionic – Brian Z Aug 20 '20 at 13:11
  • @BrianZ No, unfortunately not. Whatever I do, I end up in i3. – pfnuesel Aug 20 '20 at 13:50
  • In your login manager, first select the cog wheel on your login screen to select the Unity session. See the screenshot in the question someone linked as duplicate (although it is not) to see how this looks on gdm, the default login manager of Ubuntu 18.04 and up. The selection made there is remembered for future logins. – vanadium Aug 20 '20 at 14:20
  • @vanadium That's exactly my problem, I don't see that cog wheel anymore, since I am logged in automatically. But knowing that gdm (and not lightdm) is the login manager might help in searching for a solution. – pfnuesel Aug 20 '20 at 14:39
  • @pfnuesel So you've tried both dpkg-reconfigure and update-alternative as suggested in the answer I linked to? – Brian Z Aug 20 '20 at 14:45
  • @BrianZ Yes, I did. – pfnuesel Aug 20 '20 at 14:47
  • Search how you can, at least temporarily, disable automatic login. Then you will be able to change the session. – vanadium Aug 20 '20 at 15:09

1 Answers1

1

Edit /etc/gdm3/custom.conf and comment the two lines:

AutomaticLoginEnable=True
AutomaticLogin=Foo

Restart, and you should see the login screen again where you can choose the GUI/WM to be used.

pfnuesel
  • 173