diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/common-wayland.post | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/common-wayland.post b/scripts/common-wayland.post index 40f4597..b1e71ad 100644 --- a/scripts/common-wayland.post +++ b/scripts/common-wayland.post @@ -1,8 +1,8 @@ #!/bin/sh echo "#################### common-wayland.post ##################" -# add 'app' and other users to display group -for user in alice bob carol guest app; do +# add users to display group +for user in alice bob carol guest; do if generic_base_user_exists $user; then /usr/sbin/groupmod -A $user display fi @@ -12,7 +12,7 @@ done # graphical sessions) unitdir=/usr/lib/systemd/system mkdir -p $unitdir/graphical.target.wants -for user in app alice bob carol guest; do +for user in alice bob carol guest; do generic_base_user_exists $user || continue uid=$(getent passwd $user|cut -f3 -d':') ln -s ../user-session-launch@.service $unitdir/graphical.target.wants/user-session-launch@seat0-$uid.service |