novaspirit / alpine_xfce4_novnc Goto Github PK
View Code? Open in Web Editor NEWSimple and minimal Alpine Docker Image providing XFCE4 with html5 noVNC connection
Simple and minimal Alpine Docker Image providing XFCE4 with html5 noVNC connection
Hi,
first of all, thanks a lot for creating this great little docker container! I've been using the Alpine-XFCE variant of Webtop so far, but I find noVNC way more responsive than Guacamole. ;)
The only issue I'm currently facing with this container is that when I'm doing a docker compose pull
followed by a docker compose up -d
to apply the latest image updates, the linux environment is basically reset. For example, any configs (ssh key, ssh config) and installed tools (nano, openssh-client) are lost. So, is there any way to make at least the home directory persistent after an update?
Fyi, this is my docker-compose.yml
:
version: '3.3'
services:
alpine_xfce4_novnc:
ports:
- '6080:6080'
container_name: alpine-novnc
image: novaspirit/alpine_xfce4_novnc:latest
restart: unless-stopped
networks:
default:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1280
Thanks in advance. :)
Hi Author,
I encounter issues, when connected noVNC once and log off.
I'm not able to connect again, showing not able to connect to server error.
Need to restart the docker container again in order to connect to noVNC.
Anyone encounter this problem.
I ran the commands on this github
after wards the docker started up (using portainer to follow the logs ) it shows this
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:13.824: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:97): GLib-GObject-CRITICAL **: 19:43:13.824: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:13.824: up_client_get_lid_is_present: assertion 'UP_IS_CLIENT (client)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:13.824: up_client_get_on_battery: assertion 'UP_IS_CLIENT (client)' failed
(xfce4-session:24): xfce4-session-WARNING **: 19:43:13.860: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:24): xfce4-session-WARNING **: 19:43:13.862: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:24): xfce4-session-WARNING **: 19:43:13.864: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(wrapper-2.0:97): GLib-GObject-CRITICAL **: 19:43:14.373: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:14.373: up_client_get_lid_is_present: assertion 'UP_IS_CLIENT (client)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:14.373: up_client_get_on_battery: assertion 'UP_IS_CLIENT (client)' failed
(wrapper-2.0:97): GLib-GObject-CRITICAL **: 19:43:14.919: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:14.919: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:14.919: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:97): GLib-GObject-CRITICAL **: 19:43:14.919: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:14.919: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:14.919: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:97): GLib-GObject-CRITICAL **: 19:43:14.919: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:97): libupower-glib-CRITICAL **: 19:43:15.109: up_client_get_devices_full: assertion 'UP_IS_CLIENT (client)' failed
xfce4-panel-Message: 19:43:15.208: Plugin power-manager-plugin-9 has been automatically restarted after crash.
** (wrapper-2.0:127): WARNING **: 19:43:15.378: No outputs have backlight property
(wrapper-2.0:127): libupower-glib-WARNING **: 19:43:15.380: Couldn't connect to proxy: Could not connect: No such file or directory
(wrapper-2.0:127): GLib-GObject-WARNING **: 19:43:15.382: invalid (NULL) pointer instance
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:15.382: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(wrapper-2.0:127): GLib-GObject-WARNING **: 19:43:15.382: invalid (NULL) pointer instance
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:15.382: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:15.386: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:15.386: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:127): GLib-GObject-WARNING **: 19:43:15.386: invalid (NULL) pointer instance
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:15.386: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:15.386: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:15.386: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:15.386: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:15.386: up_client_get_lid_is_present: assertion 'UP_IS_CLIENT (client)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:15.386: up_client_get_on_battery: assertion 'UP_IS_CLIENT (client)' failed
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:15.932: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:15.932: up_client_get_lid_is_present: assertion 'UP_IS_CLIENT (client)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:15.932: up_client_get_on_battery: assertion 'UP_IS_CLIENT (client)' failed
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:16.482: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:16.483: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:16.483: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:16.483: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:16.483: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:16.483: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed
(wrapper-2.0:127): GLib-GObject-CRITICAL **: 19:43:16.483: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(wrapper-2.0:127): libupower-glib-CRITICAL **: 19:43:16.673: up_client_get_devices_full: assertion 'UP_IS_CLIENT (client)' failed
80.60.245.107 - - [18/Nov/2022 19:43:41] code 404, message File not found
80.60.245.107 - - [18/Nov/2022 19:43:42] code 404, message File not found
80.60.245.107 - - [18/Nov/2022 19:43:43] code 404, message File not found
80.60.245.107 - - [18/Nov/2022 19:43:43] code 404, message File not found
80.60.245.107 - - [18/Nov/2022 19:43:50] code 404, message File not found
80.60.245.107 - - [18/Nov/2022 19:43:51] code 404, message File not found
80.60.245.107 - - [18/Nov/2022 19:43:51] code 404, message File not found
80.60.245.107 - - [18/Nov/2022 19:43:51] code 404, message File not found
80.60.245.107 - - [18/Nov/2022 19:43:51] code 404, message File not found
anything I did wrong or miss
Hi Don,
FYI
After running the container I am unable to open a terminal, I get error "Failed to fdwalk: Operation not permitted". The error is describer here as well. mviereck/x11docker#346
The solution they suggest does work for me as well, by running.
docker run -it -p 6080:6080 -p 56780:56780 --security-opt seccomp=unconfined --name alpine-novnc alpine-xfce4
Then the error is resolved.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.