jchprj / Play-Adobe-Flash-After-EOL

Dockerised old Chrome, old Firefox and latest standalone Flash player accessible in browser
7 stars 2 forks source link

D-Bus Error #1

Open djarbz opened 2 years ago

djarbz commented 2 years ago

Hello, I get the following error constantly while running your image.

D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; UUID file '/etc/machine-id' should contain a hex string of length 32, not length 0, with no other text)

jchprj commented 2 years ago

Hi, when I'm running it. I can see it as well. But it is not constantly appearing, just at the beginning, threw some these logs.

(firefox:607): GConf-WARNING **: 13:51:10.684: Client failed to connect to the D-BUS daemon: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; UUID file '/etc/machine-id' should contain a hex string of length 32, not length 0, with no other text)

Seems it is firefox related. If the Flash content is well played, I think this is not serious.

jchprj commented 2 years ago

After tried exit firefox and firefox re-launched automatically, the error indeed became constantly. Then I tried run these two commands(from centos7 - dbus errrors when trying to start GUI app from Docker CentOS container - Stack Overflow) in the shell

# apt-get install -y dbus
# dbus-uuidgen > /var/lib/dbus/machine-id

The constant errors became

(firefox:927): GConf-WARNING **: 14:10:37.630: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally without any error message

Then I tried install dbus-x11(from python - What does "Client failed to connect to the D-BUS daemon" mean? - Stack Overflow)

apt install dbus-x11

No longer errors. I will add these commands in the Docker file.

djarbz commented 2 years ago

Thank you!

jchprj commented 2 years ago

Thank you for the feedback as well!

It has been added, seems only needs dbus-x11 https://github.com/jchprj/Play-Adobe-Flash-After-EOL/blob/504a145baf539790361934342e2bf3c126bdb451/Dockerfile#L57

Also built new image to Docker Hub: jchprj/play-adobe-flash-after-eol