This is the output of ps -ef when gnome hangs:
UID        PID  PPID  C STIME TTY          TIME CMD
root 1 0 0 18:55 ? 00:00:00 init [2] root 2 0 0 18:55 ? 00:00:00 [kthreadd]
root         3     2  0 18:55 ?        00:00:00 [migration/0]
root         4     2  0 18:55 ?        00:00:00 [ksoftirqd/0]
root         5     2  0 18:55 ?        00:00:00 [watchdog/0]
root         6     2  0 18:55 ?        00:00:00 [events/0]
root         7     2  0 18:55 ?        00:00:00 [khelper]
root        40     2  0 18:55 ?        00:00:00 [kblockd/0]
root        43     2  0 18:55 ?        00:00:00 [kacpid]
root        44     2  0 18:55 ?        00:00:00 [kacpi_notify]
root       152     2  0 18:55 ?        00:00:00 [ksuspend_usbd]
root       158     2  0 18:55 ?        00:00:00 [khubd]
root       161     2  0 18:55 ?        00:00:00 [kseriod]
root       201     2  0 18:55 ?        00:00:00 [pdflush]
root       202     2  0 18:55 ?        00:00:00 [pdflush]
root       203     2  0 18:55 ?        00:00:00 [kswapd0]
root       204     2  0 18:55 ?        00:00:00 [aio/0]
root       368     2  0 18:55 ?        00:00:00 [rpciod/0]
root       858     1  0 18:55 ?        00:00:00 udevd --daemon
root      1229     2  0 18:55 ?        00:00:00 [kpsmoused]
root      1321     2  0 18:55 ?        00:00:00 [ata/0]
root      1322     2  0 18:55 ?        00:00:00 [ata_aux]
root      1327     2  0 18:55 ?        00:00:00 [irda_sir_wq]
root      1450     2  0 18:55 ?        00:00:00 [scsi_eh_0]
root      1452     2  0 18:55 ?        00:00:00 [scsi_eh_1]
root      1463     2  0 18:55 ?        00:00:00 [scsi_eh_2]
root      1464     2  0 18:55 ?        00:00:00 [scsi_eh_3]
root      1710     2  0 18:56 ?        00:00:00 [kjournald]
daemon    1745     1  0 18:56 ?        00:00:00 /sbin/portmap
statd     1757     1  0 18:56 ?        00:00:00 /sbin/rpc.statd
root      1773     2  0 18:56 ?        00:00:00 [lockd]
root 2028 1 0 18:56 ? 00:00:00 /usr/sbin/syslog-ng -p /var/run/syslog-ng.pid
root      2043     1  0 18:56 ?        00:00:00 /usr/sbin/sshd
condor 2055 1 0 18:56 ? 00:00:00 /usr/local/condor/sbin/condor_master
condor    2067  2055  1 18:56 ?        00:00:03 condor_startd -f
condor    2068  2055  0 18:56 ?        00:00:00 condor_schedd -f
root 2084 2068 0 18:56 ? 00:00:00 condor_procd -A /local/condor/home/log/procd_pipe.SCHEDD -S 60 -C 1787
root      2091     1  0 18:56 ?        00:00:00 /usr/sbin/cupsd
104 2131 1 0 18:56 ? 00:00:00 /usr/bin/dbus-daemon --system root 2141 1 0 18:56 ? 00:00:00 /usr/sbin/gpm -m /dev/input/mice -t exps2
105       2152     1  0 18:56 ?        00:00:00 /usr/sbin/hald
root      2153  2152  0 18:56 ?        00:00:00 hald-runner
root 2196 2153 0 18:56 ? 00:00:00 hald-addon-input: Listening on /dev/input/event5 /dev/input/event4 /dev/input/event2 /dev/input/event1 /dev/input/even root 2203 2153 0 18:56 ? 00:00:00 /usr/lib/hal/hald-addon-cpufreq 105 2204 2153 0 18:56 ? 00:00:00 hald-addon-acpi: listening on acpi kernel interface /proc/acpi/event root 2206 2153 0 18:56 ? 00:00:00 hald-addon-storage: polling /dev/hda (every 2 sec) nagios 2217 1 0 18:56 ? 00:00:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root      2235     1  0 18:56 ?        00:00:00 /usr/sbin/nscd
ntp 2255 1 0 18:56 ? 00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 103:105 -g
root      2269     1  0 18:56 ?        00:00:00 /usr/sbin/powernowd -q
snmp 2275 1 0 18:56 ? 00:00:00 /usr/sbin/snmpd -LSnd -u snmp -I -smux -p /var/run/snmpd.pid root 2285 1 0 18:56 ? 00:00:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
root      2304     1  0 18:56 ?        00:00:00 /usr/sbin/cron
root 2324 1 0 18:56 tty1 00:00:00 /bin/login -- root 2331 1 0 18:56 tty2 00:00:00 /sbin/getty 38400 tty2
root      2334     1  0 18:56 tty3     00:00:00 /sbin/getty 38400 tty3
root      2335     1  0 18:56 tty4     00:00:00 /sbin/getty 38400 tty4
root      2341     1  0 18:56 tty5     00:00:00 /sbin/getty 38400 tty5
root      2343     1  0 18:56 tty6     00:00:00 /sbin/getty 38400 tty6
root      2387  2043  0 18:57 ?        00:00:00 sshd: r...@pts/0
root      2392  2387  0 18:57 pts/0    00:00:00 -bash
scolari   2412  2324  0 18:57 tty1     00:00:00 -bash
scolari   2427  2412  0 18:58 tty1     00:00:00 /bin/bash /usr/bin/startx
scolari 2444 2427 0 18:58 tty1 00:00:00 xinit /home/scolari/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.XXXXh3Hcjn
root      2445  2444  0 18:58 tty7     00:00:00 /usr/bin/X11/X -nolisten tcp
scolari   2467  2444  0 18:58 tty1     00:00:00 gnome-session.bin
scolari 2472 1 0 18:58 tty1 00:00:00 dbus-launch --autolaunch 42d729d33f4494c518bdca8c4816fab9 --binary-syntax --close-stderr scolari 2473 1 0 18:58 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session scolari 2475 1 0 18:58 ? 00:00:00 /usr/lib/libgconf2-4/gconfd-2 scolari 2479 1 0 18:58 tty1 00:00:00 /usr/bin/gnome-keyring-daemon scolari 2482 1 0 18:58 ? 00:00:00 dbus-daemon --fork --print-address 18 --print-pid 20 --session
scolari   2483  2467  0 18:58 tty1     00:00:00 gnome-settings-daemon
scolari 2486 1 0 18:58 ? 00:00:00 /usr/lib/libgconf2-4/gconfd-2
root      2502     1  0 18:58 ?        00:00:00 /usr/sbin/console-kit-daemon
scolari   2565     1  0 18:58 ?        00:00:00 gnome-screensaver
scolari   2574     1  0 18:58 ?        00:00:00 /usr/lib/gvfs/gvfsd
root      2700  2392  0 19:00 pts/0    00:00:00 ps -fe

