Skip to content

Releases: mviereck/x11docker

v4.3.2

03 Jun 22:03
Compare
Choose a tag to compare

4.3.2 - 2018-06-03

Changed

  • x11docker-gui is interactive now. Live preview of generated command.
    Starting multiple x11docker instances possible. Copy-to-clipboard button.
  • x11docker-gui: create list of installed images every time x11docker
    or x11docker-gui runs and has enough permissions. Image list is used in
    x11docker-gui in image combo.
  • --cleanup: Running as root not mandatory.
  • --clipboard: support xsel additional to xclip.

Fixed

  • Starting in pure Wayland environments failed (regression in v4.3.0).
  • --wayland, --weston, --kwin in pure Wayland: detect screen size.

v4.3.1

29 May 15:30
Compare
Choose a tag to compare

4.3.1 - 2018-05-29

Changed

  • --auto: prefer --nxagent over --xpra and --xephyr. Reasons:
    Faster startup than --xpra. Flexible display size opposed to --xephyr.
    Since Ubuntu 18.04 available to broader range of users than before.
  • --runfromhost can be specified multiple times now.
  • --runasroot can be specified multiple times now.
  • --dbus-system and init systems: remove useless or failing dbus services.
  • --systemd: mask some useless or failing units.
  • set DISPLAY, XAUTHORITY, WAYLAND_DISPLAY and XDG_RUNTIME_DIR
    in docker run command for easier custom use of docker exec.

Fixed

  • --xpra: Deny to start xpra >2.2.5 and <r19519 due to MIT-SHM bug.
    Show message that startup is only possible with --hostipc.
    xpra bugticket: https://xpra.org/trac/ticket/1858
  • --xpra: Warning and workaround for cookie bug in xpra >=v2.3.
    xpra bugticket: https://www.xpra.org/trac/ticket/1859
  • --xpra in desktop mode: Allow closing client window, don't restart.

v4.3.0

26 May 11:18
Compare
Choose a tag to compare

4.3.0 - 2018-05-26

Added

  • --stdin: Forward stdin of x11docker to image command.
  • --showpid1: Echo host PID of container PID 1 on stdout.

Changed

  • --security-opt=no-new-privileges for init systems and --dbus-system.
    Now default for all options except --sudouser and --cap-default.
  • --dbus-system and init system options: Run all except a few dbus
    system services manually and show security warning message. Manual
    start needed due to no-new-privileges, polkit setuid helper fails.
  • Minimize or delete /etc/pam.d/su and delete /etc/pam.d/sudo.
    Avoids security leak that would allow switching to root in container
    if PAM configuration allows it and capabilities for su are given.
  • Remove /bin/sh -c from extracted CMD image command.
  • Regard WORKDIR in image, use it instead of HOME. (#45)
  • Logfile handling with fifo/named pipe.
  • --auto: Tightened dependency check.
  • Improved process watching using less resources. Faster shutdown.
  • x11docker-gui: New structure using tabs.
  • Some code cleanup.

Fixed

  • Don't set -title in Xephyr command. Xephyr bug: Releasing keyboard
    and mouse after grab (ctrl+shift) does not work with -title. (#44)
  • --nxagent: Fixed keyboard layout issue, don't use setxkbmap.
  • --nxagent: Regard --keymap.
  • --nxagent: Removed extension Composite, caused some issues.
  • --exe: Don't pass file descriptors to host executeable.
  • --wayland Works with prissy GTK3 applications (e.g. xfce4-terminal) again,
    needed user switching in --dbus-system for unknown reasons.
  • --showid failed with sudo due to missing file descriptors. Using mkfifo now.
  • Don't forward stdin as default, can cause trouble if empty. use --stdin instead.
  • --xorg: disable screen saver (#46)

v4.2.1

10 May 11:05
Compare
Choose a tag to compare

4.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 --tmpfs /tmp --tmpfs /run --tmpfs /var/run --tmpfs /run/lock.
    (#43)
  • Some internal improvements for faster startup and shutdown.

Fixed

  • x11docker-gui: fixed x11docker startup failure due to changed stdout output.

v4.2.0

04 May 21:31
Compare
Choose a tag to compare

4.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.
    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 automated installation of NVIDIA drivers in container.
    Limited to glibc based image systems. (#41)
  • elogind support for --sysvinit, --openrc and --runit.
    See also elogind in container: elogind#52
  • --systemd: If host does not run systemd, create /sys/fs/cgroup/systemd.
  • --dbus-system: wait for bus socket to be ready before continuing.
  • --tini: Use tini-static from ~/.local/share/x11docker or
    /usr/local/share/x11docker if available. Show message for this possibility
    if /usr/bin/docker-init is missing. (Widespread docker packaging issue).
    (#23)
  • Avoid user switching except for --systemd, --sysvinit, --openrc and
    --runit. (#42)
  • Outsourced x11docker.png from x11docker-gui.
  • No default output of container ID on stdout anymore. Use --showid instead.
  • --silent: Do not show error messages except in logfile.
  • --weston[-xwayland] --fullscreen: Use X backend if possible to prevent
    possible crash with nested fullscreen weston in host drm weston.
  • Disabled forwarding of stdin to container, has not been reliable.

Deprecated

  • --add changed its option name to --runfromhost.

Fixed

  • Don't share or link /tmp/.Xn-lock as usefulness is in doubt.
    Avoids issues with x11docker/xwayland.
  • --stdout --showid: Make sure container ID is shown first.

v4.1.1

12 Apr 00:41
Compare
Choose a tag to compare

Changed

  • Mount nothing into /tmp as init cleanups may try (and fail) to delete it.
  • Write or link into /tmp only after possible init cleanup.
  • Mount X socket r/w again as there is no longer a risk due to /tmp cleanups.
  • --debug: Some changes for more useful debugging output. Drop set -x in main code, instead set -Eu with trap ERR.
  • --update/--update-master: Show excerpt of CHANGELOG.md.
  • Check ENTRYPOINT for init entries /tini|/init|/systemd and disable it if x11docker already runs an init. (Default: --tini.)

Fixed

  • x11docker-gui regards new output of container ID now that confused output of x11docker/kaptain and prevented start of x11docker.
  • Mount WAYLAND_DISPLAY and DISPLAY at / instead of /x11docker/ in container.
    Avoids a docker bug that only sometimes causes startup failure stat /run/user/1000/wayland-600: no such file or directory.
    Occasionally docker is confused about a mount point inside of a mount point. Avoiding that now.
    However, issue only seen with shared Wayland sockets and never with X sockets, maybe due to different option positions in docker run command.
  • --workdir: Avoid double setting of --workdir in docker command if x11docker option --workdir is set. Caused no trouble, though.

v4.1.0

08 Apr 12:30
Compare
Choose a tag to compare

Added

  • --update-master updates to lastest x11docker master version. (Formerly job of --update).

Changed

  • --update updates to latest x11docker release on github. (Formerly: latest master version).

v4.0.0

07 Apr 20:59
Compare
Choose a tag to compare

[4.0.0] - 2018-04-07

Changed