[CentOS] Dumb CentOS 7 question

Tue Dec 15 22:08:15 UTC 2015
m.roth at 5-cent.us <m.roth at 5-cent.us>

Matthew Miller wrote:
> On Tue, Dec 15, 2015 at 03:30:45PM -0500, 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...?
> In general, you don't start or restart targets; you "isolate" them,
> which means 'anything that isn't in this target should stop and
> anything that is should start'. You can do `systemctl isolate
> multi-user.target` and then `systemctl isolate graphical.target`
> (although beware that the former can and probably will kill your
> session.) I guess this is reasonably analogous to doing "telinit 3" and
> then "telinit 5".
> In fact, "telinit 3" and then "telinit 5" should work basically as
> expected under systemd -- they will isolate multi-user.target and
> graphical.target, respectively.

Ok, thanks muchly. Next time my user has this problem (and he's using a
server as a desktop, what with the videous, and the *two* Tesla K-80's in
the box, and the weird remote over fibre to a video card we put in....)