
systemd-user-sessions.service is specicically for that, do not use hack (plymouth-quit.service), which doesn't work when the service is disabled. Fixes QubesOS/qubes-issues#1250
15 lines
259 B
Desktop File
15 lines
259 B
Desktop File
[Unit]
|
|
Description=Start Qubes VM %i
|
|
After=qubes-netvm.service
|
|
Before=systemd-user-sessions.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=DISPLAY=:0
|
|
ExecStart=/usr/bin/qvm-start --no-guid %i
|
|
Group=qubes
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|