Просмотр исходного кода

Mise à jour de 'desktop-entrypoint.sh'

penta 1 месяц назад
Родитель
Сommit
0a42be6615
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      desktop-entrypoint.sh

+ 5 - 1
desktop-entrypoint.sh

@@ -174,7 +174,11 @@ if ! pgrep -x steam >/dev/null 2>&1; then
 	sleep 10
     
     echo "[desktop] Starting Steam in background..."
-    steam -silent >/home/ubuntu/.steam-startup.log 2>&1 &
+    setpriv \
+        --inh-caps=-all \
+        --ambient-caps=-all \
+        --bounding-set=-all \
+        steam -silent >/home/ubuntu/.steam-startup.log 2>&1 &
 fi
 
 # Keep the Supervisor program alive for the lifetime of the desktop session.