LoginSignup
6
9

More than 5 years have passed since last update.

Kali Linuxでシャットダウンに90秒かかる問題の解決

Last updated at Posted at 2017-05-25

Kali Linuxのデスクトップ環境を使っていると、シャットダウン時に次のようなメッセージが表示されてシャットダウン完了まで90秒待たされることがあります。

(1 of 2) A stop job is running for ...r Manager for UID 131 (42s / 1min 30s)
(2 of 2) A stop job is running for ...r Debian-gdm (42s / 1min 30s)

これはベースのDebianのバグのようで、Debianでも同じ状況が起こるようです。

解決策は「#843090 - open-vm-tools-desktop: shutdown hangs 90s after a VM window resize - Debian Bug report logs」にある通り、/etc/gdm3/daemon.confに次のように1行追記すればシャットダウン時に待たされることはなくなります。

/etc/gdm3/daemon.conf
[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false

と思ったんですが、やっぱりシャットダウン時に待たされてました(2017/06/26追記)。困った。

/etc/systemd/system.conf
DefaultTimeoutStopSec=30s

でシャットダウン時間を30秒にしました。

6
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
9