mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
added group render mapping
This commit is contained in:
parent
7279ac22c1
commit
43091dcaed
2 changed files with 5 additions and 3 deletions
|
@ -91,6 +91,7 @@ msg_info "Setting Up kodi user"
|
|||
useradd -d /home/kodi -m kodi &>/dev/null
|
||||
gpasswd -a kodi audio &>/dev/null
|
||||
gpasswd -a kodi video &>/dev/null
|
||||
gpasswd -a kodi render &>/dev/null
|
||||
groupadd -r autologin &>/dev/null
|
||||
gpasswd -a kodi autologin &>/dev/null
|
||||
gpasswd -a kodi input &>/dev/null #to enable direct access to devices
|
||||
|
@ -165,7 +166,7 @@ __EOF__
|
|||
cat > /etc/systemd/system/lightdm.service.d/override.conf << __EOF__
|
||||
[Service]
|
||||
ExecStartPre=/bin/sh -c '/usr/local/bin/preX-populate-input.sh'
|
||||
SupplementaryGroups=video input audio tty
|
||||
SupplementaryGroups=video render input audio tty
|
||||
__EOF__
|
||||
systemctl daemon-reload
|
||||
msg_ok "Set up device detection for xorg"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue