core-admin/linux/systemd/qubes-vm@.service
Marek Marczykowski-Górecki 59b9e43060 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.
2013-11-26 16:53:26 +01:00

14 lines
222 B
Desktop File

[Unit]
Description=Start Qubes VM %i
After=qubes-netvm.service
[Service]
Type=oneshot
Environment=DISPLAY=:0
ExecStart=/usr/bin/qvm-start --no-guid %i
Group=qubes
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target