diff --git a/CHANGELOG.md b/CHANGELOG.md index 41d38f9..2cfb528 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ *** +### Release 20.02.1 + +- **xubuntu-vnc-novnc** + - **gdebi** utility for installing local `.deb` packages added + - auto-starting again: + - AT-SPI D-Bus Bus + - all other images inherit the above changes +- Updated version: + - Chromium Browser **80.0.3987.87** + - Firefox **73.0** +- **README** updated (better explanation of default passwords) +- container screenshots updated + ### Release 20.02 - Updated versions: diff --git a/docker/xubuntu-vnc-novnc-chromium/README.md b/docker/xubuntu-vnc-novnc-chromium/README.md index cbad098..ca58cf1 100644 --- a/docker/xubuntu-vnc-novnc-chromium/README.md +++ b/docker/xubuntu-vnc-novnc-chromium/README.md @@ -15,6 +15,12 @@ *** +**WARNING** for Windows users + +**Docker Desktop** (Docker for Windows) version **2.2.0.0** has introduced a new way of working with host's files. Unfortunately even the current version **2.2.0.3** leaves several issues with **bind mounts** unresolved. For example, I've found that **Firefox profiles** stored in bound host's folders don't persist modifications correctly. Firefox profiles stored in containers itself (writable layer) or on Docker managed volumes work correctly. If you need to use bind mounts, I wouldn't recommend upgrading to version 2.2 yet, because downgrading is not possible. The only way is to completely re-install the last working version **2.1.0.5**. However, you'll loose all the images and containers, so backup them first. + +*** + This repository contains resources for building Docker images based on [Ubuntu][docker-ubuntu] with [Xfce][xfce] desktop environment, [VNC][tigervnc]/[noVNC][novnc] servers for headless use and the current [Chromium][chromium] web browser. The images are part of the growing [image hierarchy][this-wiki-image-hierarchy] and they are based on [accetto/xubuntu-vnc-novnc][accetto-docker-xubuntu-vnc-novnc]. They inherit all the features and therefore not the whole description will be repeated here. @@ -22,6 +28,7 @@ The images are part of the growing [image hierarchy][this-wiki-image-hierarchy] The `latest` image inherits among others - utilities **ping**, **wget**, **zip**, **unzip**, **sudo**, [curl][curl], [git][git] (Ubuntu distribution) +- utility **gdebi** lets you install local `.deb` packages resolving and installing their dependencies (Ubuntu distribution) - current version of JSON processor [jq][jq] - popular text editor [vim][vim] (Ubuntu distribution) - lite but advanced graphical editor [mousepad][mousepad] (Ubuntu distribution) @@ -158,6 +165,6 @@ Credit goes to all the countless people and companies, who contribute to open so -[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-chromium79.0.3945.130/blue +[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-chromium80.0.3987.87/blue [badge-github-commit-latest]: https://images.microbadger.com/badges/commit/accetto/xubuntu-vnc-novnc-chromium.svg diff --git a/docker/xubuntu-vnc-novnc-chromium/hooks/env b/docker/xubuntu-vnc-novnc-chromium/hooks/env index 27766f1..b10db1e 100644 --- a/docker/xubuntu-vnc-novnc-chromium/hooks/env +++ b/docker/xubuntu-vnc-novnc-chromium/hooks/env @@ -11,7 +11,7 @@ BASETAG="" TODAY=$(date +%Y-%m-%d) ### Warning! The values must be explicit strings (used by utils). -VERSION_STICKER_LATEST="ubuntu18.04.3-chromium79.0.3945.130" +VERSION_STICKER_LATEST="ubuntu18.04.3-chromium80.0.3987.87" VERSION_STICKER="${VERSION_STICKER_LATEST}" diff --git a/docker/xubuntu-vnc-novnc-chromium/src/startup/version_sticker.sh b/docker/xubuntu-vnc-novnc-chromium/src/startup/version_sticker.sh index 2ad30dc..dd886e4 100644 --- a/docker/xubuntu-vnc-novnc-chromium/src/startup/version_sticker.sh +++ b/docker/xubuntu-vnc-novnc-chromium/src/startup/version_sticker.sh @@ -18,6 +18,7 @@ case "$1" in novnc=$("${STARTUPDIR}/version_of.sh" novnc) websockify=$("${STARTUPDIR}/version_of.sh" websockify) curl=$("${STARTUPDIR}/version_of.sh" curl) + gdebi=$("${STARTUPDIR}/version_of.sh" gdebi) git=$("${STARTUPDIR}/version_of.sh" git) jq=$("${STARTUPDIR}/version_of.sh" jq) echo "Ubuntu $ubuntu" @@ -29,6 +30,7 @@ case "$1" in echo "Ristretto $ristretto" echo "xfce4-screenshooter $screenshooter" echo "curl $curl" + echo "gdebi $gdebi" echo "Git $git" echo "jq $jq" echo "Chromium $chromium" diff --git a/docker/xubuntu-vnc-novnc-chromium/xubuntu-vnc-novnc-chromium.jpg b/docker/xubuntu-vnc-novnc-chromium/xubuntu-vnc-novnc-chromium.jpg index 9e41cdd..a4e5c80 100644 Binary files a/docker/xubuntu-vnc-novnc-chromium/xubuntu-vnc-novnc-chromium.jpg and b/docker/xubuntu-vnc-novnc-chromium/xubuntu-vnc-novnc-chromium.jpg differ diff --git a/docker/xubuntu-vnc-novnc-firefox/README.md b/docker/xubuntu-vnc-novnc-firefox/README.md index 9c5530a..f58fadf 100644 --- a/docker/xubuntu-vnc-novnc-firefox/README.md +++ b/docker/xubuntu-vnc-novnc-firefox/README.md @@ -15,6 +15,12 @@ *** +**WARNING** for Windows users + +**Docker Desktop** (Docker for Windows) version **2.2.0.0** has introduced a new way of working with host's files. Unfortunately even the current version **2.2.0.3** leaves several issues with **bind mounts** unresolved. For example, I've found that **Firefox profiles** stored in bound host's folders don't persist modifications correctly. Firefox profiles stored in containers itself (writable layer) or on Docker managed volumes work correctly. If you need to use bind mounts, I wouldn't recommend upgrading to version 2.2 yet, because downgrading is not possible. The only way is to completely re-install the last working version **2.1.0.5**. However, you'll loose all the images and containers, so backup them first. + +*** + This repository contains resources for building Docker images based on [Ubuntu][docker-ubuntu] with [Xfce][xfce] desktop environment, [VNC][tigervnc]/[noVNC][novnc] servers for headless use and the current [Firefox Quantum][firefox] web browser. The main image is a streamlined and simplified version of my other image [accetto/ubuntu-vnc-xfce-firefox-plus][accetto-docker-ubuntu-vnc-xfce-firefox-plus]. The applicable **plus** features have been re-implemented because **Firefox v67** handles user profiles differently. @@ -24,6 +30,7 @@ The images are part of the growing [image hierarchy][this-wiki-image-hierarchy] The `latest` image inherits among others - utilities **ping**, **wget**, **zip**, **unzip**, **sudo**, [curl][curl], [git][git] (Ubuntu distribution) +- utility **gdebi** lets you install local `.deb` packages resolving and installing their dependencies (Ubuntu distribution) - current version of JSON processor [jq][jq] - popular text editor [vim][vim] (Ubuntu distribution) - lite but advanced graphical editor [mousepad][mousepad] (Ubuntu distribution) @@ -243,18 +250,18 @@ Credit goes to all the countless people and companies, who contribute to open so -[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox72.0.2/blue +[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox73.0/blue [badge-github-commit-latest]: https://images.microbadger.com/badges/commit/accetto/xubuntu-vnc-novnc-firefox.svg -[badge-VERSION_STICKER_DEFAULT]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox72.0.2/blue +[badge-VERSION_STICKER_DEFAULT]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox73.0/blue [badge-github-commit-default]: https://images.microbadger.com/badges/commit/accetto/xubuntu-vnc-novnc-firefox:default.svg -[badge-VERSION_STICKER_MULTIPROCESS]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox72.0.2/blue +[badge-VERSION_STICKER_MULTIPROCESS]: https://badgen.net/badge/version%20sticker/ubuntu18.04.3-firefox73.0/blue [badge-github-commit-multiprocess]: https://images.microbadger.com/badges/commit/accetto/xubuntu-vnc-novnc-firefox:multiprocess.svg diff --git a/docker/xubuntu-vnc-novnc-firefox/hooks/env b/docker/xubuntu-vnc-novnc-firefox/hooks/env index b5002ab..8dc1bf2 100644 --- a/docker/xubuntu-vnc-novnc-firefox/hooks/env +++ b/docker/xubuntu-vnc-novnc-firefox/hooks/env @@ -11,9 +11,9 @@ TODAY=$(date +%Y-%m-%d) VERSION_STICKER="" ### Warning! The values must be explicit strings (used by utils). -VERSION_STICKER_LATEST="ubuntu18.04.3-firefox72.0.2" -VERSION_STICKER_DEFAULT="ubuntu18.04.3-firefox72.0.2" -VERSION_STICKER_MULTIPROCESS="ubuntu18.04.3-firefox72.0.2" +VERSION_STICKER_LATEST="ubuntu18.04.3-firefox73.0" +VERSION_STICKER_DEFAULT="ubuntu18.04.3-firefox73.0" +VERSION_STICKER_MULTIPROCESS="ubuntu18.04.3-firefox73.0" case "${DOCKER_TAG}" in diff --git a/docker/xubuntu-vnc-novnc-firefox/src/startup/version_sticker.sh b/docker/xubuntu-vnc-novnc-firefox/src/startup/version_sticker.sh index 5ee3337..2abb1d4 100644 --- a/docker/xubuntu-vnc-novnc-firefox/src/startup/version_sticker.sh +++ b/docker/xubuntu-vnc-novnc-firefox/src/startup/version_sticker.sh @@ -18,6 +18,7 @@ case "$1" in novnc=$("${STARTUPDIR}/version_of.sh" novnc) websockify=$("${STARTUPDIR}/version_of.sh" websockify) curl=$("${STARTUPDIR}/version_of.sh" curl) + gdebi=$("${STARTUPDIR}/version_of.sh" gdebi) git=$("${STARTUPDIR}/version_of.sh" git) jq=$("${STARTUPDIR}/version_of.sh" jq) echo "Ubuntu $ubuntu" @@ -29,6 +30,7 @@ case "$1" in echo "Ristretto $ristretto" echo "xfce4-screenshooter $screenshooter" echo "curl $curl" + echo "gdebi $gdebi" echo "Git $git" echo "jq $jq" echo "Firefox $firefox" diff --git a/docker/xubuntu-vnc-novnc-firefox/xubuntu-vnc-novnc-firefox.jpg b/docker/xubuntu-vnc-novnc-firefox/xubuntu-vnc-novnc-firefox.jpg index e4be413..04d2862 100644 Binary files a/docker/xubuntu-vnc-novnc-firefox/xubuntu-vnc-novnc-firefox.jpg and b/docker/xubuntu-vnc-novnc-firefox/xubuntu-vnc-novnc-firefox.jpg differ diff --git a/docker/xubuntu-vnc-novnc/Dockerfile b/docker/xubuntu-vnc-novnc/Dockerfile index cea2503..d637b7a 100644 --- a/docker/xubuntu-vnc-novnc/Dockerfile +++ b/docker/xubuntu-vnc-novnc/Dockerfile @@ -30,6 +30,7 @@ RUN apt-get update && apt-get install -y \ vim \ zip \ curl \ + gdebi-core \ git \ wget \ && apt-get -y autoremove \ diff --git a/docker/xubuntu-vnc-novnc/README.md b/docker/xubuntu-vnc-novnc/README.md index 880b45f..fee674d 100644 --- a/docker/xubuntu-vnc-novnc/README.md +++ b/docker/xubuntu-vnc-novnc/README.md @@ -15,6 +15,12 @@ *** +**WARNING** for Windows users + +**Docker Desktop** (Docker for Windows) version **2.2.0.0** has introduced a new way of working with host's files. Unfortunately even the current version **2.2.0.3** leaves several issues with **bind mounts** unresolved. For example, I've found that **Firefox profiles** stored in bound host's folders don't persist modifications correctly. Firefox profiles stored in containers itself (writable layer) or on Docker managed volumes work correctly. If you need to use bind mounts, I wouldn't recommend upgrading to version 2.2 yet, because downgrading is not possible. The only way is to completely re-install the last working version **2.1.0.5**. However, you'll loose all the images and containers, so backup them first. + +*** + This repository contains resources for building Docker images based on [Ubuntu][docker-ubuntu] with [Xfce][xfce] desktop environment and [VNC][tigervnc]/[noVNC][novnc] servers for headless use. The main image is a streamlined and simplified version of my other image [accetto/ubuntu-vnc-xfce][accetto-docker-ubuntu-vnc-xfce] and it is part of the growing [image hierarchy][this-wiki-image-hierarchy]. @@ -22,6 +28,7 @@ The main image is a streamlined and simplified version of my other image [accett The main features and components of the images are: - utilities **ping**, **wget**, **zip**, **unzip**, **sudo**, [curl][curl], [git][git] (Ubuntu distribution) +- utility **gdebi** lets you install local `.deb` packages resolving and installing their dependencies (Ubuntu distribution) - current version of JSON processor [jq][jq] - light-weight [Xfce][xfce] desktop environment (Ubuntu distribution) - current version of high-performance [TigerVNC][tigervnc] server and client @@ -108,7 +115,13 @@ Examples can be found in [Wiki][this-wiki]. ## Using headless containers -There are two ways, how to use the created headless containers. Note that the default **VNC user** password is **headless**. +There are two ways, how to use the created headless containers. + +The default **VNC user** password is **headless** and it can be changed through the environment variable **VNC_PW**. For example the following container would use a password value **mynewpwd**: + +```shell +docker run -dP -e VNC_PW=mynewpwd accetto/xubuntu-vnc-novnc +``` ### Over VNC @@ -140,13 +153,15 @@ It's also possible to provide the password through the links: ## Container user accounts -Containers created from this image run under the **default application user** (headless, 1001:0). The password is set from the environment variable **VNC_PW** (**headless** by default) and it can be changed by the user inside the container using the following command: +Containers created from this image run under the **default application user** (headless, 1001:0) with the default password set also to **headless**. This password can be changed inside the container using the following command: ```shell passwd ``` -The **sudo** command allows user elevation, so the default application user can, for example, install new applications. +Please to not confuse the **default application user** password with the **VNC user** password, because they both have the same default values. However, the former one is used for **sudo** and it can be changed using `passwd` command. The latter one is used for VNC access and it can be changed through the **VNC_PW** environment variable (see above). + +The **sudo** command allows user elevation, so the **default application user** can, for example, install new applications. The following example shows how to install **git**: diff --git a/docker/xubuntu-vnc-novnc/src/home/Desktop/versionsticker.desktop b/docker/xubuntu-vnc-novnc/src/home/Desktop/versionsticker.desktop new file mode 100644 index 0000000..ddace2a --- /dev/null +++ b/docker/xubuntu-vnc-novnc/src/home/Desktop/versionsticker.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Version Sticker +Comment=Verbose version sticker +Exec=bash -c 'echo "Wait..." && /dockerstartup/version_sticker.sh -V && read -p "Press ENTER..."' +Icon=easytag +Path=/dockerstartup +Terminal=true +StartupNotify=false diff --git a/docker/xubuntu-vnc-novnc/src/home/config/autostart/at-spi-dbus-bus.desktop b/docker/xubuntu-vnc-novnc/src/home/config/autostart/at-spi-dbus-bus.desktop index 5673067..c78212a 100644 --- a/docker/xubuntu-vnc-novnc/src/home/config/autostart/at-spi-dbus-bus.desktop +++ b/docker/xubuntu-vnc-novnc/src/home/config/autostart/at-spi-dbus-bus.desktop @@ -1,3 +1,2 @@ [Desktop Entry] -Hidden=true - +Hidden=false diff --git a/docker/xubuntu-vnc-novnc/src/startup/version_of.sh b/docker/xubuntu-vnc-novnc/src/startup/version_of.sh index aebed55..d3960bc 100644 --- a/docker/xubuntu-vnc-novnc/src/startup/version_of.sh +++ b/docker/xubuntu-vnc-novnc/src/startup/version_of.sh @@ -22,6 +22,10 @@ case "$1" in ### source example: Mozilla Firefox 68.0.2 echo $(firefox -v 2>/dev/null | grep -Po '[0-9.]+$') ;; + gdebi) + ### source example: 0.9.5.7+nmu2 + echo $(gdebi --version 2>/dev/null | grep -Po '^[0-9.]+') + ;; git) ### source example: git version 2.17.1 echo $(git --version 2>/dev/null | grep -Po '[0-9.]+$') diff --git a/docker/xubuntu-vnc-novnc/src/startup/version_sticker.sh b/docker/xubuntu-vnc-novnc/src/startup/version_sticker.sh index 840d429..40cee33 100644 --- a/docker/xubuntu-vnc-novnc/src/startup/version_sticker.sh +++ b/docker/xubuntu-vnc-novnc/src/startup/version_sticker.sh @@ -16,6 +16,7 @@ case "$1" in novnc=$("${STARTUPDIR}/version_of.sh" novnc) websockify=$("${STARTUPDIR}/version_of.sh" websockify) curl=$("${STARTUPDIR}/version_of.sh" curl) + gdebi=$("${STARTUPDIR}/version_of.sh" gdebi) git=$("${STARTUPDIR}/version_of.sh" git) jq=$("${STARTUPDIR}/version_of.sh" jq) echo "Ubuntu $ubuntu" @@ -27,6 +28,7 @@ case "$1" in echo "Ristretto $ristretto" echo "xfce4-screenshooter $screenshooter" echo "curl $curl" + echo "gdebi $gdebi" echo "Git $git" echo "jq $jq" ;; diff --git a/docker/xubuntu-vnc-novnc/xubuntu-vnc-novnc.jpg b/docker/xubuntu-vnc-novnc/xubuntu-vnc-novnc.jpg index 6218b0f..b64e264 100644 Binary files a/docker/xubuntu-vnc-novnc/xubuntu-vnc-novnc.jpg and b/docker/xubuntu-vnc-novnc/xubuntu-vnc-novnc.jpg differ