Skip to content

Commit

Permalink
Update Selkies-GStreamer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd committed Sep 6, 2023
1 parent c7eb790 commit 4923dd1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
wmctrl \
jq \
gdebi-core \
glib-networking \
libopus0 \
libgdk-pixbuf2.0-0 \
libgtk2.0-bin \
libgl-dev \
Expand All @@ -400,18 +398,22 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
xserver-xorg-core \
wayland-protocols \
libwayland-dev \
libwayland-egl-backend-dev \
libwayland-egl1 \
libx11-xcb1 \
libxkbcommon0 \
libxdamage1 \
libxml2-dev \
libwebrtc-audio-processing1 \
libsoup2.4-1 \
libsoup-gnome2.4-1 \
libsrtp2-1 \
libcairo-gobject2 \
lame \
libopus0 \
libwebrtc-audio-processing1 \
pulseaudio \
libpulse0 \
libcairo-gobject2 \
libpangocairo-1.0-0 \
libgirepository1.0-dev \
libgirepository1.0-1 \
libopenjp2-7 \
libjpeg-dev \
libwebp-dev \
libvpx-dev \
Expand Down
7 changes: 5 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ echo -e "Section \"ServerFlags\"\n Option \"AutoAddGPU\" \"false\"\nEndSectio
# Default display is :0 across the container
export DISPLAY=":0"
# Run Xorg server with required extensions
Xorg vt7 -noreset -novtswitch -sharevts -dpi "${DPI}" +extension "GLX" +extension "RANDR" +extension "RENDER" +extension "MIT-SHM" "${DISPLAY}" &
/usr/bin/Xorg vt7 -noreset -novtswitch -sharevts -dpi "${DPI}" +extension "GLX" +extension "RANDR" +extension "RENDER" +extension "MIT-SHM" "${DISPLAY}" &

# Wait for X11 to start
echo "Waiting for X socket"
Expand All @@ -121,13 +121,16 @@ echo "X socket is ready"
# Run the x11vnc + noVNC fallback web interface if enabled
if [ "${NOVNC_ENABLE,,}" = "true" ]; then
if [ -n "$NOVNC_VIEWPASS" ]; then export NOVNC_VIEWONLY="-viewpasswd ${NOVNC_VIEWPASS}"; else unset NOVNC_VIEWONLY; fi
x11vnc -display "${DISPLAY}" -passwd "${BASIC_AUTH_PASSWORD:-$PASSWD}" -shared -forever -repeat -xkb -snapfb -threads -xrandr "resize" -rfbport 5900 ${NOVNC_VIEWONLY} &
/usr/local/bin/x11vnc -display "${DISPLAY}" -passwd "${BASIC_AUTH_PASSWORD:-$PASSWD}" -shared -forever -repeat -xkb -snapfb -threads -xrandr "resize" -rfbport 5900 ${NOVNC_VIEWONLY} &
/opt/noVNC/utils/novnc_proxy --vnc localhost:5900 --listen 8080 --heartbeat 10 &
fi

# Start KDE desktop environment
/usr/bin/dbus-launch /usr/bin/startplasma-x11 &

# Start Fcitx input method framework
/usr/bin/fcitx &

# Add custom processes right below this line, or within `supervisord.conf` to perform service management similar to systemd

echo "Session Running. Press [Return] to exit."
Expand Down

0 comments on commit 4923dd1

Please sign in to comment.