console: Fix connecting to VNC over unix socket

This commit is contained in:
Cole Robinson 2011-02-24 11:25:58 -05:00
parent acb765f0b9
commit 4c2399b195
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ class vmmConsolePages(vmmGObjectUI):
self.activate_unavailable_page(msg)
return
if gport == -1:
if (gport == -1 and not gsocket):
self.activate_unavailable_page(
_("Graphical console is not yet active for guest"))
self.schedule_retry()