qvm-run-vm: wait for X11 in DispVM case
qvm-run-vm cannot make a separate qubes.WaitForSession call for a DispVM. Instead, pass the new WaitForSession argument to qubes.VMShell, which will do the equivalent.
This commit is contained in:
parent
72fef1ee4c
commit
6c2b9fd638
@ -49,4 +49,10 @@ elif [ "$VMNAME" = "" ] ; then
|
||||
print_usage
|
||||
exit 1
|
||||
fi
|
||||
exec /usr/lib/qubes/qrexec-client-vm "$VMNAME" qubes.VMShell "/usr/lib/qubes/qrun-in-vm" "$@"
|
||||
|
||||
service="qubes.VMShell"
|
||||
case "$VMNAME" in \$dispvm|\$dispvm:*)
|
||||
service="$service+WaitForSession"
|
||||
esac
|
||||
|
||||
exec /usr/lib/qubes/qrexec-client-vm "$VMNAME" "$service" "/usr/lib/qubes/qrun-in-vm" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user