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

Oliver Grawert ogra at ubuntu.com
Tue Jul 26 14:03:54 UTC 2016


hi,
Am Dienstag, 26. Juli 2016 15:57:01 CEST schrieb Ralf Mardorf 
<silver.bullet at zoho.com>:
> On Tue, 26 Jul 2016 09:13:49 -0400, Tom H wrote:
>>"/etc/init/lightdm.conf", "/etc/init.d/lightdm", and
>>"/lib/systemd/system/lightdm.service" are all installed by the
>>"lightdm" package.
> 
> Ok, there is indeed "/etc/init.d/lightdm" regarding
> 
> http://packages.ubuntu.com/xenial/amd64/lightdm/filelist , but a
> default Ubuntu install comes with systemd. The OP claims that it was a
> fresh default install.
> 
> Is it possible that a command to remove NM, would remove systemd and
> install upstart? If so, why did systemctl work? If not, why was the
> systemd unit removed and the init.d file wasn't removed?
> 
> What's the output of
> 
>   ps -p 1
> 

thats a red herring ... upstart is still used on all ubuntu systems to 
manage graphical sessions, so everyone using a default install has it 
around ... /sbin/init is long gone from the upstart package though ... so 
even having it installed pid1 is systemd since 15.04 (except for the 
phones) ...

i assume the package removal did simply not remove the sysvinit file (being 
probably considered a conffile by debhelper and purge was not used (yay 
aptitude ...) so it was left in place) and at a reboot the generator 
identified there was no systemd unit for it and simply generated one.

ciao
    oli


-- 
Mit Dekko von meinem Ubuntu-Gerät gesendet



More information about the ubuntu-users mailing list