使用 XFCE,xscreensaver 喚醒並提示輸入密碼
當螢幕被阻止時,
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.
更新2016-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} 是每個id
from 的地方xinput list
。另外,我對帶有物理滑鼠和鍵盤id=0
的事件流也做了同樣的事情。id=1
出現密碼提示時,所有這些流都是空的。
我知道這是一個舊執行緒,但在小程序中禁用展示模式
xfce4-power-manager
修復了這個
由於我是新人,我無法添加評論並詢問您是否使用 XFCE4。我遇到了同樣的問題,並將問題跟踪到 xfce4-power-manager,導致了同樣的問題。
從 2016 年初開始,我開始收到報告稱,一個名為的程序
xfce4-power-manager
偶爾會失去理智,並認為您的螢幕永遠、永遠空白非常重要,並且它通過模擬虛假的 KeyPress 事件來做到這一點。我不知道為什麼。您最好的選擇是殺死和/或解除安裝該程序。Killing
xfce4-power-manager
解決了您遇到的問題,但我遇到了第二個 DPMS 無法正常工作的問題,您可以在此處看到: DPMS Stopped Working Arch (nvidia drivers - xfce4)