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.91k stars 1.42k forks source link

Updating via apt causes docker to not restart #309

Open morph166955 opened 1 year ago

morph166955 commented 1 year ago

New install using "docker pull dorowu/ubuntu-desktop-lxde-vnc". Inside the container I resolved the apt key for google and did "apt-get update && apt-get upgrade". Docker refuses to restart after updates (it restarts fine when loading from vanilla). It looks like the issue could be with xvfb?

{"log":"2023-07-12 18:41:35,455 INFO Included extra file \"/etc/supervisor/conf.d/supervisord.conf\" during parsing\n","stream":"stdout","time":"2023-07-12T18:41:35.455544453Z"}
{"log":"2023-07-12 18:41:35,461 INFO RPC interface 'supervisor' initialized\n","stream":"stdout","time":"2023-07-12T18:41:35.46197151Z"}
{"log":"2023-07-12 18:41:35,462 CRIT Server 'unix_http_server' running without any HTTP authentication checking\n","stream":"stdout","time":"2023-07-12T18:41:35.462255452Z"}
{"log":"2023-07-12 18:41:35,462 INFO supervisord started with pid 26\n","stream":"stdout","time":"2023-07-12T18:41:35.462515917Z"}
{"log":"2023-07-12 18:41:36,471 INFO spawned: 'nginx' with pid 28\n","stream":"stdout","time":"2023-07-12T18:41:36.475296567Z"}
{"log":"2023-07-12 18:41:36,474 INFO spawned: 'web' with pid 29\n","stream":"stdout","time":"2023-07-12T18:41:36.475323187Z"}
{"log":"2023-07-12 18:41:36,478 INFO spawned: 'xvfb' with pid 30\n","stream":"stdout","time":"2023-07-12T18:41:36.478859014Z"}
{"log":"2023-07-12 18:41:36,481 INFO spawned: 'wm' with pid 31\n","stream":"stdout","time":"2023-07-12T18:41:36.482315255Z"}
{"log":"2023-07-12 18:41:36,498 INFO spawned: 'lxpanel' with pid 32\n","stream":"stdout","time":"2023-07-12T18:41:36.499236053Z"}
{"log":"2023-07-12 18:41:36,502 INFO spawned: 'pcmanfm' with pid 33\n","stream":"stdout","time":"2023-07-12T18:41:36.502595956Z"}
{"log":"2023-07-12 18:41:36,522 INFO spawned: 'x11vnc' with pid 34\n","stream":"stdout","time":"2023-07-12T18:41:36.522801845Z"}
{"log":"2023-07-12 18:41:36,538 INFO spawned: 'novnc' with pid 36\n","stream":"stdout","time":"2023-07-12T18:41:36.539001724Z"}
{"log":"2023-07-12 18:41:37,122 \u001b[1;37mINFO \u001b[0m Listening on http://localhost:6079 (\u001b[1mrun.py\u001b[0m:87)\n","stream":"stdout","time":"2023-07-12T18:41:37.122852648Z"}
{"log":"2023-07-12 18:41:37,559 INFO success: nginx entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-07-12T18:41:37.559888754Z"}
{"log":"2023-07-12 18:41:37,560 INFO success: web entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-07-12T18:41:37.560284292Z"}
{"log":"2023-07-12 18:41:37,560 INFO success: xvfb entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-07-12T18:41:37.560368312Z"}
{"log":"2023-07-12 18:41:37,560 INFO success: wm entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-07-12T18:41:37.560482171Z"}
{"log":"2023-07-12 18:41:37,560 INFO success: lxpanel entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-07-12T18:41:37.560557167Z"}
{"log":"2023-07-12 18:41:37,560 INFO success: pcmanfm entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-07-12T18:41:37.560659397Z"}
{"log":"2023-07-12 18:41:37,560 INFO success: x11vnc entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-07-12T18:41:37.560717941Z"}
{"log":"2023-07-12 18:41:37,560 INFO success: novnc entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-07-12T18:41:37.560823201Z"}
{"log":"\u003e\u003e\u003e sending remote command: \"cmd=fb\" via X11VNC_REMOTE X property.\n","stream":"stdout","time":"2023-07-12T18:42:00.396112094Z"}
{"log":"\u003e\u003e\u003e sending remote command: \"qry=dpy_x,dpy_y\" via X11VNC_REMOTE X property.\n","stream":"stdout","time":"2023-07-12T18:42:00.735634347Z"}
{"log":"2023-07-12 18:42:01,232 INFO stopped: x11vnc (exit status 2)\n","stream":"stdout","time":"2023-07-12T18:42:01.233129823Z"}
{"log":"2023-07-12 18:42:01,232 INFO stopped: novnc (exit status 143)\n","stream":"stdout","time":"2023-07-12T18:42:01.233163587Z"}
{"log":"2023-07-12 18:42:01,232 INFO waiting for xvfb to stop\n","stream":"stdout","time":"2023-07-12T18:42:01.233169363Z"}
{"log":"2023-07-12 18:42:01,232 INFO waiting for wm to stop\n","stream":"stdout","time":"2023-07-12T18:42:01.233173466Z"}
{"log":"2023-07-12 18:42:01,232 INFO waiting for lxpanel to stop\n","stream":"stdout","time":"2023-07-12T18:42:01.233177235Z"}
{"log":"2023-07-12 18:42:01,232 INFO waiting for pcmanfm to stop\n","stream":"stdout","time":"2023-07-12T18:42:01.233181146Z"}
{"log":"2023-07-12 18:42:01,238 INFO stopped: wm (exit status 1)\n","stream":"stdout","time":"2023-07-12T18:42:01.238434172Z"}
{"log":"2023-07-12 18:42:01,238 INFO stopped: lxpanel (terminated by SIGTERM)\n","stream":"stdout","time":"2023-07-12T18:42:01.238684232Z"}
{"log":"2023-07-12 18:42:02,255 INFO stopped: xvfb (terminated by SIGKILL)\n","stream":"stdout","time":"2023-07-12T18:42:02.255970783Z"}
{"log":"2023-07-12 18:42:03,263 INFO waiting for pcmanfm to stop\n","stream":"stdout","time":"2023-07-12T18:42:03.263949365Z"}
{"log":"2023-07-12 18:42:04,280 WARN killing 'pcmanfm' (33) with SIGKILL\n","stream":"stdout","time":"2023-07-12T18:42:04.280861162Z"}
{"log":"2023-07-12 18:42:04,292 INFO stopped: pcmanfm (terminated by SIGKILL)\n","stream":"stdout","time":"2023-07-12T18:42:04.292600983Z"}
{"log":"\n","stream":"stdout","time":"2023-07-12T18:42:04.82321644Z"}
{"log":"12/07/2023 18:42:04 ***************************************\n","stream":"stdout","time":"2023-07-12T18:42:04.824986884Z"}
{"log":"12/07/2023 18:42:04 *** XOpenDisplay failed (:1)\n","stream":"stdout","time":"2023-07-12T18:42:04.825015102Z"}
{"log":"\n","stream":"stdout","time":"2023-07-12T18:42:04.825019377Z"}
{"log":"*** x11vnc was unable to open the X DISPLAY: \":1\", it cannot continue.\n","stream":"stdout","time":"2023-07-12T18:42:04.825023114Z"}
{"log":"*** There may be \"Xlib:\" error messages above with details about the failure.\n","stream":"stdout","time":"2023-07-12T18:42:04.825027007Z"}

