Ok, thanks for the explanation. Do you think gnome-screensaver wont even attempt to start dbus-launch (through dbus library itself, supposedly), if it finds it preset in environment? In that case the sleep will be definitely unnecessary.
A quick inspection of dbus sources (_dbus_transport_open in dbus- transport.c) seems to show that the first successfully opened transport will be used. The transport gets selected according to the current environment (including information stored in X display atoms). -- dbus-launch hangs at session start waiting on socket output in libxcb https://bugs.launchpad.net/bugs/232364 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs