From 882e3126b46967e3fc6e421233dea3b22bbda8c2 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Mon, 31 Oct 2022 14:26:47 +0000 Subject: [PATCH] Remove listenaddress from sesman.ini --- Dockerfile | 1 + Dockerfile.aarch64 | 1 + Dockerfile.armhf | 1 + 3 files changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index d06370e..a500bf8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,6 +91,7 @@ RUN \ VERSION=$(ls -1 /usr/lib64/ | \ awk -F '-' '/pulse-/ {print $2; exit}') && \ ldconfig -n /usr/lib64/pulse-${VERSION}/modules && \ + sed -i 's/ListenAddress/;ListenAddress/' /etc/xrdp/sesman.ini && \ echo "**** cleanup and user perms ****" && \ echo "abc:abc" | chpasswd && \ usermod -s /bin/bash abc && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 0b1bfa3..834c6c4 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -87,6 +87,7 @@ RUN \ VERSION=$(ls -1 /usr/lib64/ | \ awk -F '-' '/pulse-/ {print $2; exit}') && \ ldconfig -n /usr/lib64/pulse-${VERSION}/modules && \ + sed -i 's/ListenAddress/;ListenAddress/' /etc/xrdp/sesman.ini && \ echo "**** cleanup and user perms ****" && \ echo "abc:abc" | chpasswd && \ usermod -s /bin/bash abc && \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 4cb0ef2..67c9b7d 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -87,6 +87,7 @@ RUN \ VERSION=$(ls -1 /usr/lib/ | \ awk -F '-' '/pulse-/ {print $2; exit}') && \ ldconfig -n /usr/lib/pulse-${VERSION}/modules && \ + sed -i 's/ListenAddress/;ListenAddress/' /etc/xrdp/sesman.ini && \ echo "**** cleanup and user perms ****" && \ echo "abc:abc" | chpasswd && \ usermod -s /bin/bash abc && \