
我用來xscreensaver
鎖定螢幕。除此之外,我的顯示器在 30 分鐘不活動後進入「待機」狀態,也就是關閉顯示器。
我現在已經發生過兩次這種情況,我已經鎖定了螢幕,使用 xscreensaver-command --lock
幾個小時後回來並移動滑鼠時,顯示器從待機狀態恢復,但不是預期的 xscreensaver 登入窗口,而是直接進入我的螢幕。桌面會話- 無需進行身份驗證。
我不知道是否與電源管理功能有任何相關性,但以前當我不使用自動監視器暫停時,這種情況並沒有發生在我身上。
.Xauthority
另外,我家裡沒有任何文件,但再次不確定這是否相關。
我正在使用 Debian Wheezy 和 LXDE
有人可以建議如何調查這個問題嗎?
$ xdpyinfo
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 11204000
X.Org version: 1.12.4
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x1e00004, revert to Parent
number of extensions: 26
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
XVideo-MotionCompensation
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1920x1080 pixels (508x285 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x6f
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0x7a003c
ButtonPressMask ButtonReleaseMask EnterWindowMask
LeaveWindowMask StructureNotifyMask SubstructureNotifyMask
SubstructureRedirectMask FocusChangeMask PropertyChangeMask
number of visuals: 3
default visual id: 0x21
visual:
visual id: 0x21
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x22
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x6d
class: TrueColor
depth: 32 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
答案1
我肯定會說這聽起來像是個錯誤。我的建議是,如果您要使用 xscreensaver,請允許它處理電源管理。在命令列中鍵入xscreensaver-demo
,然後在 GUI 中轉到“高級”選項卡並確保選中“啟用電源管理”(也可以根據您的需求調整設定)。
另外,從命令列啟動 xscreensaverxscreensaver -log ~/xscreensaver.log
並查看發生這種情況時日誌中的內容。