Ask Your Question

How to automatically start gdm at boot?

asked 2018-08-09 16:08:37 -0600

wallyk gravatar image

updated 2018-08-09 22:27:57 -0600

Something happened about a month ago to my Fedora 27 laptop. It had been working quite well for the six months or so proceeding that.

At that time, it apparently failed to boot up. Messing around in "Rescue mode" (fsck mostly) eventually made it healthy enough to boot up to console (text) mode. I issued systemctl enable gdm (and have several times since) but gdm does not start up on boot. Lately, I log in then run the command systemctl start gdm under root to get gnome running. Clumsy, but the system appears to otherwise be healthy. Now systemctl status gdm shows

● gdm.service - GNOME Display Manager
   Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-08-08 03:03:40 PDT; 1 day 10h ago
 Main PID: 1485 (gdm)
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/gdm.service
           └─1485 /usr/sbin/gdm

I expect that the vendor preset: disabled reveals the proximate cause. If so, how to change it?

edit retag flag offensive close merge delete


Show the output of systemctl get-default.

villykruse gravatar imagevillykruse ( 2018-08-09 18:09:49 -0600 )edit

systemctl get-default says

wallyk gravatar imagewallyk ( 2018-08-09 22:03:35 -0600 )edit

vendor preset: disabled is just the default state at install time and has no effect later.

villykruse gravatar imagevillykruse ( 2018-08-10 02:07:05 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-08-10 02:02:07 -0600

villykruse gravatar image

Based on your comment you are set up to not start gdm. In the old days that was called run-level 3


systemctl set-default means start gdm or some other display manager.

edit flag offensive delete link more


Excellent! That fixes it.

wallyk gravatar imagewallyk ( 2018-08-10 03:37:35 -0600 )edit

Question Tools

1 follower


Asked: 2018-08-09 16:08:37 -0600

Seen: 1,009 times

Last updated: Aug 10 '18