novaspirit / Alpine_xfce4_noVNC

Simple and minimal Alpine Docker Image providing XFCE4 with html5 noVNC connection
91 stars 38 forks source link

aftter cloning en running the docker it wont run properly #12

Open sojab0on opened 1 year ago

sojab0on commented 1 year ago

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

novaspirit commented 1 year ago

i think you caught it right in the middle of when i was pushing dev to latest, the logs shown is in the old format which is on the video branch. please clone again and try

sojab0on commented 1 year ago

i cloned the dev tree and it seems to work, but I am after a nginx reverse proxy, witch does do some bs with SSL and with it on only the cert selected or the option on https it will not load to the alpine docker.

audio works in crime but not in browsers like safari for example

also I hope to secure it a bit better I want to run it on a cloud service , so https and more secure login process

novaspirit commented 1 year ago

i'm working on adding a selfsign cert soon so we can run this on https, i'll add the update soon

sojab0on commented 1 year ago

also came accroos that sounds sometimes doesnt come trough , I need to reload the page and reconnect before sounds works.

sojab0on commented 1 year ago

is it posible to get vnc ask for password every time you connect instead of just connecting it makes it bit more secure without SSL/HTTPS as well

sojab0on commented 1 year ago

i got it working on my arm OCI instance but wanted to run the audio dev version on mt pi and Odroid xu4 on de pi and odroid I get this when I open the vnc.html from the docker [Xtigervnc ] (wrapper-2.0:146): libupower-glib-CRITICAL : 19:53:45.273: up_client_get_lid_is_present: assertion 'UP_IS_CLIENT (client)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): libupower-glib-CRITICAL : 19:53:45.273: up_client_get_on_battery: assertion 'UP_IS_CLIENT (client)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): GLib-GObject-CRITICAL : 19:53:45.273: g_object_get: assertion 'G_IS_OBJECT (object)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): GLib-CRITICAL : 19:53:45.273: g_strrstr: assertion 'haystack != NULL' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): libupower-glib-CRITICAL : 19:53:45.273: up_client_get_lid_is_present: assertion 'UP_IS_CLIENT (client)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): libupower-glib-CRITICAL : 19:53:45.273: up_client_get_on_battery: assertion 'UP_IS_CLIENT (client)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): GLib-GObject-CRITICAL : 19:53:45.273: g_object_get: assertion 'G_IS_OBJECT (object)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): libupower-glib-CRITICAL : 19:53:45.275: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): libupower-glib-CRITICAL : 19:53:45.275: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): GLib-GObject-CRITICAL : 19:53:45.275: g_object_unref: assertion 'G_IS_OBJECT (object)' failed [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:145): libnotify-WARNING : 19:53:45.329: Failed to connect to proxy [Xtigervnc ] [Xtigervnc ] (wrapper-2.0:146): libupower-glib-CRITICAL : 19:53:45.336: up_client_get_devices_full: assertion 'UP_IS_CLIENT (client)' failed [Xtigervnc ] [Xtigervnc ] GLib:ERROR:../glib/gmain.c:5569:siginfo_t_to_wait_status: code should not be reached [Xtigervnc ] Bail out! GLib:ERROR:../glib/gmain.c:5569:siginfo_t_to_wait_status: code should not be reached [Xtigervnc ] [Xtigervnc ] GLib:ERROR:../glib/gmain.c:5569:siginfo_t_to_wait_status: code should not be reached [Xtigervnc ] Bail out! GLib:ERROR:../glib/gmain.c:5569:siginfo_t_to_wait_status: code should not be reached [Xtigervnc ] [Xtigervnc ] (xfce4-power-manager:125): libxfce4ui-WARNING : 19:53:45.564: ICE I/O Error [Xtigervnc ] [Xtigervnc ] (xfdesktop:121): libxfce4ui-WARNING : 19:53:45.564: ICE I/O Error [Xtigervnc ] [Xtigervnc ] (xfdesktop:121): libxfce4ui-WARNING : 19:53:45.564: Disconnected from session manager. [Xtigervnc ] (xfce4-power-manager:125): libxfce4ui-WARNING : 19:53:45.564: Disconnected from session manager. [Xtigervnc ] [Xtigervnc ] [Xtigervnc ] (xfwm4:101): libxfce4ui-WARNING : 19:53:45.564: ICE I/O Error [Xtigervnc ] [Xtigervnc ] (xfwm4:101): libxfce4ui-WARNING : 19:53:45.565: Disconnected from session manager. [Xtigervnc ] [Xtigervnc ] (xfsettingsd:109): libxfce4ui-WARNING : 19:53:45.565: ICE I/O Error [Xtigervnc ] [Xtigervnc ] (xfsettingsd:109): libxfce4ui-WARNING : 19:53:45.566: Disconnected from session manager. [Xtigervnc ] xinit: connection to X server lost [Xtigervnc ]

[Xtigervnc ] waiting for X server to shut down [Xtigervnc ] (xfce4-power-manager:125): WARNING : 19:53:45.598: Error: The connection is closed [Xtigervnc ] [Xtigervnc ] [Xtigervnc ] (xfce4-power-manager:125): WARNING : 19:53:45.598: Error: The connection is closed [Xtigervnc ] [Xtigervnc ] [Xtigervnc ] Tue Nov 29 19:53:45 2022 [Xtigervnc ] ComparingUpdateTracker: 0 pixels in / 0 pixels out [Xtigervnc ] ComparingUpdateTracker: (1:nan ratio) [Xtigervnc ] [audify ] [noVNC ] [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [audify ] Socket connected. sending data... [noVNC ] 172.16.0.12: SSL connection but '/opt/noVNC/utils/websockify/self.pem' not found [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:19] 172.16.0.12: Plain non-SSL (ws://) WebSocket connection [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:19] 172.16.0.12: Path: '/websockify' [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:19] connecting to: localhost:5999 [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:19] Failed to connect to localhost:5999: [Errno 111] Connection refused [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:20] 172.16.0.12: Plain non-SSL (ws://) WebSocket connection [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:20] 172.16.0.12: Path: '/websockify' [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:20] connecting to: localhost:5999 [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:20] Failed to connect to localhost:5999: [Errno 111] Connection refused [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:20] 172.16.0.12: Plain non-SSL (ws://) WebSocket connection [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:20] 172.16.0.12: Path: '/websockify' [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:20] connecting to: localhost:5999 [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:20] Failed to connect to localhost:5999: [Errno 111] Connection refused [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:21] 172.16.0.12: Plain non-SSL (ws://) WebSocket connection [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:21] 172.16.0.12: Path: '/websockify' [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:21] connecting to: localhost:5999 [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:21] Failed to connect to localhost:5999: [Errno 111] Connection refused [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:21] 172.16.0.12: Plain non-SSL (ws://) WebSocket connection [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:21] 172.16.0.12: Path: '/websockify' [noVNC ] 172.16.0.12 - - [29/Nov/2022 19:54:21] connecting to: localhost:5999

the IP it states is not the IP that the docker container has in docker nor is it the IP of the host it self

crood58 commented 1 year ago

I am getting the same issue when I try starting the container on MacOS Ventura.