Giter Club home page Giter Club logo

xubuntu-vnc-novnc's Introduction

Headless Ubuntu/Xfce containers with VNC/noVNC

Project accetto/xubuntu-vnc-novnc

Docker Hub - Git Hub - Changelog - Wiki - Hierarchy

badge-github-release badge-github-release-date badge-github-stars badge-github-forks badge-github-open-issues badge-github-closed-issues badge-github-releases badge-github-commits badge-github-last-commit



Introduction

This repository contains resources for building Docker images based on Ubuntu 18.04 LTS with Xfce desktop environment and VNC/noVNC servers for headless use.

Image generations

This is the second generation (G2) of my headless images, that I've retired back in March 2022. However, because I've noticed that the images are still pulled, I've revived the project in November 2022. The current second version (G2v2) brings some improvements, mostly in the building pipeline and supporting scripts.

If you want the newer images based on Ubuntu 20.04 LTS with the latest TigerVNC/noVNC versions, please check the third generation (G3) accetto/ubuntu-vnc-xfce-g3, accetto/ubuntu-vnc-xfce-chromium-g3 or accetto/ubuntu-vnc-xfce-firefox-g3.

Project versions

This file describes the second version (G2v2) of the project.

The first version (G2v1, or simply G2) has been retired back in March 2022, but I've revived it in November 2022, because I've noticed, that the images still have been pulled. It will be available in this GitHub repository as the archived branch archived-generation-g2v1.

The version G2v2 brings the following changes comparing to the previous version G2v1:

  • The values of the version sticker variables (VERSION_STICKER_*) in the env hook scripts are not hardcoded, but initialized from the related environment variables.
  • The helper utility util-refresh-readme.sh does not update the original README.md files, but their clones named scrap_readme.md. The content of this temporary file is intended to be copy-and-pasted to the Docker Hub.

Description

The resources for the individual images and their variations are stored in the folders of the Git Hub repository and the image features are described in the individual README files. Additional descriptions can be found in the common project Wiki.

All images are part of the following image hierarchy.

Git Hub subfolders / Docker image sets

Contains resources for building accetto/xubuntu-vnc-novnc base images.

The images are streamlined and simplified versions of my other images accetto/ubuntu-vnc-xfce.

Several variations are available, including the one supporting overriding both the container user and the user group.

These base images already include commonly used utilities ping, wget, zip, unzip, sudo, curl, git and also the current version of jq JSON processor.

Additional components and applications can be easily added by the user because sudo is supported.

Check this README file for more information.

Contains resources for building accetto/xubuntu-vnc-novnc-chrome images with the Google Chrome web browser.

Check this README file for more information.

Contains resources for building accetto/xubuntu-vnc-novnc-chromium images with the open-source Chromium web browser.

Check this README file for more information.

Contains resources for building accetto/xubuntu-vnc-novnc-firefox images with the current Firefox web browser.

Several variations are available, including the one supporting easy pre-configuration and copying of personal Firefox user preferences.

The images are streamlined and simplified versions of my other images accetto/ubuntu-vnc-xfce-firefox-plus and accetto/ubuntu-vnc-xfce-firefox-default.

Check this README file for more information.

Contains utilities that make building the images more convenient.

  • util-hdx.sh

    Displays the file head and executes the chosen line, removing the first occurrence of '#' and trimming the line from left first. Providing the line number argument skips the interaction and executes the given line directly.

    The comment lines at the top of included Dockerfiles are intended for this utility.

    The utility displays the help if started with the -h or --help argument. It has been developed using my other utilities utility-argbash-init.sh and utility-argbash.sh, contained in the accetto/argbash-docker Git Hub repository, from which the accetto/argbash-docker Docker image is built.

  • util-refresh-readme.sh

    This script can be used for updating the version sticker badges in README files. It is intended for local use before publishing the repository.

    The script does not include any help, because it takes only a single argument - the path where to start searching for files (default is ../docker). However, there is the file local-building-example.md explaining how to use it.

Issues

If you have found a problem or you just have a question, please check the Issues and the Wiki first. Please do not overlook the closed issues.

If you do not find a solution, you can file a new issue. The better you describe the problem, the bigger the chance it'll be solved soon.

Credits

Credit goes to all the countless people and companies, who contribute to open source community and make so many dreamy things real.


xubuntu-vnc-novnc's People

Contributors

accetto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

xubuntu-vnc-novnc's Issues

Cannot change user group id, restart again and again

FROM accetto/xubuntu-vnc-novnc:lab-ubuntu18.04.4

$ cat ubuntu-xfce4-dev-docker_chenzilin.sh
#!/bin/bash
sudo docker run -d
-p 14901:22
-p 15901:5901
-p 16901:6901
--user 1000:1000
--restart=always
--name ubuntu-xfce4-dev-docker_chenzilin
ubuntu-xfce4-dev-docker:v3.0

$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
398b336c7714 ubuntu-xfce4-dev-docker:v3.0 "/tini -- /dockersta…" 3 minutes ago Restarting (1) 56 seconds ago ubuntu-xfce4-dev-docker_chenzilin

$ sudo docker logs 398b336c7714
cp: cannot create regular file '/etc/passwd': Permission denied
cp: cannot create regular file '/etc/passwd': Permission denied
cp: cannot create regular file '/etc/passwd': Permission denied
cp: cannot create regular file '/etc/passwd': Permission denied
cp: cannot create regular file '/etc/passwd': Permission denied
cp: cannot create regular file '/etc/passwd': Permission denied
cp: cannot create regular file '/etc/passwd': Permission denied
cp: cannot create regular file '/etc/passwd': Permission denied

when use --user 1000, it's OK
when use --user 1000:1000, restart again and again

Adding Chrome PR

Hi, first I'd like be grateful about this project. That solved my life.

But I couldn't install any extension in Chromium, was unstable even in Chrome Web Store, crashing after search any extension.

So, I achieve install Chrome in it, and even install extensions by terminal.

So I'd like to contribute adding Chrome as a possibility.

Until this moment I just not added yet the Chrome in Desktop, but was running nicely.

If you like the idea, I could send a PR with modifications and the readme most likely your pattern instructing about the Chrome.

Firefox 77.0.1 scrambles pages

Unfortunatelly it has been found, that Firefox 77.0.1 in the containers from the release 20.06 scrambles web pages. Therefore I'll remove all the related images and come with at least some way arround as quickly as possible. Sorry for the inconvenience.

Screenshot_Firefox_77 0 1_scrambles_pages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.