2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/xorg/xorg-server/post-install
2020-03-17 13:33:30 +02:00

20 lines
439 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# Give Xorg setgid to /dev/input.
chown :input "$KISS_ROOT/usr/bin/Xorg"
chmod g+s "$KISS_ROOT/usr/bin/Xorg"
cat <<EOF
NOTE: You must be a part of the video group
for rootless xorg-server to work.
NOTE: This groups based permissions model may not
be suitable if KISS will be used as a multi
user system. Further configuration can be
done at your own discretion.
-> addgroup USER video
EOF