1

I tried to clean some packages up and wound up screwing something up.

Now, it no longer boots to a graphic window: I get a terminal login screen.

I'm using xfce4 and I can use the startx command to enter the graphical environment, but I'd prefer to go straight to a graphic login, user-screen and so on.

Ubuntu 18.04 latest.

2 Answers2

0

Clean away the wreckage of the old Desktop Environment before reinstalling xfce by

sudo apt purge  '~n^libxfce4.*' '~n^libexo.*' '~n^libgarcon.*'
sudo apt-get install xubuntu-desktop
K7AAY
  • 17,705
0

I think I found out what was going wrong but not why.

In /var/log/syslog I see:

 lightdm.service Main process exited, coe=exited, status=1/FAILURE
 lightdm.service failed with result 'exit-code'

I then followed the suggestion given here ... Lightdm not starting on boot ...

... and used the dpkg-reconfigure command to choose gdm3.

Magically, it worked!