The problem is that I can't loose .xinitrc because I need it to execute a script before X starts.

Josselin Mouette wrote:
Le mercredi 08 avril 2009 à 16:29 +0200, Vittore Scolari a écrit :
scolari 2361 0.5 0.3 28180 6780 tty1 Sl 16:23 0:00 gnome-session scolari 2367 0.0 0.0 3296 688 tty1 S 16:23 0:00 dbus-launch --autolaunch 42d729d33f4494c518bdca8c4816fab9 --binary-syntax --c scolari 2368 0.0 0.0 2852 748 ? Ss 16:23 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session scolari 2370 3.2 0.1 7032 3904 ? S 16:23 0:00 /usr/lib/libgconf2-4/gconfd-2 scolari 2373 0.0 0.0 13500 1844 tty1 S 16:23 0:00 /usr/bin/gnome-keyring-daemon scolari 2376 0.0 0.0 2852 768 ? Ss 16:23 0:00 dbus-daemon --fork --print-address 18 --print-pid 20 --session scolari 2377 5.0 0.6 43288 13160 tty1 Sl 16:23 0:00 gnome-settings-daemon scolari 2380 3.6 0.1 7048 3888 ? S 16:23 0:00 /usr/lib/libgconf2-4/gconfd-2

Two dbus daemons, two GConf daemons. This behavior has already been
reported several times, but I still don’t know why this happens.

D-Bus guys, any help is welcome about why dbus-daemon is launched twice.
Is it gnome-session that initiates it although there is already an
autostarted one (maybe by gnome-keyring-daemon)? Vittore, could you add
the output of ps -ef or pstree so that we can see the process parents?

If I replace gnome-session with dbus-lauch gnome-session I get:

When the session bus is correctly started, there is no autostart and
gnome-session doesn’t start it either, so that works correctly.

X guys: is it normal that using startx does apparently not launch the
scripts from /etc/X11/Xsession.d ?





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to