From 59b9e43060c3b9bd717e9cc59979153f86f1b9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 26 Nov 2013 16:53:26 +0100 Subject: [PATCH] Fix VM autostart - set $DISPLAY env variable Without this, started qrexec-daemon would not have access to GUI, especially can't display Qubes RPC confirmation dialogs. --- linux/systemd/qubes-vm@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/systemd/qubes-vm@.service b/linux/systemd/qubes-vm@.service index 1770d6d9..ffa61763 100644 --- a/linux/systemd/qubes-vm@.service +++ b/linux/systemd/qubes-vm@.service @@ -4,6 +4,7 @@ After=qubes-netvm.service [Service] Type=oneshot +Environment=DISPLAY=:0 ExecStart=/usr/bin/qvm-start --no-guid %i Group=qubes RemainAfterExit=yes