Base: Run SpiceAgent as a user service

This allows it to read/write to the user's clipboard properly. Prior to
this, it would be writing to the Clipboard server running under the
window user, which doesn't impact other users (like anon).

Co-authored-by: Daniel Bertalan <dani@danielbertalan.dev>
This commit is contained in:
Caoimhe 2023-05-12 17:42:08 +01:00 committed by Sam Atkins
parent aece6555e7
commit d7b067e8f7
Notes: sideshowbarker 2024-07-17 05:19:06 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -59,9 +59,6 @@ User=root
WorkingDirectory=/root/
SystemModes=generate-manpages
[SpiceAgent]
KeepAlive=false
[LoginServer]
User=root
Arguments=--auto-login anon

View file

@ -129,3 +129,6 @@ WorkingDirectory=/home/anon
[CrashDaemon]
KeepAlive=true
[SpiceAgent]
KeepAlive=false