Your message dated Wed, 16 Feb 2011 12:19:19 +0000 with message-id <[email protected]> and subject line Re: Bug#496245: "dbus-launch --exit-with-session" doesn't has caused the Debian Bug report #496245, regarding "dbus-launch --exit-with-session" doesn't to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 496245: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496245 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dbus-x11 Version: 1.2.1-3 Traditionally I run xinit from my .bash_profile. Here is the code: startx="xinit -- -quiet" if test -x /usr/bin/dbus-launch; then startx="/usr/bin/dbus-launch --exit-with-session $startx" fi $startx According to the man page "dbus-launch --exit-with-session" is supposed to kill dbus-daemon when the XWindow session terminates, but it doesn't. Instead it reads every second character from my login terminal, which is pretty annoying. And of course dbus-daemon keeps on running, too. Regards Harri
--- End Message ---
--- Begin Message ---On Sat, 23 Aug 2008 at 21:32:57 +0200, Harald Dunkel wrote: > startx="xinit -- -quiet" > if test -x /usr/bin/dbus-launch; then > startx="/usr/bin/dbus-launch --exit-with-session $startx" [...] > According to the man page "dbus-launch --exit-with-session" is > supposed to kill dbus-daemon when the XWindow session terminates, > but it doesn't. That's because dbus-launch is starting *before* X in your script, so it can't connect to X to find out when the session terminated. You want to run dbus-launch after X, with $DISPLAY set, something like this (untested): xinit /usr/bin/dbus-launch --exit-with-session ~/.xinitrc -- -quiet However, Debian's default Xsession automatically runs dbus-launch and other helpers, then runs your own .xinitrc or .xsession, so a better route would be to trust the OS integration and let it do the right thing (again, untested): xinit /etc/X11/Xsession -- -quiet IMO an even better route would be to remove this stuff from your .bash_profile (which would mean you can have text-only login sessions again), and install a package that provides x-display-manager. If you're the sort of person who voluntarily runs xinit then you probably want xdm; I use gdm3 myself. > Instead it reads every second character from my > login terminal, which is pretty annoying. This is <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453755>. S
--- End Message ---

