Define uid range for greeter
In multi-seat scenarios, a display manager might need to start multiple greeter sessions. But systemd allows at most one graphical session per user. So, display managers now have a range of UIDs to dynamically allocate users for their greeter sessions.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
2dcf0ee0ef
commit
554130faf3
@@ -129,5 +129,5 @@ bool uid_for_system_journal(uid_t uid) {
|
||||
|
||||
/* Returns true if the specified UID shall get its data stored in the system journal. */
|
||||
|
||||
return uid_is_system(uid) || uid_is_dynamic(uid) || uid == UID_NOBODY || uid_is_container(uid) || uid_is_foreign(uid);
|
||||
return uid_is_system(uid) || uid_is_dynamic(uid) || uid_is_greeter(uid) || uid == UID_NOBODY || uid_is_container(uid) || uid_is_foreign(uid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user