Web lists-archives.com

Re: Cannot get the Login Screen sddm to work




On Sat, 2016-08-13 at 19:50 -0400, Dick Barmann wrote:
> Can I get back to sddm,

Boot using recovery mode
https://wiki.ubuntu.com/RecoveryMode

after you logged in as root run
(if logged in as user, first run

  sudo -i

)
  systemctl disable lightdm

to disable lightdm and then run

  systemctl enable sddm

to enable sddm.

Or do it using a live media
https://help.ubuntu.com/community/LiveCdRecovery

I don't know why they explain how to use chroot instead of simply using
systemd-nspawn.

Try it this way:

1. Boot the Ubuntu Live CD.
2. Press Ctrl-Alt-F1
3. sudo -i
4. mkdir /mnt/ubuntu

IIRC your / including everything, even /home, is on /dev/sda2, if not
chose the correct partition instead of sda2.

3. mount /dev/sda2 /mnt/ubuntu
4. systemd-nspawn -qD /mnt/ubuntu/
5. systemctl disable lightdm
6. systemctl enable sddm