Switch headless display stack to Xorg dummy.

Replace Xvfb with Xorg dummy and mount /run/udev so Sunshine virtual input devices target the streamed X session instead of the host console.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-19 02:48:28 +03:00
parent 10ee14233b
commit 88b48e1796
3 changed files with 44 additions and 3 deletions

View File

@@ -44,6 +44,7 @@ services:
volumes:
- /DATA/AppData/game-server/players/p1_steam:/home/steam/.local/share/Steam
- /DATA/AppData/game-server/players/p1_config:/root/.config/sunshine
- /run/udev:/run/udev:ro
# Добавляем логирование для отладки
logging:
driver: "json-file"
@@ -67,6 +68,7 @@ services:
volumes:
- /DATA/AppData/game-server/players/p2_steam:/home/steam/.local/share/Steam
- /DATA/AppData/game-server/players/p2_config:/root/.config/sunshine
- /run/udev:/run/udev:ro
logging:
driver: "json-file"
options:
@@ -89,6 +91,7 @@ services:
volumes:
- /DATA/AppData/game-server/players/p3_steam:/home/steam/.local/share/Steam
- /DATA/AppData/game-server/players/p3_config:/root/.config/sunshine
- /run/udev:/run/udev:ro
logging:
driver: "json-file"
options:
@@ -111,6 +114,7 @@ services:
volumes:
- /DATA/AppData/game-server/players/p4_steam:/home/steam/.local/share/Steam
- /DATA/AppData/game-server/players/p4_config:/root/.config/sunshine
- /run/udev:/run/udev:ro
logging:
driver: "json-file"
options: