diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index e8d9b6ce..8e9978a8 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -2017,6 +2017,11 @@ class QubesVm(object): # preparing DispVM, where it isn't needed because of "invisible" # mode start_guid = False + if start_guid and 'DISPLAY' not in os.environ: + if verbose: + print >> sys.stderr, \ + "WARNING: not starting GUI, because DISPLAY not set" + start_guid = False if start_guid: self.start_guid(verbose=verbose, notify_function=notify_function,