dom0: check if X server is available before starting guid (#377)
This commit is contained in:
父節點
99ffed089c
當前提交
f03152053b
@ -1145,7 +1145,8 @@ class QubesVm(object):
|
||||
self.force_shutdown()
|
||||
raise OSError ("ERROR: Cannot execute qrexec_daemon!")
|
||||
|
||||
self.start_guid(verbose=verbose)
|
||||
if subprocess.call('xprop -root >/dev/null 2>&1', shell=True) == 0:
|
||||
self.start_guid(verbose=verbose)
|
||||
|
||||
if preparing_dvm:
|
||||
if verbose:
|
||||
|
載入中…
新增問題並參考
Block a user