Seungmin Kim 1 년 전
부모
커밋
ae6a2fc65f
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      README.md
  2. 1 1
      supervisord.conf

+ 1 - 1
README.md

@@ -29,7 +29,7 @@ The KasmVNC interface can be enabled in place of Selkies-GStreamer by setting `K
 
 ### Running with Docker
 
-1. Run the container with Docker, Podman, or other NVIDIA-supported container runtimes:
+1. Run the container with Docker, Podman, or other NVIDIA-supported container runtimes ([NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) required):
 
 ```
 docker run --pull=always --name selkies-xgl -it -d --gpus 1 --tmpfs /dev/shm:rw -e TZ=UTC -e DISPLAY_SIZEW=1920 -e DISPLAY_SIZEH=1080 -e DISPLAY_REFRESH=60 -e DISPLAY_DPI=96 -e DISPLAY_CDEPTH=24 -e VIDEO_PORT=DFP -e PASSWD=mypasswd -e SELKIES_ENCODER=nvh264enc -e SELKIES_BASIC_AUTH_PASSWORD=mypasswd -p 8080:8080 ghcr.io/selkies-project/nvidia-glx-desktop:latest

+ 1 - 1
supervisord.conf

@@ -38,7 +38,7 @@ autorestart=true
 priority=1
 
 [program:dbus]
-command=bash -c "dbus-daemon --session --nosyslog --address=\"${DBUS_SESSION_BUS_ADDRESS}\""
+command=bash -c "until [ -d "${XDG_RUNTIME_DIR}" ]; do sleep 0.5; done; dbus-daemon --session --nosyslog --address=\"${DBUS_SESSION_BUS_ADDRESS}\""
 environment=DISPLAY="%(ENV_DISPLAY)s",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",DBUS_SESSION_BUS_ADDRESS="%(ENV_DBUS_SESSION_BUS_ADDRESS)s"
 stdout_logfile=/tmp/dbus.log
 stdout_logfile_maxbytes=5MB