core: do not call GUI-related RPC services, when qrexec is not running

This commit is contained in:
Marek Marczykowski-Górecki 2015-03-04 02:18:46 +01:00
parent 7265cb9d0f
commit 2eeea65ce6

View File

@ -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: