Ubuntu(14.04)突然退出

Ubuntu(14.04)突然退出

我的 Ubuntu 突然将我注销。我不知道该怎么办。有人能提供一些关于如何调试此行为的提示吗?我需要检查哪些文件?

以下是该命令的输出:

$ cat /var/log/Xorg.0.log.old| grep EE -B 5 -A 5
[ 22582.142] (II) Loading sub module "present"
[ 22582.142] (II) LoadModule: "present"
[ 22582.142] (WW) Warning, couldn't open module present
[ 22582.142] (II) UnloadModule: "present"
[ 22582.142] (II) Unloading present
[ 22582.142] (EE) intel: Failed to load module "present" (module does not exist, 0)
[ 22582.142] (II) UnloadModule: "modesetting"
[ 22582.142] (II) Unloading modesetting
[ 22582.142] (II) UnloadModule: "fbdev"
[ 22582.142] (II) Unloading fbdev
[ 22582.142] (II) UnloadSubModule: "fbdevhw"
--
[ 23655.752] (II) UnloadModule: "evdev"
[ 23655.753] (II) evdev: Video Bus: Close
[ 23655.753] (II) UnloadModule: "evdev"
[ 23655.753] (II) evdev: Power Button: Close
[ 23655.753] (II) UnloadModule: "evdev"
[ 23656.478] (EE) Server terminated successfully (0). Closing log file.

和这个:

$ dmesg| tail                                                                                                          
[13567.228768] usbcore: registered new interface driver wacom
[13567.228807] usbcore: registered new interface driver usbhid
[13567.228810] usbhid: USB HID core driver
[13836.584251] compiz[9120]: segfault at 48 ip 00007f4c6563e840 sp 00007fffc863dbc8 error 4 in libscale.so[7f4c6562d000+27000]
[15528.486221] systemd-hostnamed[22530]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[15841.471844] perf samples too long (5036 > 5000), lowering kernel.perf_event_max_sample_rate to 25000
[19499.929076] usb 3-1: USB disconnect, device number 2
[22240.250334] compiz[20690]: segfault at 48 ip 00007f721cd5b840 sp 00007fff7e524c28 error 4 in libscale.so[7f721cd4a000+27000]
[22600.030214] compiz[26873]: segfault at 48 ip 00007f3bc2bf2840 sp 00007ffd5fb39548 error 4 in libscale.so[7f3bc2be1000+27000]
[23675.347947] compiz[28719]: segfault at 48 ip 00007f433b912840 sp 00007ffd581733a8 error 4 in libscale.so[7f433b901000+27000]

答案1

dmesg当我发现一行内容时,我自己解决了这个问题

Warning: nss-myhostname is not installed

我安装了nss-myhostname它并解决了我的问题。也许这解决了问题,因为我总是使用 ssh 会话,而这个问题过去常常发生在我处于活动连接时。

相关内容