Ticket #1013 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Screen won't redraw when nologin-monitor window vanishes

Reported by: jdreed Owned by:
Priority: normal Milestone: Natty Release
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

This was initially observed on granola. I couldn't repro it, but just observed it on 2 760s in the wild today.

I... have no idea what's going on, since this is essentially "window.hide()" not working. It has to be a PyGtk?/GTK bug.

Change History

comment:1 Changed 10 years ago by jdreed

To clarify, I saw this on m56-129-2 and -3. Geoff said he might debug and try to repro this. I still can't repro it, but here's my current bad idea:

Index: athena-auto-update
===================================================================
--- athena-auto-update	(revision 25339)
+++ athena-auto-update	(working copy)
@@ -55,6 +55,20 @@
   fi
 }
 
+maybe_kickgdm() {
+  ttys=$(w -h -s | awk '{print $2}')
+  for tty in $ttys; do
+    pids=$(ps --no-heading -j -t "$tty" 2>/dev/null \
+        | awk '($1 == $3) {print $1}')
+    if [ -n "$pids" ]; then
+      return
+    fi
+  done
+  [ -e /var/run/athena-login ] && return
+  rm -f /var/run/athena-nologin
+  service gdm restart
+}
+
 SKIP_REBOOT="n"
 DEBUG="n"
 VERBOSE="n"
@@ -351,4 +365,5 @@
 fi
 
 maybe_reboot
+maybe_kickgdm
 exit

comment:2 Changed 10 years ago by jdreed

alexp saw this on cheshire-cat too

comment:3 Changed 10 years ago by jdreed

  • Status changed from new to development

Geoff tracked this down to stupidity involving gnome-screensaver. Committed in r25359 and built in gdm-config 1.31 now in -dev

comment:4 Changed 10 years ago by jdreed

  • Status changed from development to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.