Created
December 12, 2017 10:03
-
-
Save hwchong/b3634b387e91b38d355a0500ffecfc7d to your computer and use it in GitHub Desktop.
GDM3 Prime Sync Fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=GNOME Display Manager | |
# replaces the getty | |
Conflicts=getty@tty1.service | |
After=getty@tty1.service | |
# replaces plymouth-quit since it quits plymouth on its own | |
Conflicts=plymouth-quit.service | |
After=plymouth-quit.service | |
# Needs all the dependencies of the services it's replacing | |
# pulled from getty@.service and plymouth-quit.service | |
# (except for plymouth-quit-wait.service since it waits until | |
# plymouth is quit, which we do) | |
After=rc-local.service plymouth-start.service systemd-user-sessions.service | |
# GDM takes responsibility for stopping plymouth, so if it fails | |
# for any reason, make sure plymouth still stops | |
OnFailure=plymouth-quit.service | |
[Service] | |
ExecStartPre=/usr/bin/xinit /usr/share/gdm/generate-config | |
ExecStart=/usr/sbin/gdm3 | |
KillMode=mixed | |
Restart=always | |
RestartSec=1s | |
IgnoreSIGPIPE=no | |
BusName=org.gnome.DisplayManager | |
StandardOutput=syslog | |
StandardError=inherit | |
EnvironmentFile=-/etc/default/locale | |
ExecReload=/usr/share/gdm/generate-config | |
ExecReload=/bin/kill -SIGHUP $MAINPID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment