jlesage / docker-baseimage-gui

A minimal docker baseimage to ease creation of X graphical application containers
MIT License
1.2k stars 179 forks source link

Openbox not launching / no error shown #118

Closed rix1337 closed 4 months ago

rix1337 commented 11 months ago

Trying to use any of the alpine / ubuntu base images I am met with this issue in the start sequence:

2023-12-17 17:57:44 [nginx       ] Listening for HTTP connections on port 5800.
2023-12-17 17:57:44 [supervisor  ] waiting for service 'nginx' to be ready...
2023-12-17 17:57:44 [supervisor  ] starting service 'openbox'...
2023-12-17 17:57:44 [supervisor  ] started service 'openbox'.
2023-12-17 17:57:44 [xvnc        ] Sun Dec 17 16:57:44 2023
2023-12-17 17:57:44 [xvnc        ]  Selection:   Selection owner change for WM_S0
2023-12-17 17:57:45 [supervisor  ] waiting for service 'openbox' to be ready...
2023-12-17 17:57:49 [supervisor  ] service 'openbox' failed to be started: not ready after 5000 msec, giving up.
2023-12-17 17:57:49 [supervisor  ] stopping service 'openbox'...
2023-12-17 17:57:50 [supervisor  ] stopping service 'nginx'...
2023-12-17 17:57:50 [supervisor  ] service 'nginx' exited (with status 0).
2023-12-17 17:57:50 [supervisor  ] waiting termination of logger thread of service 'nginx'...
2023-12-17 17:57:50 [supervisor  ] logger thread of service 'nginx' successfully terminated.
2023-12-17 17:57:50 [supervisor  ] stopping service 'xvnc'...
2023-12-17 17:57:50 [supervisor  ] sending SIGTERM to all processes...
2023-12-17 17:57:55 [supervisor  ] sending SIGKILL to all processes...
2023-12-17 17:57:55 [supervisor  ] service 'xvnc' exited (got signal SIGKILL).
2023-12-17 17:57:55 [supervisor  ] waiting termination of logger thread of service 'xvnc'...
2023-12-17 17:57:55 [supervisor  ] logger thread of service 'xvnc' successfully terminated.
2023-12-17 17:57:55 [supervisor  ] service 'openbox' exited (got signal SIGKILL).
2023-12-17 17:57:55 [supervisor  ] waiting termination of logger thread of service 'openbox'...
2023-12-17 17:57:55 [supervisor  ] logger thread of service 'openbox' successfully terminated.
2023-12-17 17:57:55 [finish      ] executing container finish scripts...
2023-12-17 17:57:55 [finish      ] all container finish scripts executed.

Apparently open box is not starting within a given timeframe. I have not found a way to either produce valuable log output (even the container DEBUG variable would not help), or to increase the 5 second limit.

Wit this, the base image is sadly unusable for me.

Any ideas what could cause this?

jlesage commented 11 months ago

How do you run the image ? Do you see this problem with the "stock" image ? E.g. by running docker run --rm jlesage/baseimage-gui:alpine-3.18-v4 ?

jlesage commented 4 months ago

Closing this issue. Please re-open if needed.