Bug 31020 - Не подключается к vnc
Summary: Не подключается к vnc
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: virt-manager (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL: https://www.redhat.com/archives/virt-...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 12:27 MSK by Chess
Modified: 2015-05-20 14:45 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chess 2015-05-20 12:27:19 MSK
--- sshtunnels.py.orig  2015-05-20 12:25:31.489187479 +0300
+++ sshtunnels.py       2015-05-20 12:24:59.432816091 +0300
@@ -48,6 +48,8 @@
             self._connhost = "127.0.0.1"
 
     def _is_listen_localhost(self, host=None):
+        if host:
+            host = socket.gethostbyname(host)
         return ipaddr.IPNetwork(host or self.gaddr).is_loopback
 
     def _is_listen_any(self)
Comment 1 Alexey Shabalin 2015-05-20 14:45:27 MSK
исправлено в virt-manager-1.2.0-alt2