From 8d46f30b473e501bbd4e7c8aa9c326240f38f6e0 Mon Sep 17 00:00:00 2001 From: technorabilia Date: Tue, 8 Mar 2022 00:44:50 +0000 Subject: [PATCH] Workflow update --- lsio/rdesktop/docker-compose.yaml | 9 ++++++--- lsio/rdesktop/docker-run.sh | 7 ++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lsio/rdesktop/docker-compose.yaml b/lsio/rdesktop/docker-compose.yaml index f5f724f..3ee933b 100644 --- a/lsio/rdesktop/docker-compose.yaml +++ b/lsio/rdesktop/docker-compose.yaml @@ -1,5 +1,6 @@ -# [Rdesktop](http://xrdp.org/) - Ubuntu based containers containing full desktop -# environments in officially supported flavors accessible via RDP. +# [Rdesktop](http://xrdp.org/) - Containers containing full desktop environments +# in many popular flavors for Alpine, Ubuntu, Arch, and Fedora accessible via +# RDP. --- version: "2.1" @@ -7,7 +8,6 @@ services: rdesktop: image: ghcr.io/linuxserver/rdesktop container_name: rdesktop - privileged: true # optional environment: # for GroupID - PUID=${PUID:-1024} @@ -23,5 +23,8 @@ services: ports: # RDP access port - 3389:3389 + devices: + # Add this for GL support (Linux hosts only) + - /dev/dri:/dev/dri # optional shm_size: "1gb" # optional restart: unless-stopped diff --git a/lsio/rdesktop/docker-run.sh b/lsio/rdesktop/docker-run.sh index e9a74a8..17eed48 100644 --- a/lsio/rdesktop/docker-run.sh +++ b/lsio/rdesktop/docker-run.sh @@ -1,16 +1,17 @@ -# [Rdesktop](http://xrdp.org/) - Ubuntu based containers containing full desktop -# environments in officially supported flavors accessible via RDP. +# [Rdesktop](http://xrdp.org/) - Containers containing full desktop environments +# in many popular flavors for Alpine, Ubuntu, Arch, and Fedora accessible via +# RDP. source ./.env docker run -d \ --name=rdesktop \ - --privileged `# optional` \ -e PUID=${PUID:-1024} `# for GroupID` \ -e PGID=${PGID:-100} `# for UserID` \ -e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \ -p 3389:3389 `# RDP access port` \ -v /var/run/docker.sock:/var/run/docker.sock `# optional` `# Docker Socket on the system, if you want to use Docker in the container` \ -v ${BASEDIR:-/volume1/docker}/rdesktop/config:/config `# optional` `# abc users home directory` \ + --device /dev/dri:/dev/dri `# optional` `# Add this for GL support (Linux hosts only)` \ --shm-size="1gb" `# optional` \ --restart unless-stopped \ ghcr.io/linuxserver/rdesktop