Debian 8,/home/xxx 下的 .xsession-errors 文件体积已经达到了 11GB,还在不断增加中,应该如何从中提取有用的信息?

2017-03-02 02:08:04 +08:00
 qceytzn

这是桌面系统,大概十几天没有重启过机器,今天突然在屏幕右上角看到提示说根分区只剩下 900 多 M ,找了半天,发现是家目录下的.xsession-errors 文件在不断膨胀,从文件名来看既然这个文件在不断膨胀就说明不断有错误产生吧?我应该如何打开这个 11GB 多的 log 文件呢??

2261 次点击
所在节点    Linux
6 条回复
qceytzn
2017-03-02 02:31:52 +08:00
索性删了这个文件,重启系统之后又自动生成了,一开始只有几 KB 大小,打开看之后先解决了一个几个月之前的问题,然后后面不断冒出来的是如下内容:

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-places-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128
2017/03/02 02:26:20 stream opened

(nemo:1449): Gtk-WARNING **: Symbolic icon location-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-places-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128
Window manager warning: Log level 16: Symbolic icon /usr/share/cinnamon/applets/notifications@cinnamon.org/normal-notif-symbolic.svg is not in an icon theme directory

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2200004 (授权)
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2200004 (授权)

(nemo:1449): Gtk-WARNING **: Symbolic icon location-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-places-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-tree-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon sidebar-hide-symbolic-ltr of size 16 is in an icon theme directory of size 128

(nemo:1449): Gtk-WARNING **: Symbolic icon view-compact-symbolic-ltr of size 16 is in an icon theme directory of size 128

这些是啥意思呢?搜索不到相关的内容
doubleflower
2017-03-02 06:49:18 +08:00
我让他生成这个文件不就行了,如果使用没问题的话
petaflops
2017-03-02 10:42:21 +08:00
用 head 和 tail 查看,这种图形端的 warning 算不上错误,定期清除文件内容也不会有什么问题
ipchy
2017-03-02 14:07:21 +08:00
rm -f ~/.xsession-errors
ln -s /dev/null ~/.xsession-errors
这样不知道有没有用
qceytzn
2017-03-02 15:27:34 +08:00
@ipchy 普通用户有用 rm 和 ln 的权限吗?
ipchy
2017-03-02 16:12:00 +08:00
@qceytzn 可以啊

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/344223

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX