16.04: Graphical login/desktop vanished? (coming closer)

Josef Wolf jw at raven.inka.de
Tue Jul 26 19:56:02 UTC 2016

On Tue, Jul 26, 2016 at 03:40:52PM +0200, Ralf Mardorf wrote:
> On Tue, 26 Jul 2016 13:34:40 +0200, Josef Wolf wrote:
> >Strange enough, /etc/init.d/lightdm was still there and was actually
> >invoked by systemd.
> Josef, the output you quoted explains why it was started:
>   "Docs: man:systemd-sysv-generator(8)"
> What's fishy with it is the fact, that /etc/init.d/lightdm is not
> available by official Ubuntu 16.04 repositories. So why was it
> installed? LightDM from the official repositories has got a systemd
> unit and no /etc/init.d/lightdm.

root at bu201:/# grep . /etc/apt/sources.list | grep -v '^#'
deb http://gb.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ xenial universe
deb http://gb.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
root at bu201:/# dpkg -S /etc/init.d/lightdm 
lightdm: /etc/init.d/lightdm
root at bu201:/# LANG= dpkg -l lightdm
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version        Architecture   Description
ii  lightdm             1.18.2-0ubuntu amd64          Display Manager
root at bu201:/# 

> Colin, Oli and I are running 16.04, too and we checked that it is a
> systemd unit for our installs.

I did a complete, fresh and clean reinstall of 16.04

> >> Josef, what is the output of
> >>  dpkg -l lightdm  
> >
> >Sorry, I can't check anymore. I tried to reinstall the desktop and got
> >a completely different desktop, which I've never seen before.
> It doesn't matter what was installed, we try to fix your install, so
> running this command, would give us some information.
> Are you able to login by what ever display manger now?

Yes, I can login again, since I did a complete, fresh, clean reinstall last
night. But I can't check anything, since I wiped the disks for the reinstall.

> or much
> better, do a completely fresh install using an ISO from Ubuntu, not only
> verified by checksum, but also by signature:

I use a customized alternate/server CD. It is exactly as the official one. I
only added preseeding and the automatic start of my configuration environment.

Josef Wolf
jw at raven.inka.de

More information about the ubuntu-users mailing list