fcwu / docker-ubuntu-vnc-desktop

A Docker image to provide web VNC interface to access Ubuntu LXDE/LxQT desktop environment.
Apache License 2.0
3.92k stars 1.42k forks source link

novnc not starting after building focal-lxqt for Ubuntu 20.04 #246

Open thepian opened 3 years ago

thepian commented 3 years ago

Describe the bug I'm trying to build for recent Ubuntu either 20.04 or 21.04

To Reproduce Steps to reproduce the behavior: Check out focal-lxqt Make fixes to fix build

I tried different novnc submodule tags to no avail.

Expected behavior Clean build and run

Screenshots Output from make run.

docker run --privileged --rm \
        -p 6080:80 -p 6081:443 \
        -v /Volumes/Projects/maix-test-ubuntu:/src:ro \
        -e SSL_PORT=443 \
        -e RELATIVE_URL_ROOT=approot \
        -v /Volumes/Projects/maix-test-ubuntu/ssl:/etc/nginx/ssl \
        --device /dev/snd \
        --name ubuntu-desktop-lxde-test \
        thepian/maix-test-ubuntu:latest
* enable RELATIVE_URL_ROOT: approot
2021-05-15 19:53:45,872 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2021-05-15 19:53:45,872 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2021-05-15 19:53:45,880 INFO RPC interface 'supervisor' initialized
2021-05-15 19:53:45,880 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2021-05-15 19:53:45,880 INFO supervisord started with pid 11
2021-05-15 19:53:46,889 INFO spawned: 'nginx' with pid 13
2021-05-15 19:53:46,893 INFO spawned: 'web' with pid 14
2021-05-15 19:53:46,897 INFO spawned: 'xvfb' with pid 15
2021-05-15 19:53:46,899 INFO spawned: 'lxpanel' with pid 16
2021-05-15 19:53:46,902 INFO spawned: 'x11vnc' with pid 17
2021-05-15 19:53:46,905 INFO spawned: 'novnc' with pid 18
2021-05-15 19:53:47,227 INFO  Listening on http://localhost:6079 (run.py:87)
2021-05-15 19:53:47,944 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:47,944 INFO success: web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:47,944 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:47,945 INFO success: lxpanel entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:47,945 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:47,945 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:47,946 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:53:47,948 INFO spawned: 'novnc' with pid 120
2021-05-15 19:53:48,974 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:48,974 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:53:48,977 INFO spawned: 'novnc' with pid 132
2021-05-15 19:53:49,997 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:49,997 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:53:49,999 INFO spawned: 'novnc' with pid 144
2021-05-15 19:53:51,020 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:51,026 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:53:52,030 INFO spawned: 'novnc' with pid 156
2021-05-15 19:53:53,046 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:53,050 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:53:54,053 INFO spawned: 'novnc' with pid 168
2021-05-15 19:53:55,076 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:56,082 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:53:57,085 INFO spawned: 'novnc' with pid 180
2021-05-15 19:53:58,102 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:53:58,105 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:53:59,108 INFO spawned: 'novnc' with pid 192
2021-05-15 19:54:00,130 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:54:00,136 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:54:01,142 INFO spawned: 'novnc' with pid 204
2021-05-15 19:54:02,161 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:54:02,166 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:54:02,169 INFO spawned: 'novnc' with pid 216
2021-05-15 19:54:03,186 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:54:03,191 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:54:03,194 INFO spawned: 'novnc' with pid 228
2021-05-15 19:54:04,213 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:54:04,220 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:54:05,225 INFO spawned: 'novnc' with pid 240
2021-05-15 19:54:06,244 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:54:06,249 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:54:07,257 INFO spawned: 'novnc' with pid 252
2021-05-15 19:54:08,277 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:54:08,281 INFO exited: novnc (exit status 1; not expected)
2021-05-15 19:54:08,283 INFO spawned: 'novnc' with pid 264
2021-05-15 19:54:09,301 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-05-15 19:54:09,307 INFO exited: novnc (exit status 1; not expected)
^C2021-05-15 19:54:10,313 INFO spawned: 'novnc' with pid 276
2021-05-15 19:54:10,314 WARN received SIGINT indicating exit request
2021-05-15 19:54:10,315 INFO waiting for nginx, web, xvfb, lxpanel, x11vnc, novnc to die
2021-05-15 19:54:10,326 INFO stopped: xvfb (terminated by SIGKILL)
2021-05-15 19:54:10,332 INFO stopped: x11vnc (exit status 2)
2021-05-15 19:54:11,309 INFO stopped: lxpanel (exit status 0)
2021-05-15 19:54:11,310 INFO stopped: novnc (exit status 1)
2021-05-15 19:54:11,315 INFO stopped: web (terminated by SIGTERM)
2021-05-15 19:54:11,324 INFO stopped: nginx (exit status 0)

Versions (please complete the following information):

Additional context Add any other context about the problem here.

biggeeus commented 3 years ago

I am getting the same issue.