Running sudo start lightdm from the command line seems to work fine though. Neither exec xdm or xdm or sudo xdm or sudo exec xdm do though.
Things I have already tried -
- selecting various options from
sudo dpkg-reconfigure xdm- whatever option I choose, the problem remains - Checking
/etc/X11/default-display-managercontains an absolute path, and that this is the real location of the display manager -/etc/X11/default-display-managercontains/usr/bin/xdmandfile /usr/bin/xdmgivesELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV)...which sounds right
Also, /var/log/dmesg contains lots of suspicious entries like
[ 21.997255] systemd-udevd[1005]: failed to execute '/lib/udev/socket:@
/org/freedesktop/hal/udev_event' 'socket:@/
org/freedesktop/hal/udev_event': No such file or directory
but I'm not sure what this means or even if it is relevant. Certainly, file /lib/udev/socket gives /lib/udev/socket: ERROR: cannot open `/lib/udev/socket' (No such file or directory) and ls /lib/udev/ | grep socket gives pcmcia-socket-startup. locate udev_event and locate socket | grep socket$ gives this -
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
/etc/systemd/system/sockets.target.wants/gpsd.socket
/lib/systemd/system/avahi-daemon.socket
/lib/systemd/system/dbus.socket
/lib/systemd/system/gpsd.socket
/lib/systemd/system/systemd-udevd-control.socket
/lib/systemd/system/systemd-udevd-kernel.socket
/lib/systemd/system/dbus.target.wants/dbus.socket
/lib/systemd/system/sockets.target.wants/dbus.socket
/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket
/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket
/usr/lib/cups/backend/socket
/usr/lib/cups/backend-available/socket
/usr/share/maven-repo/org/eclipse/jetty/jetty-websocket
/usr/share/maven-repo/org/eclipse/jetty/aggregate/jetty-websocket
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/avahi-daemon.socket
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/gpsd.socket
and locate udev_event returns no result.