[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[et-mgmt-tools] Virt-manager with VNC password

I've tried libvirt patch with VNC password for qemu and I've discovered that virt-manager can not login to console. When digging deeper I've found there is missing handler for onclick on login button on console-auth page. I am sending patch that is working for me although it would need some cleanup for sure.


--- b/details.py        2009-01-25 21:08:06.000000000 +0100
+++ a/details.py        2009-01-25 19:13:54.000000000 +0100
@@ -316,6 +316,8 @@
             "on_details_menu_send_caf11_activate": self.send_key,
             "on_details_menu_send_caf12_activate": self.send_key,
             "on_details_menu_send_printscreen_activate": self.send_key,
+           "on_console_auth_login_clicked": self.auth_login,

         self.vm.connect("status-changed", self.update_widget_states)
@@ -1745,6 +1747,11 @@
             self.err.show_err(_("Error Connecting CDROM: %s" % str(e)),

+    def auth_login(self, src):
+       self.set_password()
+       self.activate_viewer_page()
     def remove_device(self, dev_type, dev_id_info):
         logging.debug("Removing device: %s %s" % (dev_type, dev_id_info))

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]