On Mon, Sep 17, 2018 at 5:27 AM, Michael Schwendt <mschwendt(a)gmail.com> wrote:
Resetting "forcibly" by hitting Ctrl+Alt+Del more than
seven times within two
seconds used to work. Now I only get a message about it, but nothing happens.
The reason I need to reset the machine like that is that simply choosing
the "Restart" option inside GNOME Shell runs into annoying systemd timeouts
while waiting for jobs, such as user manager. That takes much too long.
Dunno about the keyboard shortcut but I'd say, why is the delay
happening? Here's a guide for getting better shutdown time information
in the journal.
https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1
And then 'sudo reboot -f' will do an abrupt reboot that sidesteps systemd.
And yet another way to hand it is to insert this line into
/etc/systemd/logind.conf
KillUserProcesses=yes
When you logout (which happens right after you choose restart from
GUI), this will forcibly kill all the user processes in the login
session. Just be aware it'll kill everything including screen and tmux
sessions when you log out.
--
Chris Murphy