This is the list from apt of what is getting upgraded:

The following packages have been kept back:
  google-chrome-stable libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37
The following packages will be upgraded:
  alsa-utils apache2-utils apt base-files bash bsdutils ca-certificates cpp-9 curl dbus dbus-user-session dbus-x11 dirmngr distro-info-data dpkg e2fsprogs fdisk ffmpeg firefox gcc-10-base
  gcc-9-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv gtk-update-icon-cache gzip kmod libapparmor1 libaprutil1 libapt-pkg6.0 libasn1-8-heimdal
  libasound2 libasound2-data libaspell15 libatopology2 libavahi-client3 libavahi-common-data libavahi-common3 libavcodec58 libavdevice58 libavfilter7 libavformat58 libavresample4 libavutil56
  libblkid1 libc-bin libc6 libcaca0 libcap2 libcap2-bin libcom-err2 libcryptsetup12 libcups2 libcurl3-gnutls libcurl4 libdbus-1-3 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2
  libdrm-radeon1 libdrm2 libegl1 libexpat1 libext2fs2 libfdisk1 libflac8 libfreetype6 libfribidi0 libgcc-s1 libgcrypt20 libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1 libglib2.0-0
  libglib2.0-bin libglib2.0-data libglvnd0 libglx0 libgmp10 libgnutls30 libgomp1 libgssapi-krb5-2 libgssapi3-heimdal libgstreamer-gl1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0
  libgtk-3-0 libgtk-3-common libharfbuzz-icu0 libharfbuzz0b libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhogweed5 libhttp-daemon-perl libhx509-5-heimdal libicu66 libimlib2
  libip4tc2 libjbig0 libjpeg-turbo8 libk5crypto3 libkeyutils1 libkmod2 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 libldap-common liblz4-1 liblzma5 libmount1 libncurses6
  libncursesw6 libnettle7 libnghttp2-14 libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnotify4 libnss3 libpam-modules libpam-modules-bin
  libpam-runtime libpam-systemd libpam0g libpcre2-8-0 libpcre3 libperl5.30 libpixman-1-0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpostproc55 libprocps8 libpulse0 libpython3.8-minimal
  libpython3.8-stdlib libquadmath0 libroken18-heimdal libsasl2-2 libsasl2-modules-db libseccomp2 libsecret-1-0 libsecret-common libsensors-config libsensors5 libsepol1 libsmartcols1 libsndfile1
  libspeex1 libsqlite3-0 libss2 libssh-4 libssh-gcrypt-4 libssl1.1 libstdc++6 libswresample3 libswscale5 libsystemd0 libtiff5 libtinfo6 libudev1 libunwind8 libuuid1 libwayland-client0
  libwayland-cursor0 libwayland-egl1 libwayland-server0 libwebp6 libwebpdemux2 libwebpmux3 libwind0-heimdal libx11-6 libx11-data libx11-xcb1 libxml2 libxpm4 libxslt1.1 libxtables12 login logsave
  mount ncurses-base ncurses-bin nginx nginx-common nginx-core openssl passwd perl perl-base perl-modules-5.30 policykit-1 procps python-apt-common python3-apt python3-pkg-resources
  python3-requests python3-software-properties python3-urllib3 python3.8 python3.8-minimal software-properties-common sudo systemd systemd-sysv systemd-timesyncd tar tzdata util-linux vim-common
  vim-tiny wget xserver-common xvfb xxd xz-utils zlib1g