deepin-linux5.6内核关机卡logo解决
Tofloor
poster avatar
q77190858
deepin
2020-04-01 01:49
Author
magicbook升级了最新的linux5.6内核,发现关机卡死,按esc键发现正在等待sound关闭,默认等待90s才会关闭
  1. a start job is running for deepin shutdown sound
Copy the Code


看了网上的教程,说改/etc/systemd/systemd.conf里面的DefaultTimeoutStartSec和DefaultTimeoutStopSec,然后
  1. systemctl daemon-reload
Copy the Code

试了一下没有用,还是等待90s才关闭
最后研究systemd文档 http://www.jinbuguo.com/systemd/systemd-system.conf.html
只要改sound service的配置就可以了
  1. sudo vi /etc/systemd/system/shutdown.target.wants/deepin-shutdown-sound.service
Copy the Code
在里面加上
  1. TimeoutStartSec=5s
  2. TimeoutStopSec=3s
Copy the Code
就可以了
Reply Favorite View the author
All Replies
avatar
杨海瑞
deepin
2020-04-02 04:20
#1
谢谢怎么保存?
Reply View the author
avatar
q77190858
deepin
2020-04-03 16:51
#2

:+ wq保存
Reply View the author
avatar
chdkd
deepin
2020-04-03 17:08
#3

不会用vim 可以用nano编辑
sudo nano /etc/systemd/system/shutdown.target.wants/deepin-shutdown-sound.service
即可,修改完了,ctrl+o ,回车保存,CTRl+x退出
Reply View the author
avatar
杨海瑞
deepin
2020-04-03 20:31
#4

非常感谢 弄好了
Reply View the author
avatar
wei15653124686
deepin
2020-04-03 20:33
#5
辛亏没升级,等官方升级
Reply View the author