Add missing source admin.vm.Console call in qvm-console-dispvm

Qrexec service called manually needs both source and destination

Fixes QubesOS/qubes-issues#5362
This commit is contained in:
Marek Marczykowski-Górecki 2019-09-30 21:38:58 -05:00
parent cc1ac0b859
commit ad8f1b06b4
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -19,4 +19,4 @@ DISPVM="$(qvm-prefs "$QREXEC_REQUESTED_TARGET" management_dispvm)"
[[ "x$DISPVM" == "x" ]] && { echo "Error: cannot determine management DispVM to use"; exit 1; }
sudo qvm-run -p --localcmd="QREXEC_REQUESTED_TARGET=$QREXEC_REQUESTED_TARGET /etc/qubes-rpc/admin.vm.Console" --service --dispvm="$DISPVM" -- qubes.ShowInTerminal
sudo qvm-run -p --localcmd="QREXEC_REQUESTED_TARGET=$QREXEC_REQUESTED_TARGET QREXEC_REMOTE_DOMAIN=dom0 /etc/qubes-rpc/admin.vm.Console" --service --dispvm="$DISPVM" -- qubes.ShowInTerminal