[PATCH]: virt-manager: Hint about ssh-askpass | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi, this came in via: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513599 It adds a hint about ssh-askpass if using ssh protocoll fails. Patch by Sebastian Andrzej Siewior. Cheers, -- Guido
diff -r e03490a72a2e src/virtManager/connection.py
--- a/src/virtManager/connection.py Mon Feb 09 14:55:18 2009 -0500
+++ b/src/virtManager/connection.py Fri Feb 13 14:50:42 2009 +0100
@@ -431,13 +431,19 @@
else:
self.state = self.STATE_DISCONNECTED
+ if self.uri.find("+ssh://") > 0:
+ hint = "\nMaybe you need to install ssh-askpass " + \
+ "in order to authenticate."
+ else:
+ hint = ""
+
(_type, value, stacktrace) = open_error
# Detailed error message, in English so it can be Googled.
self.connectError = \
("Unable to open connection to hypervisor URI '%s':\n" %
str(self.uri)) + \
str(_type) + " " + str(value) + "\n" + \
- traceback.format_exc (stacktrace)
+ traceback.format_exc (stacktrace) + hint
logging.error(self.connectError)
# We want to kill off this thread asap, so schedule a gobject
_______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools
[Home] [Fedora Users] [Fedora Legacy List] [Fedora Maintainers] [Fedora Desktop] [Red Hat 9 Bible] [Fedora Bible] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]