Skip to content

Instantly share code, notes, and snippets.

@jkirk
Last active July 15, 2017 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkirk/9cb469e00cb5ad19b31c39fcd04f407a to your computer and use it in GitHub Desktop.
Save jkirk/9cb469e00cb5ad19b31c39fcd04f407a to your computer and use it in GitHub Desktop.
cinnamon-screensaver does not lock screen / show no password prompt when user interface scaling is set to Hi-DPI
% cinnamon-screensaver --version
cinnamon-screensaver 3.4.1
% xrandr
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 8192 x 8192
LVDS1 connected (normal left inverted right x axis y axis)
1366x768 60.02 +
1360x768 59.80 59.96
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
3840x2160 30.00* 25.00 24.00 29.97 23.98 29.98
1920x2160 59.99
1920x1080 59.99 60.00 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 74.98 59.89
1280x960 60.00
1280x720 60.00 50.00 59.94
1024x768 75.08 60.00
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DP3 disconnected (normal left inverted right x axis y axis)
### System Settings -> General -> User interface scaling -> Hi-DPI
% cinnamon-screensaver --debug
Debug mode active
Cinnamon Screensaver support not found in current theme - adding some...
Trying to connect to logind...
Starting screensaver...
Successfully using logind
### locked screen with cinnamon-screensaver-command -l
Found 1 Xinerama screens on display :0
Monitor 0 is 0,0 3840 x 2160
Cinnamon Screensaver compiled without Solaris Xinerama support
Scale factor of 2 applied. Monitor 0 is 0,0 1920 x 1080
### desktop can be seen, can switch windows via taskbar but can not focus windows, no password prompt
### -> pressing a keyboard button, trying to enter password without password dialog
authClient initialize... initialized already: False
pam_start ("cinnamon-screensaver", "jkirk", ...) ==> 0 (Success)
Handling message style 1: 'Password: '
Waiting for respose to message style 1: 'Password: '
Waiting for lock
Waiting for response
Got message style 1: 'Password: '
Output from pam helper: 'CS_PAM_AUTH_SET_PROMPT_Password: _'
authClient idle add auth-prompt
Output from pam helper: ''
Output from pam helper: 'CS_PAM_AUTH_BUSY_FALSE'
authClient idle add auth-busy
Output from pam helper: ''
(cinnamon-screensaver-main.py:19522): Gtk-WARNING **: Symbolic icon screensaver-unlock-symbolic-ltr of size 16 is in an icon theme directory of size 128
(cinnamon-screensaver-main.py:19522): Gtk-WARNING **: Symbolic icon screensaver-switch-users-symbolic-ltr of size 16 is in an icon theme directory of size 128
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient message to child
authClient initialize... initialized already: True
auth_message_handler processing response string
should interrupt: 0
Got response
Got respose to message style 1: interrupt:0
Msg handler returned 1
Output from pam helper: 'CS_PAM_AUTH_BUSY_TRUE'
authClient idle add auth-busy
Output from pam helper: ''
(cinnamon-screensaver-main.py:19522): Gtk-WARNING **: Symbolic icon screensaver-unlock-symbolic-ltr of size 16 is in an icon theme directory of size 128
(cinnamon-screensaver-main.py:19522): Gtk-WARNING **: Symbolic icon screensaver-switch-users-symbolic-ltr of size 16 is in an icon theme directory of size 128
pam_authenticate (...) ==> 0 (Success)
pam_acct_mgmt (...) ==> 0 (Success)
pam_setcred (...) ==> 0 (Success)
pam_end (...) ==> 0 (Success)
Verify user returned: TRUE
Output from pam helper: 'CS_PAM_AUTH_SUCCESS'
authClient idle add success
Output from pam helper: ''
authClient message to child
authClient helper process completed...
### desktop unlocked
### changing setting System Settings -> General -> User interface scaling -> change Hi-DPI to Normal
### locked screen with cinnamon-screensaver-command -l
Found 1 Xinerama screens on display :0
Monitor 0 is 0,0 3840 x 2160
Cinnamon Screensaver compiled without Solaris Xinerama support
Scale factor of 1 applied. Monitor 0 is 0,0 3840 x 2160
### lock screen appeared with password prompt
### -> entering password
Found 1 Xinerama screens on display :0
Monitor 0 is 0,0 3840 x 2160
Cinnamon Screensaver compiled without Solaris Xinerama support
Scale factor of 1 applied. Monitor 0 is 0,0 3840 x 2160
authClient initialize... initialized already: False
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
pam_start ("cinnamon-screensaver", "jkirk", ...) ==> 0 (Success)
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
Handling message style 1: 'Password: '
Waiting for respose to message style 1: 'Password: '
Waiting for lock
Waiting for response
Got message style 1: 'Password: '
Output from pam helper: 'CS_PAM_AUTH_SET_PROMPT_Password: _'
authClient idle add auth-prompt
Output from pam helper: 'CS_PAM_AUTH_BUSY_FALSE'
authClient idle add auth-busy
Output from pam helper: ''
authClient initialize... initialized already: True
(cinnamon-screensaver-main.py:19522): Gtk-WARNING **: Symbolic icon screensaver-unlock-symbolic-ltr of size 16 is in an icon theme directory of size 128
(cinnamon-screensaver-main.py:19522): Gtk-WARNING **: Symbolic icon screensaver-switch-users-symbolic-ltr of size 16 is in an icon theme directory of size 128
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient initialize... initialized already: True
authClient message to child
authClient initialize... initialized already: True
auth_message_handler processing response string
should interrupt: 0
Got response
Got respose to message style 1: interrupt:0
Msg handler returned 1
Output from pam helper: 'CS_PAM_AUTH_BUSY_TRUE'
authClient idle add auth-busy
Output from pam helper: ''
(cinnamon-screensaver-main.py:19522): Gtk-WARNING **: Symbolic icon screensaver-unlock-symbolic-ltr of size 16 is in an icon theme directory of size 128
(cinnamon-screensaver-main.py:19522): Gtk-WARNING **: Symbolic icon screensaver-switch-users-symbolic-ltr of size 16 is in an icon theme directory of size 128
pam_authenticate (...) ==> 0 (Success)
pam_acct_mgmt (...) ==> 0 (Success)
pam_setcred (...) ==> 0 (Success)
pam_end (...) ==> 0 (Success)
Verify user returned: TRUE
Output from pam helper: 'CS_PAM_AUTH_SUCCESS'
authClient idle add success
Output from pam helper: ''
authClient message to child
authClient helper process completed...
### desktop unlocked
### exit screenscaver with cinnamon-screensaver-command -e
Traceback (most recent call last):
File "/usr/share/cinnamon-screensaver/util/trackers.py", line 142, in _cleanup_disposed
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/usr/share/cinnamon-screensaver/util/trackers.py", line 142, in _cleanup_disposed
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/usr/share/cinnamon-screensaver/util/trackers.py", line 142, in _cleanup_disposed
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/usr/share/cinnamon-screensaver/util/trackers.py", line 142, in _cleanup_disposed
TypeError: 'NoneType' object is not callable
Error in sys.excepthook:
Original exception was:
Error in sys.excepthook:
Original exception was:
Error in sys.excepthook:
Original exception was:
Error in sys.excepthook:
Original exception was:
Error in sys.excepthook:
Original exception was:
Error in sys.excepthook:
Original exception was:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment