There's a trivial bug in the latest virt-manager hg: --- src/vncViewer/vnc.py~ 2007-02-15 17:54:59.000000000 -0700 +++ src/vncViewer/vnc.py 2007-02-15 17:55:06.000000000 -0700 @@ -424,7 +424,7 @@ def set_autograb_keyboard(self, grab): self.autograbkey = grab - if grab == False and grabbedKeyboard: + if grab == False and self.grabbedKeyboard: self.ungrab_keyboard()