Public bug reported:

Binary package hint: gnome-screensaver

To reproduce, use two monitors.

1. Use xrandr to turn 1 ON and 2 OFF
2. go to screensaver/lock screen
3. Use xrandr to turn 1 OFF and 2 ON  (i have a udev rule for this, a keyboard 
shortcut would also work)
4. The lock dialog can not be seen.  Typing in the password blindly does not 
help.  Using xrandr to turn 1 ON and 2 OFF again does not change this. 
Switching to a VT and killing gnome-screensaver is the only way to log in.


This may be a duplicate from another bug, if someone did not realize xrandr 
interaction was causing the problem.


my udev rule:

$ cat /etc/udev/rules.d/98-video.rules

SUBSYSTEM=="drm", \
ACTION=="change", \
DEVNAME=="/dev/dri/card0", \
RUN+="/usr/local/bin/toggle-display :0"

and the helper script:

$ cat /usr/local/bin/toggle-display
#!/bin/sh

test -z "$1" || export DISPLAY=$1

if xrandr|grep "VGA1 connected" 2>&1 >/dev/null; then
    ON=VGA1
    OFF=LVDS1
else
    ON=LVDS1
    OFF=VGA1
fi

xrandr --output $ON --auto --primary --output $OFF --off

** Affects: gnome-screensaver (Ubuntu)
     Importance: Undecided
         Status: New

-- 
lockup when xrandr changes display
https://bugs.launchpad.net/bugs/611874
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to