当屏幕被遮挡时,xscreensaver
(版本 5.35)密码提示会弹出,无需任何鼠标/触摸板移动。它只是出现,时间一到就闪烁(还有一条消息,如“PAM 超时被取消”)并再次出现。然后重复循环。
我尝试重新安装它,但没有帮助。我4.7.6-1-ARCH
在笔记本电脑上使用 Arch ( )。
这是日志消息(我xscreensaver:
在所有行的开头删除了)。我没有触发的事件是ClientMessage
在 10:48:47:
10:48:29: 0: grabbing keyboard on 0xd4... AlreadyGrabbed.
10:48:30: 0: grabbing keyboard on 0xd4... GrabSuccess.
10:48:30: 0: grabbing mouse on 0xd4... GrabSuccess.
10:48:47: DEACTIVATE ClientMessage received.
10:48:47: user is active (ClientMessage)
10:48:47: pam_start ("xscreensaver", "xenohunter", ...) ==> 0 (Success)
10:48:47: pam_set_item (p, PAM_TTY, ":0.0") ==> 0 (Success)
10:48:47: pam_authenticate (...) ...
10:48:47: pam_conversation (ECHO_OFF="Password: ") ...
10:48:47: 0: mouse is at 1047,514.
10:48:47: 0: creating password dialog ("")
10:48:47: grabbing server...
10:48:47: 0: ungrabbing mouse (was 0xd4).
10:48:47: 0: grabbing mouse on 0x140003c... GrabSuccess.
10:48:47: ungrabbing server.
10:49:17: input timed out.
10:49:17: pam_conversation (...) ==> PAM_CONV_ERR
10:49:17: pam_authenticate (...) ==> 20 (Authentication token manipulation error)
10:49:17: pam_end (...) ==> 0 (Success)
10:49:17: authentication via PAM timed out.
10:49:17: grabbing server...
10:49:17: 0: ungrabbing mouse (was 0x140003c).
10:49:17: 0: grabbing mouse on 0xd4... GrabSuccess.
10:49:17: ungrabbing server.
10:49:17: 0: moving mouse back to 1047,514.
10:49:17: discarding MotionNotify event.
10:49:17: 0: destroying password dialog.
UPD2016-10-11
我打印journalctl -p 3 -xb
并得到了大量这样的行:
Oct 08 14:02:57 regulus xscreensaver[12913]: pam_unix(xscreensaver:auth): conversation failed
Oct 08 14:02:57 regulus xscreensaver[12913]: pam_unix(xscreensaver:auth): auth could not identify password for [xenohunter]
Oct 08 14:03:37 regulus xscreensaver[12913]: pam_unix(xscreensaver:auth): conversation failed
Oct 08 14:03:37 regulus xscreensaver[12913]: pam_unix(xscreensaver:auth): auth could not identify password for [xenohunter]
Oct 08 14:04:17 regulus xscreensaver[12913]: pam_unix(xscreensaver:auth): conversation failed
Oct 08 14:04:17 regulus xscreensaver[12913]: pam_unix(xscreensaver:auth): auth could not identify password for [xenohunter]
Oct 08 14:04:57 regulus xscreensaver[12913]: pam_unix(xscreensaver:auth): conversation failed
Oct 08 14:04:57 regulus xscreensaver[12913]: pam_unix(xscreensaver:auth): auth could not identify password for [xenohunter]
周期始终为 40 秒,这很可能是密码提示再次出现的时间。
我做了evtest /dev/input/event${X}
${X} 是 every id
from 的地方xinput list
。另外,我对物理鼠标和键盘的事件流id=0
也做了同样的事情。id=1
当出现密码提示时,所有这些流都是空的。
答案1
答案2
由于我是新人,我无法添加评论并询问您是否正在使用 XFCE4。我遇到了同样的问题,并将问题跟踪到 xfce4-power-manager,导致了同样的问题。
从 2016 年初开始,我开始收到报告称,一个名为 的程序
xfce4-power-manager
偶尔会失去理智,并认为让您的屏幕永远永远不会空白非常重要,它通过模拟各处的虚假 KeyPress 事件来做到这一点。我不知道为什么。您最好的选择是杀死和/或卸载该程序。
Killingxfce4-power-manager
解决了您遇到的问题,但我还有 DPMS 无法正常工作的第二个问题,您可以在此处看到: DPMS 停止工作 Arch(nvidia 驱动程序 - xfce4)
答案3
我在笔记本电脑上使用 XFCE 在 Arch Linux 4.14.15-1 上遇到了同样的问题。我进入设置编辑器并将所有 xfce4-power-man 设置重置为其默认值。问题就消失了。