diff --git a/src/virtManager/create.py b/src/virtManager/create.py index d4d8bdcec..172faf7c8 100644 --- a/src/virtManager/create.py +++ b/src/virtManager/create.py @@ -1601,7 +1601,7 @@ class vmmCreate(vmmGObjectUI): if self.config.get_console_popup() == 1: # user has requested console on new created vms only gtype = vm.get_graphics_console()[0] - if gtype == "vnc": + if gtype in ["vnc", "spice"]: self.emit("action-show-console", self.conn.get_uri(), guest.uuid) else: diff --git a/src/virtManager/manager.py b/src/virtManager/manager.py index ca7a84c57..a18d9604a 100644 --- a/src/virtManager/manager.py +++ b/src/virtManager/manager.py @@ -721,7 +721,7 @@ class vmmManager(vmmGObjectUI): if self.config.get_console_popup() == 2 and not vm.is_management_domain(): # user has requested consoles on all vms gtype = vm.get_graphics_console()[0] - if gtype == "vnc": + if gtype in ["vnc", "spice"]: self.emit("action-show-console", uri, vmuuid) elif not connection.is_remote(): self.emit("action-show-terminal", uri, vmuuid)