Hi Andrea,

Sorry for the late reply.

Andrea Venturoli writes:
> On 12/05/10 22:50, Ashish SHUKLA wrote:

>> setup, which is 'startx' based, with following contents of $HOME/.xinitrc:
>> 
>> #v+
>> #!/bin/sh
>> 
>> xrdb ~/.Xdefaults
>> xmodmap ~/.Xmodmap
>> exec dbus-launch --exit-with-session ck-launch-session xmonad 
>> 2>$HOME/.xsession-errors
>> #v-

> I've got dbus_enable="YES" in /etc/rc.conf; I don't remember why.
> I probably read about it in some entry in UPDATING; that might be
> 20061219: I also run hald, but not polkit...

> # ps ax|grep dbus
>  1620  ??  I      0:00.00 dbus-launch
> --autolaunch=b3fbd8cb89ee22fd22fc292600001a5f --binary-syntax
> --close-stderr
>  1621  ??  Is     0:00.00 /usr/local/bin/dbus-daemon --fork
> --print-pid 6 --print-address 8 --session
>  1697  ??  Ss     0:00.00 /usr/local/bin/dbus-daemon --system


> Anyway, I tried stopping dbus and I get the same warning.

Okay, I'm able to reproduce warnings. As emacs tries to lookup DBUS session
bus in the environment, and if it doesn't find one, it starts one. And "dbus"
keeps running in the same TTY after you close emacs, so when you try to exit
From the SSH session, it hangs waiting for all processes (attached to current
TTY) to exit, and therefore you've to kill the SSH session forcibly. To verify
this, you can kill the started dbus-daemon (attached to the same TTY) and you
should be able to exit from SSH session as usual.

I'm not sure if my explanation is correct for this behavior.

HTH
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

Avoid Success At All Costs !!

Attachment: pgpfnIT9IZiN5.pgp
Description: PGP signature

Reply via email to