Updated xorgxrdp to v0.2.12 and enabled glamor for hardware acceleration without VirtualGL
This commit is contained in:
19
README.md
19
README.md
@@ -1,9 +1,9 @@
|
||||
# Xubuntu on Docker
|
||||
|
||||
A Docker image based on Ubuntu 18.04 with Xfce desktop environment,
|
||||
[VirtualGL](https://github.com/VirtualGL/virtualgl),
|
||||
[XRDP](https://github.com/neutrinolabs/xrdp) and
|
||||
[XRDP PulseAudio module](https://github.com/neutrinolabs/pulseaudio-module-xrdp).
|
||||
A Docker image based on Ubuntu 18.04 with the Xfce desktop environment,
|
||||
[XRDP](https://github.com/neutrinolabs/xrdp),
|
||||
[XRDP PulseAudio module](https://github.com/neutrinolabs/pulseaudio-module-xrdp) and
|
||||
[VirtualGL](https://github.com/VirtualGL/virtualgl).
|
||||
|
||||
## Start an instance
|
||||
|
||||
@@ -11,17 +11,19 @@ A Docker image based on Ubuntu 18.04 with Xfce desktop environment,
|
||||
docker run --detach \
|
||||
--name xubuntu \
|
||||
--publish 3389:3389/tcp \
|
||||
--shm-size 2g \
|
||||
--device /dev/dri \
|
||||
hectormolinero/xubuntu:latest
|
||||
```
|
||||
|
||||
> You will be able to connect to the container via RDP through 3389/tcp port.
|
||||
|
||||
> **Important:** if you use the `--privileged` option the container will be able to use the GPU with
|
||||
VirtualGL, but this will conflict with the host X server.
|
||||
|
||||
> **Important:** some software (like Firefox) need the shared memory to be increased, if you
|
||||
encounter any problem related to this you may use the `--shm-size` option.
|
||||
|
||||
> **Important:** enabling VirtualGL support requires the `--privileged` option and the X server
|
||||
required for VirtualGL will conflict with the host X server.
|
||||
|
||||
## Environment variables
|
||||
|
||||
* `UNPRIVILEGED_USER_UID`: unprivileged user UID (`1000` by default).
|
||||
@@ -30,7 +32,8 @@ encounter any problem related to this you may use the `--shm-size` option.
|
||||
* `UNPRIVILEGED_USER_PASSWORD`: unprivileged user password (`password` by default).
|
||||
* `UNPRIVILEGED_USER_GROUPS`: unprivileged user groups (`audio,input,video` by default).
|
||||
* `UNPRIVILEGED_USER_SHELL`: unprivileged user shell (`/bin/bash` by default).
|
||||
* `DISABLE_GPU`: disable the GPU in the container (`false` by default).
|
||||
* `ENABLE_SSHD`: enable SSH server in the container (`false` by default).
|
||||
* `ENABLE_VIRTUALGL`: enable VirtualGL support in the container (`false` by default).
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user