From 2eeea65ce601a4ed8d8d57635373eb6f7949a3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 4 Mar 2015 02:18:46 +0100 Subject: [PATCH] core: do not call GUI-related RPC services, when qrexec is not running --- core-modules/000QubesVm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index f18437c8..69a14f05 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -1578,6 +1578,9 @@ class QubesVm(object): if (retcode != 0) : raise QubesException("Cannot start qubes-guid!") + if not self.is_qrexec_running(): + return + try: import qubes.monitorlayoutnotify if verbose: