Hello there guys,
I am facing some problems while trying to enable and use GDM as the default display manager.
##What I have done?
1
I have installed gdm, then tried to set it as the default display manager using update-alternatives
and the result is as shown below…
sudo update-alternatives --config default-displaymanager
There are 3 choices for the alternative default-displaymanager (providing /usr/lib/X11/displaymanagers/default-displaymanager).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/X11/displaymanagers/gdm 25 auto mode
1 /usr/lib/X11/displaymanagers/console 5 manual mode
2 /usr/lib/X11/displaymanagers/gdm 25 manual mode
3 /usr/lib/X11/displaymanagers/xdm 10 manual mode
then I rebooted but got into a tty.
2
when I did, systemctl status display-manager.service' I got this
Unit display-manager.service could not be found`
systemctl set-default graphical.target
It is display-manager-legacy.service
now. The recommended way is to not use it and alternatives and simply enable gdm.service
directly which will also set alias display-manager.service
. You may need to install gdm-systemd
for it.
After installing gdm-systemd, I was able to enable it. Although after I rebooted, it showed nothing but a blank screen. Tho, I could access other ttys.
results of:
sudo journalctl -u gdm
-- Boot 9035b3df0fe04b7bbe0224946c9a7d9b --
Apr 19 12:17:18 localhost.localdomain systemd[1]: Starting GNOME Display Manager...
Apr 19 12:17:18 localhost.localdomain systemd[1]: Started GNOME Display Manager.
Apr 19 12:20:21 localhost.localdomain gdm[1118]: Gdm: Tried to look up non-existent conversation gdm-launch-environment
Apr 19 12:20:21 localhost.localdomain gdm[1118]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:20:21 localhost.localdomain gdm[1118]: Gdm: Failed to list cached users: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
Apr 19 12:20:21 localhost.localdomain systemd[1]: Stopping GNOME Display Manager...
Apr 19 12:20:21 localhost.localdomain systemd[1]: gdm.service: Main process exited, code=exited, status=1/FAILURE
Apr 19 12:20:21 localhost.localdomain systemd[1]: gdm.service: Failed with result 'exit-code'.
Apr 19 12:20:21 localhost.localdomain systemd[1]: Stopped GNOME Display Manager.
Apr 19 12:20:21 localhost.localdomain systemd[1]: gdm.service: Triggering OnFailure= dependencies.
Apr 19 12:20:21 localhost.localdomain systemd[1]: gdm.service: Failed to enqueue OnFailure=plymouth-quit.service job, ignoring: Unit plymouth-quit.service not found.
-- Boot faeaaf037a3f4138bc636b9fb5d371cf --
Apr 19 12:20:43 localhost.localdomain systemd[1]: Starting GNOME Display Manager...
Apr 19 12:20:43 localhost.localdomain systemd[1]: Started GNOME Display Manager.
Apr 19 12:22:55 localhost.localdomain systemd[1]: Stopping GNOME Display Manager...
Apr 19 12:22:55 localhost.localdomain gdm[1118]: Gdm: Child process -1196 was already dead.
Apr 19 12:22:55 localhost.localdomain systemd[1]: gdm.service: Killing process 2362 (bash) with signal SIGKILL.
Apr 19 12:22:55 localhost.localdomain systemd[1]: gdm.service: Deactivated successfully.
Apr 19 12:22:55 localhost.localdomain systemd[1]: Stopped GNOME Display Manager.
Apr 19 12:22:55 localhost.localdomain systemd[1]: Starting GNOME Display Manager...
Apr 19 12:22:55 localhost.localdomain systemd[1]: Started GNOME Display Manager.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2401 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2401 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2438 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2438 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2450 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2450 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2462 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2462 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2474 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2474 was already dead.
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmDisplay: Session never registered, failing
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
Apr 19 12:23:02 localhost.localdomain gdm[2364]: Gdm: Child process -2486 was already dead.
Apr 19 12:23:03 localhost.localdomain systemd[1]: Stopping GNOME Display Manager...
Apr 19 12:23:03 localhost.localdomain systemd[1]: gdm.service: Killing process 2508 (bash) with signal SIGKILL.
Apr 19 12:23:03 localhost.localdomain systemd[1]: gdm.service: Killing process 2519 (sleep) with signal SIGKILL.
Apr 19 12:23:03 localhost.localdomain systemd[1]: gdm.service: Deactivated successfully.
Apr 19 12:23:03 localhost.localdomain systemd[1]: Stopped GNOME Display Manager.
-- Boot 97db9346c8aa41ea8fc428a769a008ec --
Apr 19 12:23:24 localhost.localdomain systemd[1]: Starting GNOME Display Manager...
Apr 19 12:23:24 localhost.localdomain systemd[1]: Started GNOME Display Manager.