--- uvmm/node.py.bak 2014-10-09 10:10:40.632510736 +0200 +++ uvmm/node.py 2014-10-09 11:34:36.680505335 +0200 @@ -781,11 +781,15 @@ continue if gfx.type != Graphic.TYPE_VNC: continue - if gfx.listen != '0.0.0.0': + if gfx.listen == '0.0.0.0': + kvmvncaddr = self.pd.name + elif gfx.listen == None: + kvmvncaddr = '127.0.0.1' + else: continue if gfx.port <= 0: continue - print >> tmp_file, '%s: %s:%d' % (uuid, self.pd.name, gfx.port) + print >> tmp_file, '%s: %s:%d' % (uuid, kvmvncaddr, gfx.port) os.rename(tmp_file.name, path) def wait_update(self, domain, state_key, timeout=10):