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).
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).