Gordon Messmer wrote:> On 12/15/2015 10:42 AM, m.roth at 5-cent.us wrote: >> How do you restart Xorg? I can't find a target for it, and restarting >> graphical.target doesn't seem to do it. > > Restart gdm.Really? There's no systemd target to restart it, and graphical.target doesn't do it? Um..... mark
On 12/15/2015 11:26 AM, m.roth at 5-cent.us wrote:> Really? There's no systemd target to restart it, and graphical.target > doesn't do it? Um.....Why do you think that? # systemctl status gdm.service gdm.service - GNOME Display Manager Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled) Active: active (running) since Sun 2015-11-01 17:15:13 UTC; 1 months 13 days ago Process: 1477 ExecStartPost=/bin/bash -c TERM=linux /usr/bin/clear > /dev/tty1 (code=exited, status=0/SUCCESS) Main PID: 1391 (gdm) CGroup: /system.slice/gdm.service ?? 1391 /usr/sbin/gdm ??21476 /usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager/Displays/_0 ??21481 /usr/bin/Xorg :0 -background none -verbose -auth /run/gdm/auth-for-gdm-oJdseR/database -seat seat0 -nolisten tcp vt1 # systemctl restart gdm.service
Gordon Messmer wrote:> On 12/15/2015 11:26 AM, m.roth at 5-cent.us wrote: >> Really? There's no systemd target to restart it, and graphical.target >> doesn't do it? Um..... > > Why do you think that?Sorry, I would have thought that graphical.target would do it. And suppose I'm using kdm...? mark> > # systemctl status gdm.service > gdm.service - GNOME Display Manager > Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled) > Active: active (running) since Sun 2015-11-01 17:15:13 UTC; 1 months > 13 days ago > Process: 1477 ExecStartPost=/bin/bash -c TERM=linux /usr/bin/clear > > /dev/tty1 (code=exited, status=0/SUCCESS) > Main PID: 1391 (gdm) > CGroup: /system.slice/gdm.service > ?? 1391 /usr/sbin/gdm > ??21476 /usr/libexec/gdm-simple-slave --display-id > /org/gnome/DisplayManager/Displays/_0 > ??21481 /usr/bin/Xorg :0 -background none -verbose -auth > /run/gdm/auth-for-gdm-oJdseR/database -seat seat0 -nolisten tcp vt1 > > # systemctl restart gdm.service > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
Possibly Parallel Threads
- Dumb CentOS 7 question
- Dumb CentOS 7 question
- Problems with getty and X on runlevel switch [Was: Re: The future of centos]
- lightdm + xorg.conf + nvidia driver
- [Bug 53535] New: G84M [Quadro NVS 140M] X crash after waking up from suspend: Process /usr/bin/Xorg was killed by signal 6 (SIGABRT)