core-admin/linux/systemd/qubes-vm@.service
Marek Marczykowski-Górecki 48945a9d37 linux/systemd: prevent user login before VMs autostart
When user logins, login script will try to connect all guid to all the
running VMs. If VMs are still booting at this stage, will never
automatically get its guid (until user tries to start some program
there). This can for example lead to lack of nm-applet icon.
2015-04-12 03:11:03 +02:00

15 lines
251 B
Desktop File

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