Ubuntu 17.04不能正常关机

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
peishenfei2
帖子: 143
注册时间: 2016-07-20 16:40
系统: Ubuntu15

Ubuntu 17.04不能正常关机

#1

帖子 peishenfei2 » 2017-04-24 20:42

每次关机都会黑屏一段时间(不是屏幕熄灭,而是不显示图像但是有亮度那种)有时候等一会就会关机,有时候就得强制关机。这是什么问题?该怎么解决?
谢谢。
头像
tang.zhe
帖子: 1505
注册时间: 2010-07-15 13:31

Re: Ubuntu 17.04不能正常关机

#3

帖子 tang.zhe » 2017-04-25 8:20

代码: 全选

1.安装 watchdog
sudo apt install watchdog

2.开启 watchdog 服务
sudo systemctl enable watchdog.service

3.马上启用 watchdog 服务
sudo systemctl start watchdog.service
http://www.mintos.org/skill/shutdown-long-time.html
peishenfei2
帖子: 143
注册时间: 2016-07-20 16:40
系统: Ubuntu15

Re: Ubuntu 17.04不能正常关机

#4

帖子 peishenfei2 » 2017-04-26 16:28

谢谢,确实可以了,不过这个watchdog是做了什么?我看了那个链接,他是说有进程没有终止,那么watchdog是把这些进程kill掉吗,会不会丢数据?

另外问下,每次进这个论坛,chrome总是说不安全,怎么去掉提醒直接进(或者说,怎么添加信任)谢谢
kiddingbaby
帖子: 2
注册时间: 2017-04-18 10:23
系统: Ubuntu

Re: Ubuntu 17.04不能正常关机

#5

帖子 kiddingbaby » 2017-05-04 9:49

peishenfei2 写了:谢谢,确实可以了,不过这个watchdog是做了什么?我看了那个链接,他是说有进程没有终止,那么watchdog是把这些进程kill掉吗,会不会丢数据?

另外问下,每次进这个论坛,chrome总是说不安全,怎么去掉提醒直接进(或者说,怎么添加信任)谢谢
1.watchdog是监控用的, 配置合理用起来没问题
2.你那个chrome应该是老版的, https会提示证书问题, 官网下载最新版本就行了
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 17.04不能正常关机

#6

帖子 poloshiao » 2017-05-04 11:53

这个watchdog是做了什么
http://manpages.ubuntu.com/manpages/zes ... dog.8.html
watchdog - a software watchdog daemon

watchdog is such a daemon. It opens /dev/watchdog, and keeps writing to
it often enough to keep the kernel from resetting, at least once per
minute. Each write delays the reboot time another minute. After a
minute of inactivity the watchdog hardware will the reset
. In the
case of the software watchdog the ability to reboot will depend on the
state of the machines and interrupts.

系統不活動超過 1 分鐘 watchdog 即 發動重啟
icewolf
帖子: 1
注册时间: 2018-02-06 21:17
系统: ubuntu

Re: Ubuntu 17.04不能正常关机

#7

帖子 icewolf » 2018-02-06 21:24

ubuntu17.04安装chrome没成功,关不了机。
用了ctrl+alt+f1登录,注销后进到桌面
卸载chrome
关机成功
第二次进去会有提示错误好像是系统内部错误
修复一下就好了
回复