2019-10-24 08:44:54 -06:00
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
2020-02-06 06:43:32 -07:00
|
|
|
|
# Give Xorg setgid to /dev/input.
|
|
|
|
|
chown :input "$1/usr/bin/Xorg"
|
|
|
|
|
chmod g+s "$1/usr/bin/Xorg"
|
|
|
|
|
|
2019-10-24 08:44:54 -06:00
|
|
|
|
cat <<EOF
|
|
|
|
|
|
|
|
|
|
NOTE: You must be a part of the [1mvideo[m group
|
2019-11-05 14:42:57 -07:00
|
|
|
|
for rootless xorg-server to work.
|
2019-10-24 08:44:54 -06:00
|
|
|
|
|
2019-11-18 10:01:15 -07:00
|
|
|
|
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.
|
|
|
|
|
|
2019-10-24 08:44:54 -06:00
|
|
|
|
-> addgroup USER video
|
|
|
|
|
|
|
|
|
|
EOF
|