#1004091 Starts user services

Package:
lightdm
Source:
lightdm
Description:
simple display manager
Submitter:
Yuri D'Elia
Date:
2022-01-25 09:45:03 UTC
Severity:
normal
#1004091#5
Date:
2022-01-20 18:03:04 UTC
From:
To:
The user which is running lightdm starts all "user" services which are
enabled by default, which might include pipewire (and I guess
pulseaudio), gnupg.. synchthing.

I find this behavior undersiderable. pipewire/pulseaudio could probably
by used by the theme to provide audio in the session, but most other
services only make sense for a real user.

It seems like lightdm might befinit from a strictly defined list of
services instead of starting a full-fledged user session that results in
this behavior.

#1004091#10
Date:
2022-01-24 17:24:18 UTC
From:
To:
Hi,

I assume you're talking about systemd user services or something? I don't
think there's any specific code in lightdm about starting manually pulseaudio,
pipewire or anything, so I don't think there's a way to special cases some
thing.

Regards,

#1004091#15
Date:
2022-01-24 17:37:47 UTC
From:
To:
Yes, the issue is that lightdm starts automatically all systemd's user
services (anything which is installed in the default.target in
/usr/lib/systemd/user/) probably because it is creating a full user
session?

#1004091#20
Date:
2022-01-25 09:40:30 UTC
From:
To:
Is there anything else than “a full user session”. I don't think lightdm has
any specific support for user session so it's likely started through other
means.

Regards,