Discussion:
[winswitch] Bug with dbus
Pierre Wulles via shifter-users
2018-07-24 15:11:57 UTC
Permalink
Hello, I,m still trying to set up an architecture with xpra over 3
machines, client, server and proxy, when I use:
xpra proxy :13 --bind-tcp=0.0.0.0:10000 --tcp-auth=allow --daemon=no
to set up the proxy, I have the following error:
2018-07-24 16:37:02,764 dbus server error
Traceback (most recent call last):
File
"/usr/lib64/python2.7/site-packages/xpra/server/dbus/dbus_common.py", line
12, in dbus_exception_wrap
v = fn()
File
"/usr/lib64/python2.7/site-packages/xpra/server/proxy/proxy_server.py",
line 92, in make_dbus_server
return Proxy_DBUS_Server(self)
File
"/usr/lib64/python2.7/site-packages/xpra/server/proxy/proxy_dbus_server.py",
line 24, in __init__
bus = init_session_bus()
File "/usr/lib64/python2.7/site-packages/xpra/dbus/common.py", line 22,
in init_session_bus
_session_bus = dbus.SessionBus(private=private)
File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 211, in
__new__
mainloop=mainloop)
File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 100, in
__new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 122, in
__new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed:
/usr/bin/dbus-launch terminated abnormally with the following error:
Autolaunch error: X11 initialization failed.

2018-07-24 16:37:02,767 Error setting up server dbus instance:
2018-07-24 16:37:02,767 org.freedesktop.DBus.Error.Spawn.ExecFailed
2018-07-24 16:37:02,767 /usr/bin/dbus-launch terminated abnormally with
the following error
2018-07-24 16:37:02,767 Autolaunch error
2018-07-24 16:37:02,767 X11 initialization failed.
What does that mean ?
Thank you very much,
Pierre
Antoine Martin via shifter-users
2018-07-24 21:43:01 UTC
Permalink
Post by Pierre Wulles via shifter-users
Hello, I,m still trying to set up an architecture with xpra over 3
xpra proxy :13 --bind-tcp=0.0.0.0:10000 --tcp-auth=allow --daemon=no
2018-07-24 16:37:02,764 dbus server error
File
"/usr/lib64/python2.7/site-packages/xpra/server/dbus/dbus_common.py", line
12, in dbus_exception_wrap
v = fn()
File
"/usr/lib64/python2.7/site-packages/xpra/server/proxy/proxy_server.py",
line 92, in make_dbus_server
return Proxy_DBUS_Server(self)
File
"/usr/lib64/python2.7/site-packages/xpra/server/proxy/proxy_dbus_server.py",
line 24, in __init__
bus = init_session_bus()
File "/usr/lib64/python2.7/site-packages/xpra/dbus/common.py", line 22,
in init_session_bus
_session_bus = dbus.SessionBus(private=private)
File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 211, in
__new__
mainloop=mainloop)
File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 100, in
__new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 122, in
__new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
Autolaunch error: X11 initialization failed.
2018-07-24 16:37:02,767 org.freedesktop.DBus.Error.Spawn.ExecFailed
2018-07-24 16:37:02,767 /usr/bin/dbus-launch terminated abnormally with
the following error
2018-07-24 16:37:02,767 Autolaunch error
2018-07-24 16:37:02,767 X11 initialization failed.
What does that mean ?
The xpra proxy is trying to setup a dbus service that you can use to
interact with it, the dbus bindings try to execute "dbus-launch" which
is failing to execute due to the X11 initialization error.
Either fix your environment so that the user running the proxy can run
"dbus-launch" without getting those errors, or use: --dbus-launch=no
--dbus-control=no

Cheers,
Antoine
Post by Pierre Wulles via shifter-users
Thank you very much,
Pierre
_______________________________________________
shifter-users mailing list
http://lists.devloop.org.uk/mailman/listinfo/shifter-users
Loading...