dom0: check if X server is available before starting guid (#377)

This commit is contained in:
Marek Marczykowski 2011-12-05 13:42:07 +01:00
父節點 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: