You are not logged in.

#1 2014-07-28 10:46:19

Morn
Member
Registered: 2012-09-02
Posts: 886

[SOLVED] GDM does not start automatically

I can start gdm just fine with "systemctl start". However, after "systemctl enable gdm.service", gdm does not start at boot:

$ systemctl status gdm.service
● gdm.service - GNOME Display Manager
   Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled)
   Active: inactive (dead)

Error messages in /var/log/messages.log:

(…)
Jul 28 11:39:27 localhost gdm-Xorg-:0[360]: Errors from xkbcomp are not fatal to the X server
Jul 28 11:39:30 localhost gdm-Xorg-:0[360]: (II) AIGLX: Suspending AIGLX clients for VT switch
Jul 28 11:39:53 localhost gdm[351]: Tried to look up non-existent conversation gdm-launch-environment
Jul 28 11:39:53 localhost gdm[351]: Tried to look up non-existent conversation gdm-launch-environment
Jul 28 11:39:53 localhost gdm-Xorg-:0[360]: (EE) Server terminated successfully (0). Closing log file.
Jul 28 11:39:53 localhost gdm[351]: Freeing conversation 'gdm-launch-environment' with active job
Jul 28 11:39:53 localhost gdm[351]: **
Jul 28 11:39:53 localhost gdm[351]: ERROR:gdm-display.c:1254:gdm_display_dispose: assertion failed: (display->priv->status == GDM_DISPLAY_FINISHED || display->priv->status == GDM_DISPLAY_FAILED)
Jul 28 11:39:53 localhost systemd[1]: gdm.service: main process exited, code=killed, status=6/ABRT
Jul 28 11:39:53 localhost systemd[1]: Unit gdm.service entered failed state.
#  journalctl /usr/bin/gdm
Jul 28 11:38:45 genesis gdm[351]: Failed to give slave programs access to the display. Trying to proceed.
Jul 28 11:39:53 genesis gdm[351]: Tried to look up non-existent conversation gdm-launch-environment
Jul 28 11:39:53 genesis gdm[351]: Tried to look up non-existent conversation gdm-launch-environment

P.S. Could this be related to dhcpcd's long start time?

         13.072s dhcpcd@eth0.service
          8.465s psd.service
          3.541s lm_sensors.service
          3.116s alsa-restore.service
          3.116s gpm.service

Edit: The solution was to do

# rm /etc/systemd/system/default.target

It's even explained in the Wiki at https://wiki.archlinux.org/index.php/display_manager. Just not in the GDM article which I had looked at for help. :-)

Last edited by Morn (2014-07-28 16:26:41)

Offline

Board footer

Powered by FluxBB