summaryrefslogtreecommitdiffstats
path: root/gdm/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'gdm/post-install')
-rwxr-xr-xgdm/post-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdm/post-install b/gdm/post-install
index b1a26c9..6f2753d 100755
--- a/gdm/post-install
+++ b/gdm/post-install
@@ -7,6 +7,9 @@ getent passwd gdm > /dev/null 2>&1 || /usr/sbin/useradd -c 'Gnome Display Manage
/bin/passwd -l gdm
/bin/chown -R gdm:gdm /var/lib/gdm
+# ajout au groupe video pour l'acceleration pour gdm-shell
+/usr/sbin/usermod gdm -G video -a
+
# corrige le répertoire de gdm
sed "s|gdm:x:21:21:GDM Daemon User:/dev/null:/sbin/nologin|gdm:x:21:21:GDM Daemon User:/var/lib/gdm:/sbin/nologin|" -i /etc/passwd