Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frispete:15.4:kvm
spice-vdagent
0001-Switch-to-spice-vdagent.service-by-default...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Switch-to-spice-vdagent.service-by-default.patch of Package spice-vdagent
From aa08162f036840d3e33502dc0a836b03b9cec97c Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fvogt@suse.de> Date: Wed, 8 Feb 2023 17:21:48 +0100 Subject: [PATCH] Switch to spice-vdagent.service by default Add an [Install] section to the user unit and tell systemd to ignore the .desktop file explicitly. Also add missing ordering dependencies. Without this, the service fails if it is started before e.g. $DISPLAY is set. --- data/spice-vdagent.desktop | 1 + data/spice-vdagent.service | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/data/spice-vdagent.desktop b/data/spice-vdagent.desktop index 4424061..729a5f6 100644 --- a/data/spice-vdagent.desktop +++ b/data/spice-vdagent.desktop @@ -7,3 +7,4 @@ Type=Application Categories= X-GNOME-Autostart-Phase=WindowManager NoDisplay=true +X-systemd-skip=true diff --git a/data/spice-vdagent.service b/data/spice-vdagent.service index a18f4ff..91734ff 100644 --- a/data/spice-vdagent.service +++ b/data/spice-vdagent.service @@ -1,5 +1,10 @@ [Unit] Description=Spice guest session agent +# Make sure the display is reachable +After=graphical-session.target [Service] ExecStart=/usr/bin/spice-vdagent -x + +[Install] +WantedBy=graphical-session.target -- 2.39.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor