kiss-mfavila-small/core-mod/xorg/xorg-server/post-install

20 lines
439 B
Plaintext
Raw Normal View History

#!/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