根据xorg.conf手册页,日志文件应该是The default log file is /var/log/Xorg.n.log on most platforms, where n is the display number of the Xorg server.
因为我只运行一个X实例,所以我希望显示号为0。
但是今天这两个文件都被修改了,他的/var/log/Xorg.0.log
似乎是当前的日志文件,因为/var/log/Xorg.1.log
以行结尾:
[SSSSSS.MMM] (II) Server terminated successfully (0). Closing log file.
那么,简单地说,为什么这里有2个日志文件?
(应要求)
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 8192 x 8192
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 367mm x 275mm
1600x1200 60.00*+
1280x1024 75.02 60.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
DP2 disconnected (normal left inverted right x axis y axis)
HDMI3 connected primary 1600x1200+0+0 (normal left inverted right x axis y axis) 367mm x 275mm
1600x1200 60.00*+
1280x1024 75.02 60.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
DP3 disconnected (normal left inverted right x axis y axis)
发布于 2017-10-24 14:39:55
xorg.conf手册页是正确的,另一个X服务器已经启动。
实际上,我在打开计算机时意外地更改了用户,并打开了一个来宾会话。这个会话启动了第二个X服务器,创建了/var/log/Xorg.1.log
文件。
https://askubuntu.com/questions/951260
复制相似问题