Skip to content

Commit

Permalink
v4.2.1 release
Browse files Browse the repository at this point in the history
## Added
 - Forward `stdin` of x11docker to container command with a named pipe/fifo.
## Changed
 - `x11docker-gui`: Use stdin for kaptain grammar transmission. Don't use cache.
 - `--dbus-system`: Don't create `--tmpf /tmp --tmpfs /run --tmpfs /var/run --tmpfs /run/lock`.
   [(#43)](#43)
 - Some internal improvements for faster startup and shutdown.
### Fixed
 - `x11docker-gui`: fixed x11docker startup failure due to changed stdout output.
  • Loading branch information
mviereck committed May 10, 2018
1 parent 210485c commit af491fe
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 156 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

Project website: https://github.com/mviereck/x11docker

## [4.2.1](https://github.com/mviereck/x11docker/releases/tag/v4.2.1) - 2018-05-10
## Added
- Forward `stdin` of x11docker to container command with a named pipe/fifo.
## Changed
- `x11docker-gui`: Use stdin for kaptain grammar transmission. Don't use cache.
- `--dbus-system`: Don't create `--tmpf /tmp --tmpfs /run --tmpfs /var/run --tmpfs /run/lock`.
[(#43)](https://github.com/mviereck/x11docker/issues/43)
- Some internal improvements for faster startup and shutdown.
### Fixed
- `x11docker-gui`: fixed x11docker startup failure due to changed stdout output.

## [4.2.0](https://github.com/mviereck/x11docker/releases/tag/v4.2.0) - 2018-05-04
### Added
- `--group-add`: New option to add groups to container user.
Needed instead of ` -- --group-add` to cover user switching setups, too.
- `--showid`: New option to show container ID on stdout.
- `--runfromhost`: Replaces deprecated `--add` to have a meaningful option name.
- `--runasroot`: New option to run command as root in container on startup.
Similar to already existing `--exe`, but integrates with container.
- `--runasroot`: New option to run command as root in container on startup.
### Changed
- `--gpu`: Support for automatical installation of NVIDIA drivers in container.
Limited to `glibc` based image systems.
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ For troubleshooting, run `x11docker` or `x11docker-gui` in a terminal.
- Option `--debug` can provide additional informations.
- Use options `--stdout --stderr --silent` to get application output only.
- You can find the latest dispatched logfile at `~/.cache/x11docker/x11docker.log`.
- Make sure your x11docker version is up to date with `x11docker --update` (latest release) or `x11docker --update-master` (latest beta).
- Some applications need more privileges or capabilities than x11docker provides as default.
- Reduce container isolation with options `--hostipc --hostnet --cap-default --sys-admin` and try again. If the application runs, reduce this insecure options to encircle the issue.
- You can run container application as root with `--user=root`.
Expand All @@ -146,7 +147,7 @@ x11docker checks dependencies for chosen options on startup and shows terminal m

_Basics:_
- If no additional X server is installed, only less isolated option `--hostdisplay` will work out of the box within X, and option `--xorg` from console. (To use `--xorg` within X, look at [setup for option --xorg](#setup-for-option---xorg)).
- As a **well working base** for convenience and security, it is recommended to install `xpra` and `Xephyr`.
- As a **well working base** for convenience and security, it is recommended to install `xpra` (seamless applications) and `Xephyr` (desktop mode).
- It is recommended to use latest stable xpra version from [http://xpra.org](http://xpra.org/).
- Alternativly, you can install `nxagent` for both seamless and desktop mode.
- Already installed on most systems with an X server: `xrandr`, `xauth` and `xdpyinfo`.
Expand All @@ -159,7 +160,7 @@ _Advanced usage:_
- Option `--pulseaudio` needs `pulseaudio` on host _and_ in image.
- **Hardware acceleration** with option `--gpu`
- Works best with open source drivers on host and OpenGL/Mesa in image. In most cases everything will work out of the box with just setting `--gpu`.
- To provide good X isolation: Beside `xpra`, also install `Xwayland`, `weston` and `xdotool` on host. Without these, you still can use `--hostdisplay` and `--xorg`.
- To provide good X isolation: Beside `xpra`, also install `Xwayland`, `weston` and `xdotool` on host. Without these, you still can use `--gpu` with `--hostdisplay` and `--xorg`.
- Packages for OpenGL/Mesa in image:
- debian and Ubuntu images: `mesa-utils mesa-utils-extra`.
- CentOS and fedora images: `glx-utils mesa-dri-drivers`
Expand Down
Loading

0 comments on commit af491fe

Please sign in to comment.