Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   Virt-manager with VNC password (http://www.linux-archive.org/fedora-linux-management-tools/234396-virt-manager-vnc-password.html)

Radek Hladik 01-25-2009 07:18 PM

Virt-manager with VNC password
 
Hallo,
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.


Radek


--- 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)),
"".join(traceback.format_exc()))

+ 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))

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Cole Robinson 01-26-2009 03:18 PM

Virt-manager with VNC password
 
Radek Hladik wrote:
> Hallo,
> 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.
>

Great! Thanks for testing this. I've committed the patch with some small
changes:

http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-manager--devel/rev/af46e2829552

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 05:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.