core: do not call GUI-related RPC services, when qrexec is not running
This commit is contained in:
parent
7265cb9d0f
commit
2eeea65ce6
@ -1578,6 +1578,9 @@ class QubesVm(object):
|
|||||||
if (retcode != 0) :
|
if (retcode != 0) :
|
||||||
raise QubesException("Cannot start qubes-guid!")
|
raise QubesException("Cannot start qubes-guid!")
|
||||||
|
|
||||||
|
if not self.is_qrexec_running():
|
||||||
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import qubes.monitorlayoutnotify
|
import qubes.monitorlayoutnotify
|
||||||
if verbose:
|
if verbose:
|
||||||
|
Loading…
Reference in New Issue
Block a user