I've determined that this is happening to me because of a program I am
starting out of /etc/X11/Xsession.d/ was causing a dbus-launch start.
So I don't think there's anything more that needs to be done from the
xfce side.  I suppose the init script could check for an autolaunched
dbus process and avoid the hang, but it won't leave the xfce session
with dbus set up nicely.

Also of note, this hang does not occur for me when I do not use the
--exit-with-session flag, and I've been removing that and adding a kill
for it to the xinitrc.

For completeness, a backtrace of the dbus-launch started from xinitrc:
#0  0x00007fa915278d53 in __select_nocancel () from /lib/libc.so.6
#1  0x00007fa914d9637b in _xcb_in_read_block (c=0x6118c0, buf=<value optimized 
out>, len=8) at xcb_in.c:248
#2  0x00007fa914d957a9 in xcb_connect_to_fd (fd=<value optimized out>, 
auth_info=0x7fff1da2ac40)
    at xcb_conn.c:133
#3  0x00007fa914d97ae0 in xcb_connect (displayname=<value optimized out>, 
screenp=<value optimized out>)
    at xcb_util.c:279
#4  0x00007fa91555152a in _XConnectXCB () from /usr/lib/libX11.so.6
#5  0x00007fa91553a7c6 in XOpenDisplay () from /usr/lib/libX11.so.6
#6  0x0000000000403957 in ?? ()
#7  0x000000000040337e in ?? ()
#8  0x00007fa9151c61c4 in __libc_start_main () from /lib/libc.so.6
#9  0x0000000000401b09 in ?? ()
#10 0x00007fff1da2b4e8 in ?? ()
#11 0x0000000000000000 in ?? ()

** Attachment added: "Output of 'ps ux -e'"
   http://launchpadlibrarian.net/17414833/psoutput

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

Reply via email to