Package: dbus-x11 Version: 1.2.24-4 Severity: normal Tags: squeeze I start X11 from a text console using a small wrapper "startx-wrapper" (without the traps, X11 freezes when switching to the console and back to X11):
#!/bin/bash trap '' HUP INT TSTP TTIN TTOU QUIT shopt -u huponexit startx $@ Start X11: ./startx-wrapper -- :1 > X.log 2>&1 & Running dbus processes ( ps -fu root | egrep '[P]ID|[d]bus-' ): UID PID PPID C STIME TTY TIME CMD root 11236 11225 0 22:14 tty2 00:00:00 /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/fvwm2 root 11285 1 0 22:14 tty2 00:00:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/fvwm2 root 11286 1 0 22:14 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session Now I switch to to the text console, do just anything (a single CR suffices) and the dbus-daemon is terminated by the babysitter process dbus-launch: UID PID PPID C STIME TTY TIME CMD root 11236 11225 0 22:14 tty2 00:00:00 /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/fvwm2 Simultaneous output of "dbus-monitor": signal sender=org.freedesktop.DBus -> dest=:1.0 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.0" method call sender=:1.0 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_call'" method call sender=:1.0 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_return'" method call sender=:1.0 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='error'" signal sender=(null sender) -> dest=(null destination) serial=0 path=/org/freedesktop/DBus/Local; interface=org.freedesktop.DBus.Local; member=Disconnected IMHO, dbus-launch should not terminate dbus-daemon in this case. It should ignore input from the TTY. As a workaround, I modified /etc/X11/Xsession.d/75dbus_dbus-launch and deleted the option --exit-with-session of dbus-launch, but this has the undesired side effect that dbus-daemon runs on forever even if the X11 session is terminated. For the superuser, I can use the command detachtty around startx, but this does not work for an unprivileged user. I did not notice such a problem before in Lenny. Regards, Tilmann -- System Information: Debian Release: 6.0 APT prefers squeeze-updates APT policy: (500, 'squeeze-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dbus-x11 depends on: ii dbus 1.2.24-4 simple interprocess messaging syst ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libx11-6 2:1.3.3-4 X11 client-side library dbus-x11 recommends no packages. dbus-x11 suggests no packages. -- no debconf information ___________________________________________________________ Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.web.de -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

