Towards the end of the boot process, amongst the actions that are OK is one that's not, i.e.
Failed to start MDM.service
Am I correct in thinking that MDM is the Mate Desktop Manager? If so why in a XFCE4 desktop environment?
At the end of the boot process, I get a logon prompt in a tty screen. Internet access has been started so was able to fix broken packages (there weren't any) and complete the latest updates.
Edit (2018/08/18 17:00).
Ran the following commands:
sudo service mdm disable sudo dpkg-reconfigure lightdm
and then rebooted (after installing lightdm). Exactly the same result as above.
dpkg-query: no path found matching pattern *MDM.service* ● mdm.service loaded failed failed mdm.service
I have now removed mdm (purged) and the message 'Failed to start MDM.service' no longer appears during boot, but still only boots to a tty command line screen.
I enquired on lightdm status via:
sudo systemctl status lightdm
(sorry, I can't remember if that's absolutely correct, but I'm sure you'll get the popint). Output:
● lightdm.service - Light Display Manager Loaded: loaded (/lib/systemd/system/lightdm.service; indirect; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2018-08-18 17:31:37 CEST; 1min 53s ago Docs: man:lightdm(1) Process: 1500 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE) Process: 1497 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ] (code=exited, status=0/SUCCESS) Main PID: 1500 (code=exited, status=1/FAILURE) Aug 18 17:31:37 fuentedelucas systemd: lightdm.service: Service hold-off time over, scheduling restart. Aug 18 17:31:37 fuentedelucas systemd: lightdm.service: Scheduled restart job, restart counter is at 5. Aug 18 17:31:37 fuentedelucas systemd: Stopped Light Display Manager. Aug 18 17:31:37 fuentedelucas systemd: lightdm.service: Start request repeated too quickly. Aug 18 17:31:37 fuentedelucas systemd: lightdm.service: Failed with result 'exit-code'. Aug 18 17:31:37 fuentedelucas systemd: Failed to start Light Display Manager.