Skip to content

Failed to connect to the D-Bus session daemon #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ripowercat opened this issue Feb 9, 2024 · 1 comment
Open

Failed to connect to the D-Bus session daemon #2

ripowercat opened this issue Feb 9, 2024 · 1 comment

Comments

@ripowercat
Copy link

docker run -it -e CAMERAUSER='someuser' -e CAMERAPASSWORD='somepass' -e CAMERAIP='192.168.1.60' -e CAMERAPORT='554' -e CAMERASTREAM='stream1' -e DISPLAY=':0.0' opndiverseco/rtsp-to-mjpeg:latest
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
xcb_connection_has_error() returned true
[00005644c8d35b60] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[00005644c8d5a4b0] dbus interface error: Failed to connect to the D-Bus session 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)
[00005644c8d5a4b0] main interface error: no suitable interface module
[00005644c8cb0420] main libvlc error: interface "dbus,none" initialization failed
[00005644c8d38d40] main interface error: no suitable interface module
[00005644c8cb0420] main libvlc error: interface "globalhotkeys,none" initialization failed
[00005644c8d38d40] dummy interface: using the dummy interface module...
Created new TCP socket 3 for connection
Created new TCP socket 3 for connection
[00007f1d54004230] main mux error: cannot add this stream
[00007f1d540301f0] main decoder error: cannot create packetizer output (alaw)
[00007f1d540301f0] main decoder error: buffer deadlock prevented
[00007f1d34150e10] chain filter error: Too high level of recursion (3)
[00007f1d341506c0] main filter error: Failed to create video converter
[00007f1d34150e10] chain filter error: Too high level of recursion (3)
[00007f1d341506c0] main filter error: Failed to create video converter
[00007f1d34150e10] chain filter error: Too high level of recursion (3)
[00007f1d341506c0] main filter error: Failed to create video converter
[00007f1d34150e10] chain filter error: Too high level of recursion (3)
[00007f1d341506c0] main filter error: Failed to create video converter
[00007f1d34150e10] chain filter error: Too high level of recursion (3)
[00007f1d341506c0] main filter error: Failed to create video converter
[00007f1d34150e10] chain filter error: Too high level of recursion (3)
[00007f1d341506c0] main filter error: Failed to create video converter
[00007f1d34150e10] chain filter error: Too high level of recursion (3)

I had to set the X-Windows DISPLAY variable or I would get "[0000561662d69d40] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11"

Once that was set I'd start getting the above.

@bwnance
Copy link

bwnance commented Apr 18, 2024

@ripowercat i fixed this by updating the base image used - fork with my changes is here: https://github.com/bwnance/rtsp-to-mjpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants