Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Beginners • Re: starting systemd service after GUI is up

$
0
0
Just a though and pure speculation but does the following help with the sound issue:

Code:

sudo loginctl enable-linger pi
enable-linger [USER…], disable-linger [USER…]
Enable/disable user lingering for one or more users. If enabled for a specific user, a user manager is spawned for the user at boot and kept around after logouts. This allows users who are not logged in to run long-running services. Takes one or more user names or numeric UIDs as argument. If no argument is specified, enables/disables lingering for the user of the session of the caller.

Might help if it's a timing issue.

Statistics: Posted by thagrol — Sat Jan 17, 2026 12:25 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles