xscreensaver は、モニターのスタンバイ モードから戻った後、ロックされた画面を自動的にロック解除することがあります。

xscreensaver は、モニターのスタンバイ モードから戻った後、ロックされた画面を自動的にロック解除することがあります。

画面をロックするために使用していますxscreensaver。さらに、30 分間操作がないと、モニターは「スタンバイ」状態、つまりディスプレイがオフになります。

これまでに 2 回、 を使って画面をロックし 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 で [詳細設定] タブに移動して、[電源管理を有効にする] がオンになっていることを確認します (また、設定を希望どおりに調整します)。

同様に、コマンドラインから xscreensaver を起動しxscreensaver -log ~/xscreensaver.log、この問題が発生したときにログに何が記録されるかを確認します。

関連情報