← Back to team overview

desktop-packages team mailing list archive

Re: [Bug 611874] Re: lockup when xrandr changes display

 

Yes sorry, I don't have hardware to reproduce this with at the moment
since it was a company machine. When I do again I'll let you know.

On Tue, Aug 30, 2011 at 2:44 PM, Pedro Villavicencio <pedro@xxxxxxxxxx> wrote:
> We are closing this bug report because it lacks the information we need
> to investigate the problem, as described in the previous comments.
> Please reopen it if you can give us the missing information, and don't
> hesitate to submit bug reports in the future. To reopen the bug report
> you can click on the current status, under the Status column, and change
> the Status back to "New". Thanks again!
>
>
> ** Changed in: gnome-screensaver (Ubuntu)
>       Status: Incomplete => Expired
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/611874
>
> Title:
>  lockup when xrandr changes display
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/611874/+subscriptions
>

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/611874

Title:
  lockup when xrandr changes display

Status in “gnome-screensaver” package in Ubuntu:
  Expired

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/611874/+subscriptions


References