From ad8f1b06b4672e4ab601c8cba6d8c4f38e97ecb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 30 Sep 2019 21:38:58 -0500 Subject: [PATCH] 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 --- qvm-tools/qvm-console-dispvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvm-tools/qvm-console-dispvm b/qvm-tools/qvm-console-dispvm index 6b792c37..d676b839 100755 --- a/qvm-tools/qvm-console-dispvm +++ b/qvm-tools/qvm-console-dispvm @@ -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