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.
This commit is contained in:
Marek Marczykowski-Górecki 2013-11-26 16:53:26 +01:00
parent fa35b1dd55
commit 59b9e43060

View File

@ -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