Updated xorgxrdp to v0.2.12 and enabled glamor for hardware acceleration without VirtualGL

This commit is contained in:
Héctor Molinero Fernández
2019-12-12 16:19:01 +01:00
parent 57d9bb76ce
commit 7f737322b0
6 changed files with 86 additions and 55 deletions

View File

@@ -33,9 +33,14 @@ unset UNPRIVILEGED_USER_PASSWORD
# Dump environment variables
export-env > /etc/profile.d/env.sh
# Disable xdummy if there is no graphics card
if [ "${DISABLE_GPU:?}" = 'true' ] || [ ! -d /dev/dri/ ]; then
unlink /etc/service/xdummy
# Enable sshd service if ENABLE_SSHD is true
if [ "${ENABLE_SSHD:?}" = 'true' ]; then
ln -s /etc/sv/sshd /etc/service/
fi
# Enable xdummy service if ENABLE_VIRTUALGL is true
if [ "${ENABLE_VIRTUALGL:?}" = 'true' ]; then
ln -s /etc/sv/xdummy /etc/service/
fi
# Create RANDFILE if it does not exist