最近,我的 Ubuntu 14.04.4 LTS 桌面计算机出现了一些异常行为。没有任何明显的原因或故障,所有程序都关闭了,我被注销了。最近我还注意到我的 Chromium 和 Chrome 中有很多 WebGL 崩溃。我不知道是硬件还是软件故障,尽管事实是没有完全重启,而只是注销,这让我认为是软件问题。
我正在查看/var/log/syslog
,自上次重启以来我有这些日志,但它们并没有指出特定的错误:
Apr 1 09:49:40 v24 NetworkManager[910]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.439': no such name
Apr 1 09:49:40 v24 colord: device removed: xrandr-Goldstar Company Ltd-E2750-010MAAKDF872
Apr 1 09:49:40 v24 colord: Profile removed: icc-a8ff8ebef3b548f46e2eddd5c6ba1217
Apr 1 09:49:42 v24 dbus[565]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Apr 1 09:49:42 v24 dbus[565]: [system] Successfully activated service 'org.freedesktop.systemd1'
Apr 1 09:49:42 v24 rtkit-daemon[1419]: Successfully made thread 7851 of process 7851 (n/a) owned by '1000' high priority at nice level -11.
Apr 1 09:49:42 v24 rtkit-daemon[1419]: Supervising 6 threads of 2 processes of 2 users.
Apr 1 09:49:42 v24 pulseaudio[7851]: [pulseaudio] pid.c: Stale PID file, overwriting.
Apr 1 09:49:42 v24 gnome-session[7701]: WARNING: Could not parse desktop file fluxgui.desktop or it references a not found TryExec binary
Apr 1 09:49:42 v24 rtkit-daemon[1419]: Successfully made thread 7865 of process 7851 (n/a) owned by '1000' RT at priority 5.
Apr 1 09:49:42 v24 rtkit-daemon[1419]: Supervising 7 threads of 2 processes of 2 users.
Apr 1 09:49:42 v24 rtkit-daemon[1419]: Successfully made thread 7867 of process 7851 (n/a) owned by '1000' RT at priority 5.
Apr 1 09:49:42 v24 rtkit-daemon[1419]: Supervising 8 threads of 2 processes of 2 users.
Apr 1 09:49:43 v24 rtkit-daemon[1419]: Successfully made thread 7904 of process 7851 (n/a) owned by '1000' RT at priority 5.
Apr 1 09:49:43 v24 rtkit-daemon[1419]: Supervising 9 threads of 2 processes of 2 users.
Apr 1 09:49:43 v24 rtkit-daemon[1419]: Successfully made thread 7908 of process 7851 (n/a) owned by '1000' RT at priority 5.
Apr 1 09:49:43 v24 rtkit-daemon[1419]: Supervising 10 threads of 2 processes of 2 users.
Apr 1 09:49:43 v24 rtkit-daemon[1419]: Successfully made thread 7913 of process 7913 (n/a) owned by '1000' high priority at nice level -11.
Apr 1 09:49:43 v24 rtkit-daemon[1419]: Supervising 11 threads of 3 processes of 2 users.
Apr 1 09:49:43 v24 pulseaudio[7913]: [pulseaudio] pid.c: Daemon already running.
Apr 1 09:49:43 v24 rtkit-daemon[1419]: Successfully made thread 7915 of process 7915 (n/a) owned by '1000' high priority at nice level -11.
Apr 1 09:49:43 v24 rtkit-daemon[1419]: Supervising 12 threads of 4 processes of 2 users.
Apr 1 09:49:43 v24 pulseaudio[7915]: [pulseaudio] pid.c: Daemon already running.
Apr 1 09:49:43 v24 dbus[565]: [system] Activating service name='org.freedesktop.locale1' (using servicehelper)
Apr 1 09:49:43 v24 dbus[565]: [system] Successfully activated service 'org.freedesktop.locale1'
Apr 1 09:49:43 v24 colord: Device added: xrandr-Goldstar Company Ltd-E2750-010MAAKDF872
Apr 1 09:49:43 v24 colord: Automatic metadata add icc-6b6960b48cebea3c9fcce46bc55028fb to xrandr-Goldstar Company Ltd-E2750-010MAAKDF872
Apr 1 09:49:43 v24 colord: Profile added: icc-6b6960b48cebea3c9fcce46bc55028fb
我正在寻找有关如何开始调查正在发生的事情的建议。
更新
$ last -f /var/log/wtmp
valugi pts/4 :0 Thu Apr 7 15:22 still logged in
valugi pts/1 :0 Thu Apr 7 13:19 still logged in
valugi pts/17 :0 Thu Apr 7 13:03 - 13:04 (00:00)
valugi :0 :0 Thu Apr 7 13:03 still logged in
reboot system boot 3.13.0-85-generi Thu Apr 7 13:03 - 15:24 (02:21)
valugi pts/10 :0 Thu Apr 7 12:47 - 13:01 (00:13)
valugi pts/3 :0 Thu Apr 7 12:45 - 12:52 (00:06)
valugi :0 :0 Thu Apr 7 12:23 - down (00:37)
valugi pts/11 :0 Thu Apr 7 11:38 - 12:23 (00:44)
valugi pts/3 :0 Tue Apr 5 07:01 - 12:23 (2+05:22)
valugi pts/10 :0 Mon Apr 4 17:21 - 12:23 (2+19:01)
valugi :0 :0 Mon Apr 4 17:21 - 12:23 (2+19:01)
valugi pts/6 :0 Mon Apr 4 10:26 - 17:20 (06:53)
valugi pts/15 :0 Mon Apr 4 00:09 - 17:20 (17:11)
valugi pts/6 :0 Sun Apr 3 22:53 - 23:07 (00:13)
valugi pts/3 :0 Sun Apr 3 22:08 - 17:20 (19:12)
valugi :0 :0 Sun Apr 3 20:35 - 17:20 (20:45)
valugi pts/9 :0 Fri Apr 1 09:49 - 20:35 (2+10:45)
valugi :0 :0 Fri Apr 1 09:49 - 20:35 (2+10:45)
答案1
您可能需要查看其他日志以了解原因
退出后检查
tail /var/log/Xorg*log.old
要查看是否由于 GPU 驱动程序不良/硬件错误等原因导致 X-Server 崩溃,如果 x-server 崩溃,则默认行为是重新启动它,让您觉得您已被注销
您也可以检查显示管理器日志(注销后)/var/log/lightdm/lightdm.log.old
如果桌面登录时未发现任何错误,请启动终端并执行
dbus-monitor > ~/dbuslog.txt
崩溃后,您可以检查 dbuslog.txt 以查看是否通过 dbus 发送了任何注销信号
答案2
这是 AMD 机器吗?我在使用联想 AMD A8 6410 机器时也遇到过类似的问题。就我而言,问题出在显卡驱动程序上。