diff --git a/virtManager/console.py b/virtManager/console.py index 22cd989f0..dd9baae14 100644 --- a/virtManager/console.py +++ b/virtManager/console.py @@ -652,11 +652,6 @@ class vmmConsolePages(vmmGObjectUI): "guest's listen address." % ginfo.transport)) return - if not ginfo.console_active(): - self._activate_unavailable_page( - _("Graphical console is not yet active for guest")) - return - self._activate_unavailable_page( _("Connecting to graphical console for guest")) diff --git a/virtManager/sshtunnels.py b/virtManager/sshtunnels.py index 4fe8c3f10..d49346b8c 100644 --- a/virtManager/sshtunnels.py +++ b/virtManager/sshtunnels.py @@ -98,12 +98,6 @@ class ConnectionInfo(object): (self.gtype, self.transport, self._connhost, self.connuser, self._connport, self.gaddr, self.gport, self.gtlsport, self.gsocket)) - def console_active(self): - if self.gsocket: - return True - if (self.gport in [None, -1] and self.gtlsport in [None, -1]): - return False - return True class _TunnelScheduler(object):