Starting up KDE hangs with a black desktop and movable mouse cursor. - X

This is a discussion on Starting up KDE hangs with a black desktop and movable mouse cursor. - X ; Hello. Earlier, I exited KDE and X back to console/text mode and restarted it (startx) but now I get a hang. I see a black with a mouse cursor (movable). I have to use ctrl-alt-backspace to kill X. I did ...

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 33

Thread: Starting up KDE hangs with a black desktop and movable mouse cursor.

  1. Starting up KDE hangs with a black desktop and movable mouse cursor.

    Hello.

    Earlier, I exited KDE and X back to console/text mode and restarted it
    (startx) but now I get a hang. I see a black with a mouse cursor
    (movable). I have to use ctrl-alt-backspace to kill X.

    I did some investigations and experiments. I tried making a new shell
    account, ran startx, saw KDE's wizard, skipped it, and it hung again. I
    tried it again and went through the wizard with defaults, and same hang
    after KDE's wizard closed.

    I tried recompiling NVIDIA driver, but that didn't make any differences.
    I tried deleting everything in /tmp and it didn't fix the problem. I
    tried renaming my .kde/ directory to start clean, but that didn't fix it
    either. I tried switching from KDE to Gnome, and Gnome worked without
    any problems. So, it seems like KDE is broken somewhere but I am still
    stomped on why. I think the last time I restarted X was like a few weeks
    ago. I restarted it today because I saw kdelib package upgraded with
    today's apt-get update. I already tried uninstalling it and running
    startx, and still got the hang. I guess KDE doesn't use those files
    during its boot up.

    history command showed I upgraded/installed these packages: cpp-4.1
    gcalctool gcc-4.1 gcc-4.1-base gnome-terminal gnome-terminal-data
    iputils-ping kdelibs libcurl3-gnutls libgail-common libgail18
    libglibmm-2.4-1c2a libgnomecanvas2-0 libgnomecanvas2-common libgsmme1c2a
    libgtkmm-2.4-1c2a libnessus2 libportaudio2 python-gnome2 vino libasound2

    dmesg:
    agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
    agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
    agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode

    $ more .xsession-errors
    Xsession: X session started for ant at Thu Nov 15 22:24:37 PST 2007
    startkde: Starting up..

    $ ps aux
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.0 2068 716 ? Ss Sep16 0:00 init [2]
    root 2 0.0 0.0 0 0 ? S< Sep16 0:00 [kthreadd]
    root 3 0.0 0.0 0 0 ? S< Sep16 0:00
    [migration/0]
    root 4 0.0 0.0 0 0 ? SN Sep16 3:34
    [ksoftirqd/0]
    root 5 0.0 0.0 0 0 ? S< Sep16 0:00
    [watchdog/0]
    root 6 0.0 0.0 0 0 ? S< Sep16 0:01 [events/0]
    root 7 0.0 0.0 0 0 ? S< Sep16 0:00 [khelper]
    root 26 0.0 0.0 0 0 ? S< Sep16 0:09 [kblockd/0]
    root 27 0.0 0.0 0 0 ? S< Sep16 0:00 [kacpid]
    root 28 0.0 0.0 0 0 ? S< Sep16 0:00
    [kacpi_notify]
    root 114 0.0 0.0 0 0 ? S< Sep16 0:00 [kseriod]
    root 138 0.0 0.0 0 0 ? S< Sep16 0:52 [kswapd0]
    root 139 0.0 0.0 0 0 ? S< Sep16 0:00 [aio/0]
    root 291 0.0 0.0 0 0 ? S< Sep16 0:00 [ata/0]
    root 292 0.0 0.0 0 0 ? S< Sep16 0:00 [ata_aux]
    root 340 0.0 0.0 0 0 ? S< Sep16 0:21 [kjournald]
    root 456 0.0 0.1 3004 1424 ? S --daemon
    root 695 0.0 0.0 0 0 ? S< Sep16 0:00
    [ksuspend_usbd]
    root 696 0.0 0.0 0 0 ? S< Sep16 0:00 [khubd]
    root 829 0.0 0.0 0 0 ? S< Sep16 0:00 [scsi_eh_0]
    root 830 0.0 0.0 0 0 ? S< Sep16 0:00 [scsi_eh_1]
    root 884 0.0 0.0 0 0 ? S< Sep16 0:00 [kpsmoused]
    root 989 0.0 0.0 0 0 ? S< Sep16 0:00
    [kgameportd]
    root 1225 0.0 0.0 0 0 ? S< Sep16 0:00 [ksnapd]
    root 1279 0.0 0.0 0 0 ? S< Sep16 0:03 [kjournald]
    root 1280 0.0 0.0 0 0 ? S< Sep16 2:32 [kjournald]
    root 1281 0.0 0.0 0 0 ? S< Sep16 0:00 [kjournald]
    root 1282 0.0 0.0 0 0 ? S< Sep16 0:00 [kjournald]
    root 1283 0.0 0.0 0 0 ? S< Sep16 0:00 [kjournald]
    root 1284 0.0 0.0 0 0 ? S< Sep16 0:38 [kjournald]
    root 1285 0.0 0.0 0 0 ? S< Sep16 0:51 [kjournald]
    root 1286 0.0 0.0 0 0 ? S< Sep16 0:00 [kjournald]
    root 1287 0.0 0.0 0 0 ? S< Sep16 0:08 [kjournald]
    daemon 1853 0.0 0.0 1812 508 ? Ss Sep16 0:00
    /sbin/portmap
    root 2351 0.0 0.0 2680 900 ? Ss Sep16 0:19
    /sbin/syslogd
    root 2361 0.0 0.0 1692 408 ? Ss Sep16 0:05
    /sbin/klogd -x
    root 2482 0.0 0.0 1688 640 ? Ss Sep16 0:00
    /usr/sbin/acpid -c /etc/acpi/events -s /var/run/a
    clamav 2567 0.0 0.1 3056 1384 ? Ss Sep16 0:14
    /usr/bin/freshclam -d --quiet
    107 2604 0.0 0.1 2900 1116 ? Ss Sep16 1:29
    /usr/bin/dbus-daemon --system
    100 2880 0.0 0.0 5480 912 ? Ss Sep16 0:00
    /usr/sbin/exim4 -bd -q30m
    root 2889 0.0 0.0 1740 384 ? Ss Sep16 2:09
    /usr/sbin/gpm -m /dev/input/mice -t exps2
    root 2955 0.0 0.0 2812 900 ? Ss Sep16 0:00
    /usr/sbin/inetd
    root 2978 0.0 0.0 3136 712 ? S Sep16 0:02
    /usr/sbin/smartd --pidfile /var/run/smartd.pid
    root 3003 0.0 0.0 3684 900 ? S Sep16 0:00
    /usr/sbin/vsftpd
    ntp 3066 0.0 0.1 5036 1552 ? Ss Sep16 0:04
    /usr/sbin/ntpd -p /var/run/ntpd.pid -u 105:104 -g
    root 3130 0.0 0.1 21740 1040 ? Ssl Sep16 3:16
    /sbin/apcupsd
    daemon 3136 0.0 0.0 1960 424 ? Ss Sep16 0:00
    /usr/sbin/atd
    root 3143 0.0 0.0 2332 780 ? Ss Sep16 0:04
    /usr/sbin/cron
    root 3253 0.0 0.0 0 0 ? S< Sep16 0:17
    [kondemand/0]
    root 3270 0.0 0.0 1692 516 tty3 Ss+ Sep16 0:00
    /sbin/getty 38400 tty3
    root 3271 0.0 0.0 1692 516 tty4 Ss+ Sep16 0:00
    /sbin/getty 38400 tty4
    root 3272 0.0 0.0 1692 512 tty5 Ss+ Sep16 0:00
    /sbin/getty 38400 tty5
    root 3273 0.0 0.0 1688 512 tty6 Ss+ Sep16 0:00
    /sbin/getty 38400 tty6
    ant 3316 0.0 0.1 4148 1172 ? Ss Sep16 0:00 SCREEN
    ../seeborg-irc
    ant 3317 0.0 1.7 22464 17920 pts/1 Ss+ Sep16 7:00
    ../seeborg-irc
    ant 4215 0.0 0.1 4472 1460 ? Ss Oct27 0:12 SCREEN
    BitchX Ant alpha.zimage.com -c#linux
    ant 4216 0.0 0.2 3996 2448 pts/4 Ss+ Oct27 0:26 BitchX
    Ant alpha.zimage.com -c#linux
    108 9462 0.0 0.3 5076 3244 ? Ss Nov07 0:12
    /usr/sbin/hald
    root 9463 0.0 0.1 3140 1068 ? S Nov07 0:00 hald-runner
    108 9470 0.0 0.0 2160 884 ? S Nov07 0:00
    hald-addon-keyboard: listening on /dev/input/even
    108 9471 0.0 0.0 2160 880 ? S Nov07 0:00
    hald-addon-keyboard: listening on /dev/input/even
    108 9472 0.0 0.0 2164 884 ? S Nov07 0:00
    hald-addon-keyboard: listening on /dev/input/even
    108 9473 0.0 0.0 2160 880 ? S Nov07 0:00
    hald-addon-keyboard: listening on /dev/input/even
    root 9475 0.0 0.0 3204 996 ? S Nov07 0:00
    /usr/lib/hal/hald-addon-cpufreq
    108 9476 0.0 0.0 2160 872 ? S Nov07 0:00
    hald-addon-acpi: listening on acpid socket /var/r
    root 9479 0.0 0.1 5260 1036 ? Ss Sep23 0:00
    /usr/sbin/sshd
    root 9482 0.0 1.6 18860 16804 ? S Nov07 0:10
    hald-addon-hid-ups: listening on /dev/usb/hiddev0
    root 9500 0.0 0.0 3188 996 ? S Nov07 0:01
    hald-addon-storage: polling /dev/hdc (every 2 sec
    root 10703 0.0 0.2 8004 2308 ? Ss 20:50 0:00 sshd:
    ant [priv]
    ant 10705 0.0 0.1 8136 1572 ? S 20:50 0:00 sshd:
    ant@pts/0
    ant 10706 0.0 0.1 4664 2024 pts/0 Ss 20:50 0:00 -bash
    root 10949 0.0 0.1 2760 1188 tty2 Ss 20:55 0:00
    /bin/login --
    root 11016 0.0 0.0 1540 168 ? S Sep24 0:00
    /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.
    root 11028 0.0 0.0 1788 460 ? Ss Sep24 0:00
    /usr/bin/vmnet-natd -d /var/run/vmnet-natd-8.pid
    root 11041 0.0 0.0 1536 168 ? S Sep24 0:00
    /usr/bin/vmnet-netifup -d /var/run/vmnet-netifup-
    root 11051 0.0 0.0 1536 168 ? S Sep24 0:00
    /usr/bin/vmnet-netifup -d /var/run/vmnet-netifup-
    root 11070 0.0 0.0 2800 376 ? Ss Sep24 0:00
    /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet8/dhcpd
    root 11071 0.0 0.0 2796 372 ? Ss Sep24 0:00
    /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet1/dhcpd
    ant 11192 0.0 0.1 4652 1960 tty2 S+ 21:01 0:00 -bash
    testant 11273 0.0 0.0 2768 532 ? Ss 21:02 0:00
    /usr/bin/dbus-daemon --fork --print-pid 4 --print
    root 11442 0.0 0.1 2760 1188 tty1 Ss 21:10 0:00
    /bin/login --
    ant 11443 0.0 0.1 4660 1996 tty1 S 21:10 0:00 -bash
    ant 11565 0.0 0.2 39848 3012 ? Ssl 21:10 0:00
    /usr/lib/bonobo-activation/bonobo-activation-serv
    root 11669 0.0 0.4 9076 4472 ? S Nov11 0:02 python
    /usr/sbin/denyhosts --daemon --config=/etc
    root 11708 0.0 0.0 4088 728 ? Ss Nov11 0:00
    /usr/bin/dirmngr --daemon --sh
    ant 13369 0.0 0.1 4268 1460 tty1 S+ 22:24 0:00 /bin/sh
    /usr/bin/startx
    ant 13385 0.0 0.0 2676 724 tty1 S+ 22:24 0:00 xinit
    /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xs
    root 13386 0.6 1.5 20396 15748 tty7 SLs+ 22:24 0:00
    /usr/bin/X11/X -dpi 100 -nolisten tcp
    ant 13390 0.0 0.1 4296 1520 tty1 T 22:24 0:00 /bin/sh
    /usr/bin/startkde
    ant 13428 0.0 0.0 4444 536 ? Ss 22:24 0:00
    /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-wi
    ant 13431 0.0 0.0 2684 644 tty1 T 22:24 0:00
    /usr/bin/dbus-launch --exit-with-session /home/an
    ant 13432 0.0 0.0 2768 532 ? Ss 22:24 0:00
    /usr/bin/dbus-daemon --fork --print-pid 4 --print
    ant 13461 0.0 0.7 26260 7640 tty1 T 22:24 0:00 ksplash
    --nodcop
    ant 13463 0.0 0.0 1536 344 tty1 T 22:24 0:00
    start_kdeinit --new-startup +kcminit_startup
    root 13464 0.0 0.0 1536 88 tty1 T 22:24 0:00
    start_kdeinit --new-startup +kcminit_startup
    ant 13478 0.0 0.0 3620 1032 pts/0 R+ 22:26 0:00 ps aux
    statd 14562 0.0 0.0 2816 1008 ? Ss Oct10 0:00
    /sbin/rpc.statd
    ant 18494 0.0 0.1 4092 1160 ? Ss Nov09 0:00 SCREEN rbot
    ant 18495 0.1 5.9 73024 61780 pts/6 Ssl+ Nov09 13:33 ruby
    /usr/bin/rbot
    root 19397 0.0 0.7 21980 7744 ? S Sep18 0:08
    /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage
    root 19744 0.0 0.3 11936 3672 ? S Nov14 0:23
    /usr/sbin/smbd -D
    root 20896 0.0 0.0 0 0 ? S Nov02 0:04 [pdflush]
    root 28093 0.0 0.0 3100 568 ? S Sep23 0:13
    /usr/sbin/hddtemp -d -l 127.0.0.1 -p 7634 -s | /d
    root 28954 0.0 0.1 7404 1424 ? Ss Sep28 0:03
    /usr/sbin/nmbd -D
    root 28956 0.0 0.2 10836 2448 ? Ss Sep28 0:01
    /usr/sbin/smbd -D
    root 28961 0.0 0.0 10836 876 ? S Sep28 0:00
    /usr/sbin/smbd -D
    root 30748 0.0 0.0 0 0 ? S Nov13 0:05 [pdflush]
    root 31157 0.0 0.2 8016 2524 ? Ss Nov11 0:00
    /usr/sbin/cupsd

    strace:
    execve("/usr/bin/startx", ["startx"], [/* 18 vars */]) = 0
    brk(0) = 0x80f3000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
    directory)
    mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
    0) = 0xb7ef9000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
    directory)
    open("/etc/ld.so.cache", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=84311, ...}) = 0
    mmap2(NULL, 84311, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ee4000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
    directory)
    open("/lib/libncurses.so.5", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30 0\241"...,
    512) = 512
    fstat64(3, {st_mode=S_IFREG|0644, st_size=194252, ...}) = 0
    mmap2(NULL, 198164, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
    0) = 0xb7eb3000
    mmap2(0xb7ee1000, 12288, PROT_READ|PROT_WRITE,
    MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d) = 0xb7ee1000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
    directory)
    open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n \0\000"...,
    512) = 512
    fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0
    mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
    = 0xb7eaf000
    mmap2(0xb7eb1000, 8192, PROT_READ|PROT_WRITE,
    MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7eb1000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
    directory)
    open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\26 0a\1"...,
    512) = 512
    fstat64(3, {st_mode=S_IFREG|0644, st_size=1336100, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
    0) = 0xb7eae000
    mmap2(NULL, 1340944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
    0) = 0xb7d66000
    mmap2(0xb7ea8000, 12288, PROT_READ|PROT_WRITE,
    MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x142) = 0xb7ea8000
    mmap2(0xb7eab000, 9744, PROT_READ|PROT_WRITE,
    MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eab000
    close(3) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
    0) = 0xb7d65000
    set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d656b0,
    limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
    limit_in_pages:1, seg_not_present:0, useable:1}) = 0
    mprotect(0xb7ea8000, 4096, PROT_READ) = 0
    munmap(0xb7ee4000, 84311) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
    close(3) = 0
    brk(0) = 0x80f3000
    brk(0x80f4000) = 0x80f4000
    open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=1276880, ...}) = 0
    mmap2(NULL, 1276880, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c2d000
    close(3) = 0
    brk(0x80f5000) = 0x80f5000
    brk(0x80f6000) = 0x80f6000
    getuid32() = 1000
    getgid32() = 1000
    geteuid32() = 1000
    getegid32() = 1000
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    time(NULL) = 1195193041
    brk(0x80f7000) = 0x80f7000
    open("/proc/meminfo", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
    0) = 0xb7ef8000
    read(3, "MemTotal: 1035604 kB\nMemFre"..., 1024) = 728
    close(3) = 0
    munmap(0xb7ef8000, 4096) = 0
    brk(0x80f8000) = 0x80f8000
    rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
    uname({sys="Linux", node="ANTian", ...}) = 0
    brk(0x80f9000) = 0x80f9000
    stat64("/home/ant/download", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    getpid() = 13209
    open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=25486, ...}) = 0
    mmap2(NULL, 25486, PROT_READ, MAP_SHARED, 3, 0) = 0xb7ef2000
    close(3) = 0
    getppid() = 13208
    getpgrp() = 13208
    rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    open("/usr/bin/startx", O_RDONLY|O_LARGEFILE) = 3
    ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe41db8) = -1 ENOTTY
    (Inappropriate ioctl for device)
    _llseek(3, 0, [0], SEEK_CUR) = 0
    read(3, "#!/bin/sh\n\n# $Xorg: startx.cpp,v"..., 80) = 80
    _llseek(3, 0, [0], SEEK_SET) = 0
    getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
    dup2(3, 255) = 255
    close(3) = 0
    fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
    fcntl64(255, F_GETFL) = 0x8000 (flags
    O_RDONLY|O_LARGEFILE)
    fstat64(255, {st_mode=S_IFREG|0755, st_size=3887, ...}) = 0
    _llseek(255, 0, [0], SEEK_CUR) = 0
    brk(0x80fa000) = 0x80fa000
    brk(0x80fb000) = 0x80fb000
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    read(255, "#!/bin/sh\n\n# $Xorg: startx.cpp,v"..., 3887) = 3887
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    brk(0x80fc000) = 0x80fc000
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    stat64("/home/ant/.xinitrc", 0xbfe419b8) = -1 ENOENT (No such file or
    directory)
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    stat64("/etc/X11/xinit/xinitrc", {st_mode=S_IFREG|0644, st_size=224,
    ....}) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    stat64("/home/ant/.xserverrc", 0xbfe419b8) = -1 ENOENT (No such file or
    directory)
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    brk(0x80fd000) = 0x80fd000
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    stat64("/etc/X11/xinit/xserverrc", {st_mode=S_IFREG|0755, st_size=107,
    ....}) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    brk(0x80fe000) = 0x80fe000
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    stat64("/home/ant/bin/hostname", 0xbfe41978) = -1 ENOENT (No such file
    or directory)
    stat64("/usr/local/bin/hostname", 0xbfe41978) = -1 ENOENT (No such file
    or directory)
    stat64("/usr/bin/hostname", 0xbfe41978) = -1 ENOENT (No such file or
    directory)
    stat64("/bin/hostname", {st_mode=S_IFREG|0755, st_size=8572, ...}) = 0
    open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3
    read(3, "65536\n", 31) = 6
    close(3) = 0
    brk(0x817e000) = 0x817e000
    getgroups32(65536, [20, 24, 25, 29, 44, 46, 1000, 1001]) = 8
    stat64("/bin/hostname", {st_mode=S_IFREG|0755, st_size=8572, ...}) = 0
    brk(0x817f000) = 0x817f000
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    _llseek(255, -1236, [2651], SEEK_CUR) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13210
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13210
    waitpid(-1, 0xbfe415ec, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    pipe([3, 4]) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13211
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], WNOHANG) = 13211
    waitpid(-1, 0xbfe4112c, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    close(4) = 0
    read(3, "", 128) = 0
    close(3) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    pipe([3, 4]) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13214
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13214
    waitpid(-1, 0xbfe4111c, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    close(4) = 0
    read(3, "localhost.localdomain\n", 128) = 22
    read(3, "", 128) = 0
    close(3) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    read(255, "\nif [ -z \"$hostname\" ]; then\n ho"..., 3887) = 1236
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    pipe([3, 4]) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    _llseek(255, -1128, [2759], SEEK_CUR) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13215
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13215
    waitpid(-1, 0xbfe414bc, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    close(4) = 0
    read(3, "c3636399f7b25b4e39c4e196cc214e6e"..., 128) = 33
    read(3, "", 128) = 0
    close(3) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    read(255, "dummy=0\n\n# create a file with au"..., 3887) = 1128
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    stat64("/home/ant/bin/xauth", 0xbfe41b48) = -1 ENOENT (No such file or
    directory)
    stat64("/usr/local/bin/xauth", 0xbfe41b48) = -1 ENOENT (No such file or
    directory)
    stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
    _llseek(255, -948, [2939], SEEK_CUR) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13216
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13216
    waitpid(-1, 0xbfe417bc, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    read(255, "serverargs=${serverargs}\" -auth "..., 3887) = 948
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    pipe([3, 4]) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    _llseek(255, -262, [3625], SEEK_CUR) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13217
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13217
    waitpid(-1, 0xbfe410dc, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    close(4) = 0
    read(3, "7aa891b5de004be0e659f16d9aca405f"..., 128) = 33
    read(3, "", 128) = 0
    close(3) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
    fcntl64(2, F_GETFD) = 0
    fcntl64(2, F_DUPFD, 10) = 10
    fcntl64(2, F_GETFD) = 0
    fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
    dup2(3, 2) = 2
    close(3) = 0
    dup2(10, 2) = 2
    fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
    close(10) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    stat64("/home/ant/bin/xauth", 0xbfe41428) = -1 ENOENT (No such file or
    directory)
    stat64("/usr/local/bin/xauth", 0xbfe41428) = -1 ENOENT (No such file or
    directory)
    stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13220
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13220
    waitpid(-1, 0xbfe4109c, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    pipe([3, 4]) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13221
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13221
    waitpid(-1, 0xbfe410dc, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    close(4) = 0
    read(3, "", 128) = 0
    close(3) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
    fcntl64(2, F_GETFD) = 0
    fcntl64(2, F_DUPFD, 10) = 10
    fcntl64(2, F_GETFD) = 0
    fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
    dup2(3, 2) = 2
    close(3) = 0
    dup2(10, 2) = 2
    fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
    close(10) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    stat64("/home/ant/bin/xauth", 0xbfe413f8) = -1 ENOENT (No such file or
    directory)
    stat64("/usr/local/bin/xauth", 0xbfe413f8) = -1 ENOENT (No such file or
    directory)
    stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13224
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13224
    waitpid(-1, 0xbfe4106c, WNOHANG) = -1 ECHILD (No child processes)
    sigreturn() = ? (mask now [])
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    read(255, "xinit $client $clientargs -- $se"..., 3887) = 262
    stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    stat64("/home/ant/bin/xinit", 0xbfe41b48) = -1 ENOENT (No such file or
    directory)
    stat64("/usr/local/bin/xinit", 0xbfe41b48) = -1 ENOENT (No such file or
    directory)
    stat64("/usr/bin/xinit", {st_mode=S_IFREG|0755, st_size=10280, ...}) = 0
    stat64("/usr/bin/xinit", {st_mode=S_IFREG|0755, st_size=10280, ...}) = 0
    rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    _llseek(255, -204, [3683], SEEK_CUR) = 0
    clone(child_stack=0,
    flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    child_tidptr=0xb7d656f8) = 13225
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    waitpid(-1,


    Any ideas? Thank you in advance.
    --
    "It is not enough to be busy, so are the ants. The question is: what are
    we busy about?" --Henry David Thoreau
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  2. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    For kicks, I tried losing my 61 days of uptime and rebooting. However,
    that did not fix the problem so it is not a stuck process or something.
    I am at a loss on how to fix it. Guideances/Ideas would be appreciated.


    On 11/15/2007 11:16 PM PT, Ant typed:

    Earlier, I exited KDE and X back to console/text mode and restarted it
    > (startx) but now I get a hang. I see a black with a mouse cursor
    > (movable). I have to use ctrl-alt-backspace to kill X.
    >
    > I did some investigations and experiments. I tried making a new shell
    > account, ran startx, saw KDE's wizard, skipped it, and it hung again. I
    > tried it again and went through the wizard with defaults, and same hang
    > after KDE's wizard closed.
    >
    > I tried recompiling NVIDIA driver, but that didn't make any differences.
    > I tried deleting everything in /tmp and it didn't fix the problem. I
    > tried renaming my .kde/ directory to start clean, but that didn't fix it
    > either. I tried switching from KDE to Gnome, and Gnome worked without
    > any problems. So, it seems like KDE is broken somewhere but I am still
    > stomped on why. I think the last time I restarted X was like a few weeks
    > ago. I restarted it today because I saw kdelib package upgraded with
    > today's apt-get update. I already tried uninstalling it and running
    > startx, and still got the hang. I guess KDE doesn't use those files
    > during its boot up.
    >
    > history command showed I upgraded/installed these packages: cpp-4.1
    > gcalctool gcc-4.1 gcc-4.1-base gnome-terminal gnome-terminal-data
    > iputils-ping kdelibs libcurl3-gnutls libgail-common libgail18
    > libglibmm-2.4-1c2a libgnomecanvas2-0 libgnomecanvas2-common libgsmme1c2a
    > libgtkmm-2.4-1c2a libnessus2 libportaudio2 python-gnome2 vino libasound2
    >
    > dmesg:
    > agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
    > agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
    > agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
    >
    > $ more .xsession-errors
    > Xsession: X session started for ant at Thu Nov 15 22:24:37 PST 2007
    > startkde: Starting up..
    >
    > $ ps aux
    > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    > root 1 0.0 0.0 2068 716 ? Ss Sep16 0:00 init [2]
    > root 2 0.0 0.0 0 0 ? S< Sep16 0:00 [kthreadd]
    > root 3 0.0 0.0 0 0 ? S< Sep16 0:00
    > [migration/0]
    > root 4 0.0 0.0 0 0 ? SN Sep16 3:34
    > [ksoftirqd/0]
    > root 5 0.0 0.0 0 0 ? S< Sep16 0:00
    > [watchdog/0]
    > root 6 0.0 0.0 0 0 ? S< Sep16 0:01 [events/0]
    > root 7 0.0 0.0 0 0 ? S< Sep16 0:00 [khelper]
    > root 26 0.0 0.0 0 0 ? S< Sep16 0:09
    > [kblockd/0]
    > root 27 0.0 0.0 0 0 ? S< Sep16 0:00 [kacpid]
    > root 28 0.0 0.0 0 0 ? S< Sep16 0:00
    > [kacpi_notify]
    > root 114 0.0 0.0 0 0 ? S< Sep16 0:00 [kseriod]
    > root 138 0.0 0.0 0 0 ? S< Sep16 0:52 [kswapd0]
    > root 139 0.0 0.0 0 0 ? S< Sep16 0:00 [aio/0]
    > root 291 0.0 0.0 0 0 ? S< Sep16 0:00 [ata/0]
    > root 292 0.0 0.0 0 0 ? S< Sep16 0:00 [ata_aux]
    > root 340 0.0 0.0 0 0 ? S< Sep16 0:21
    > [kjournald]
    > root 456 0.0 0.1 3004 1424 ? S > --daemon
    > root 695 0.0 0.0 0 0 ? S< Sep16 0:00
    > [ksuspend_usbd]
    > root 696 0.0 0.0 0 0 ? S< Sep16 0:00 [khubd]
    > root 829 0.0 0.0 0 0 ? S< Sep16 0:00
    > [scsi_eh_0]
    > root 830 0.0 0.0 0 0 ? S< Sep16 0:00
    > [scsi_eh_1]
    > root 884 0.0 0.0 0 0 ? S< Sep16 0:00
    > [kpsmoused]
    > root 989 0.0 0.0 0 0 ? S< Sep16 0:00
    > [kgameportd]
    > root 1225 0.0 0.0 0 0 ? S< Sep16 0:00 [ksnapd]
    > root 1279 0.0 0.0 0 0 ? S< Sep16 0:03
    > [kjournald]
    > root 1280 0.0 0.0 0 0 ? S< Sep16 2:32
    > [kjournald]
    > root 1281 0.0 0.0 0 0 ? S< Sep16 0:00
    > [kjournald]
    > root 1282 0.0 0.0 0 0 ? S< Sep16 0:00
    > [kjournald]
    > root 1283 0.0 0.0 0 0 ? S< Sep16 0:00
    > [kjournald]
    > root 1284 0.0 0.0 0 0 ? S< Sep16 0:38
    > [kjournald]
    > root 1285 0.0 0.0 0 0 ? S< Sep16 0:51
    > [kjournald]
    > root 1286 0.0 0.0 0 0 ? S< Sep16 0:00
    > [kjournald]
    > root 1287 0.0 0.0 0 0 ? S< Sep16 0:08
    > [kjournald]
    > daemon 1853 0.0 0.0 1812 508 ? Ss Sep16 0:00
    > /sbin/portmap
    > root 2351 0.0 0.0 2680 900 ? Ss Sep16 0:19
    > /sbin/syslogd
    > root 2361 0.0 0.0 1692 408 ? Ss Sep16 0:05
    > /sbin/klogd -x
    > root 2482 0.0 0.0 1688 640 ? Ss Sep16 0:00
    > /usr/sbin/acpid -c /etc/acpi/events -s /var/run/a
    > clamav 2567 0.0 0.1 3056 1384 ? Ss Sep16 0:14
    > /usr/bin/freshclam -d --quiet
    > 107 2604 0.0 0.1 2900 1116 ? Ss Sep16 1:29
    > /usr/bin/dbus-daemon --system
    > 100 2880 0.0 0.0 5480 912 ? Ss Sep16 0:00
    > /usr/sbin/exim4 -bd -q30m
    > root 2889 0.0 0.0 1740 384 ? Ss Sep16 2:09
    > /usr/sbin/gpm -m /dev/input/mice -t exps2
    > root 2955 0.0 0.0 2812 900 ? Ss Sep16 0:00
    > /usr/sbin/inetd
    > root 2978 0.0 0.0 3136 712 ? S Sep16 0:02
    > /usr/sbin/smartd --pidfile /var/run/smartd.pid
    > root 3003 0.0 0.0 3684 900 ? S Sep16 0:00
    > /usr/sbin/vsftpd
    > ntp 3066 0.0 0.1 5036 1552 ? Ss Sep16 0:04
    > /usr/sbin/ntpd -p /var/run/ntpd.pid -u 105:104 -g
    > root 3130 0.0 0.1 21740 1040 ? Ssl Sep16 3:16
    > /sbin/apcupsd
    > daemon 3136 0.0 0.0 1960 424 ? Ss Sep16 0:00
    > /usr/sbin/atd
    > root 3143 0.0 0.0 2332 780 ? Ss Sep16 0:04
    > /usr/sbin/cron
    > root 3253 0.0 0.0 0 0 ? S< Sep16 0:17
    > [kondemand/0]
    > root 3270 0.0 0.0 1692 516 tty3 Ss+ Sep16 0:00
    > /sbin/getty 38400 tty3
    > root 3271 0.0 0.0 1692 516 tty4 Ss+ Sep16 0:00
    > /sbin/getty 38400 tty4
    > root 3272 0.0 0.0 1692 512 tty5 Ss+ Sep16 0:00
    > /sbin/getty 38400 tty5
    > root 3273 0.0 0.0 1688 512 tty6 Ss+ Sep16 0:00
    > /sbin/getty 38400 tty6
    > ant 3316 0.0 0.1 4148 1172 ? Ss Sep16 0:00 SCREEN
    > ./seeborg-irc
    > ant 3317 0.0 1.7 22464 17920 pts/1 Ss+ Sep16 7:00
    > ./seeborg-irc
    > ant 4215 0.0 0.1 4472 1460 ? Ss Oct27 0:12 SCREEN
    > BitchX Ant alpha.zimage.com -c#linux
    > ant 4216 0.0 0.2 3996 2448 pts/4 Ss+ Oct27 0:26 BitchX
    > Ant alpha.zimage.com -c#linux
    > 108 9462 0.0 0.3 5076 3244 ? Ss Nov07 0:12
    > /usr/sbin/hald
    > root 9463 0.0 0.1 3140 1068 ? S Nov07 0:00
    > hald-runner
    > 108 9470 0.0 0.0 2160 884 ? S Nov07 0:00
    > hald-addon-keyboard: listening on /dev/input/even
    > 108 9471 0.0 0.0 2160 880 ? S Nov07 0:00
    > hald-addon-keyboard: listening on /dev/input/even
    > 108 9472 0.0 0.0 2164 884 ? S Nov07 0:00
    > hald-addon-keyboard: listening on /dev/input/even
    > 108 9473 0.0 0.0 2160 880 ? S Nov07 0:00
    > hald-addon-keyboard: listening on /dev/input/even
    > root 9475 0.0 0.0 3204 996 ? S Nov07 0:00
    > /usr/lib/hal/hald-addon-cpufreq
    > 108 9476 0.0 0.0 2160 872 ? S Nov07 0:00
    > hald-addon-acpi: listening on acpid socket /var/r
    > root 9479 0.0 0.1 5260 1036 ? Ss Sep23 0:00
    > /usr/sbin/sshd
    > root 9482 0.0 1.6 18860 16804 ? S Nov07 0:10
    > hald-addon-hid-ups: listening on /dev/usb/hiddev0
    > root 9500 0.0 0.0 3188 996 ? S Nov07 0:01
    > hald-addon-storage: polling /dev/hdc (every 2 sec
    > root 10703 0.0 0.2 8004 2308 ? Ss 20:50 0:00 sshd:
    > ant [priv]
    > ant 10705 0.0 0.1 8136 1572 ? S 20:50 0:00 sshd:
    > ant@pts/0
    > ant 10706 0.0 0.1 4664 2024 pts/0 Ss 20:50 0:00 -bash
    > root 10949 0.0 0.1 2760 1188 tty2 Ss 20:55 0:00
    > /bin/login --
    > root 11016 0.0 0.0 1540 168 ? S Sep24 0:00
    > /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.
    > root 11028 0.0 0.0 1788 460 ? Ss Sep24 0:00
    > /usr/bin/vmnet-natd -d /var/run/vmnet-natd-8.pid
    > root 11041 0.0 0.0 1536 168 ? S Sep24 0:00
    > /usr/bin/vmnet-netifup -d /var/run/vmnet-netifup-
    > root 11051 0.0 0.0 1536 168 ? S Sep24 0:00
    > /usr/bin/vmnet-netifup -d /var/run/vmnet-netifup-
    > root 11070 0.0 0.0 2800 376 ? Ss Sep24 0:00
    > /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet8/dhcpd
    > root 11071 0.0 0.0 2796 372 ? Ss Sep24 0:00
    > /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet1/dhcpd
    > ant 11192 0.0 0.1 4652 1960 tty2 S+ 21:01 0:00 -bash
    > testant 11273 0.0 0.0 2768 532 ? Ss 21:02 0:00
    > /usr/bin/dbus-daemon --fork --print-pid 4 --print
    > root 11442 0.0 0.1 2760 1188 tty1 Ss 21:10 0:00
    > /bin/login --
    > ant 11443 0.0 0.1 4660 1996 tty1 S 21:10 0:00 -bash
    > ant 11565 0.0 0.2 39848 3012 ? Ssl 21:10 0:00
    > /usr/lib/bonobo-activation/bonobo-activation-serv
    > root 11669 0.0 0.4 9076 4472 ? S Nov11 0:02 python
    > /usr/sbin/denyhosts --daemon --config=/etc
    > root 11708 0.0 0.0 4088 728 ? Ss Nov11 0:00
    > /usr/bin/dirmngr --daemon --sh
    > ant 13369 0.0 0.1 4268 1460 tty1 S+ 22:24 0:00 /bin/sh
    > /usr/bin/startx
    > ant 13385 0.0 0.0 2676 724 tty1 S+ 22:24 0:00 xinit
    > /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xs
    > root 13386 0.6 1.5 20396 15748 tty7 SLs+ 22:24 0:00
    > /usr/bin/X11/X -dpi 100 -nolisten tcp
    > ant 13390 0.0 0.1 4296 1520 tty1 T 22:24 0:00 /bin/sh
    > /usr/bin/startkde
    > ant 13428 0.0 0.0 4444 536 ? Ss 22:24 0:00
    > /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-wi
    > ant 13431 0.0 0.0 2684 644 tty1 T 22:24 0:00
    > /usr/bin/dbus-launch --exit-with-session /home/an
    > ant 13432 0.0 0.0 2768 532 ? Ss 22:24 0:00
    > /usr/bin/dbus-daemon --fork --print-pid 4 --print
    > ant 13461 0.0 0.7 26260 7640 tty1 T 22:24 0:00 ksplash
    > --nodcop
    > ant 13463 0.0 0.0 1536 344 tty1 T 22:24 0:00
    > start_kdeinit --new-startup +kcminit_startup
    > root 13464 0.0 0.0 1536 88 tty1 T 22:24 0:00
    > start_kdeinit --new-startup +kcminit_startup
    > ant 13478 0.0 0.0 3620 1032 pts/0 R+ 22:26 0:00 ps aux
    > statd 14562 0.0 0.0 2816 1008 ? Ss Oct10 0:00
    > /sbin/rpc.statd
    > ant 18494 0.0 0.1 4092 1160 ? Ss Nov09 0:00 SCREEN
    > rbot
    > ant 18495 0.1 5.9 73024 61780 pts/6 Ssl+ Nov09 13:33 ruby
    > /usr/bin/rbot
    > root 19397 0.0 0.7 21980 7744 ? S Sep18 0:08
    > /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage
    > root 19744 0.0 0.3 11936 3672 ? S Nov14 0:23
    > /usr/sbin/smbd -D
    > root 20896 0.0 0.0 0 0 ? S Nov02 0:04 [pdflush]
    > root 28093 0.0 0.0 3100 568 ? S Sep23 0:13
    > /usr/sbin/hddtemp -d -l 127.0.0.1 -p 7634 -s | /d
    > root 28954 0.0 0.1 7404 1424 ? Ss Sep28 0:03
    > /usr/sbin/nmbd -D
    > root 28956 0.0 0.2 10836 2448 ? Ss Sep28 0:01
    > /usr/sbin/smbd -D
    > root 28961 0.0 0.0 10836 876 ? S Sep28 0:00
    > /usr/sbin/smbd -D
    > root 30748 0.0 0.0 0 0 ? S Nov13 0:05 [pdflush]
    > root 31157 0.0 0.2 8016 2524 ? Ss Nov11 0:00
    > /usr/sbin/cupsd
    >
    > strace:
    > execve("/usr/bin/startx", ["startx"], [/* 18 vars */]) = 0
    > brk(0) = 0x80f3000
    > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
    > directory)
    > mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
    > 0) = 0xb7ef9000
    > access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
    > directory)
    > open("/etc/ld.so.cache", O_RDONLY) = 3
    > fstat64(3, {st_mode=S_IFREG|0644, st_size=84311, ...}) = 0
    > mmap2(NULL, 84311, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ee4000
    > close(3) = 0
    > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
    > directory)
    > open("/lib/libncurses.so.5", O_RDONLY) = 3
    > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30 0\241"...,
    > 512) = 512
    > fstat64(3, {st_mode=S_IFREG|0644, st_size=194252, ...}) = 0
    > mmap2(NULL, 198164, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
    > 0) = 0xb7eb3000
    > mmap2(0xb7ee1000, 12288, PROT_READ|PROT_WRITE,
    > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d) = 0xb7ee1000
    > close(3) = 0
    > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
    > directory)
    > open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3
    > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n \0\000"...,
    > 512) = 512
    > fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0
    > mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
    > = 0xb7eaf000
    > mmap2(0xb7eb1000, 8192, PROT_READ|PROT_WRITE,
    > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7eb1000
    > close(3) = 0
    > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
    > directory)
    > open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
    > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\26 0a\1"...,
    > 512) = 512
    > fstat64(3, {st_mode=S_IFREG|0644, st_size=1336100, ...}) = 0
    > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
    > 0) = 0xb7eae000
    > mmap2(NULL, 1340944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
    > 0) = 0xb7d66000
    > mmap2(0xb7ea8000, 12288, PROT_READ|PROT_WRITE,
    > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x142) = 0xb7ea8000
    > mmap2(0xb7eab000, 9744, PROT_READ|PROT_WRITE,
    > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eab000
    > close(3) = 0
    > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
    > 0) = 0xb7d65000
    > set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d656b0,
    > limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
    > limit_in_pages:1, seg_not_present:0, useable:1}) = 0
    > mprotect(0xb7ea8000, 4096, PROT_READ) = 0
    > munmap(0xb7ee4000, 84311) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
    > close(3) = 0
    > brk(0) = 0x80f3000
    > brk(0x80f4000) = 0x80f4000
    > open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
    > fstat64(3, {st_mode=S_IFREG|0644, st_size=1276880, ...}) = 0
    > mmap2(NULL, 1276880, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c2d000
    > close(3) = 0
    > brk(0x80f5000) = 0x80f5000
    > brk(0x80f6000) = 0x80f6000
    > getuid32() = 1000
    > getgid32() = 1000
    > geteuid32() = 1000
    > getegid32() = 1000
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > time(NULL) = 1195193041
    > brk(0x80f7000) = 0x80f7000
    > open("/proc/meminfo", O_RDONLY) = 3
    > fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
    > 0) = 0xb7ef8000
    > read(3, "MemTotal: 1035604 kB\nMemFre"..., 1024) = 728
    > close(3) = 0
    > munmap(0xb7ef8000, 4096) = 0
    > brk(0x80f8000) = 0x80f8000
    > rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
    > rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    > rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    > rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
    > uname({sys="Linux", node="ANTian", ...}) = 0
    > brk(0x80f9000) = 0x80f9000
    > stat64("/home/ant/download", {st_mode=S_IFDIR|0700, st_size=57344, ...})
    > = 0
    > stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    > getpid() = 13209
    > open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
    > fstat64(3, {st_mode=S_IFREG|0644, st_size=25486, ...}) = 0
    > mmap2(NULL, 25486, PROT_READ, MAP_SHARED, 3, 0) = 0xb7ef2000
    > close(3) = 0
    > getppid() = 13208
    > getpgrp() = 13208
    > rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > open("/usr/bin/startx", O_RDONLY|O_LARGEFILE) = 3
    > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe41db8) = -1 ENOTTY
    > (Inappropriate ioctl for device)
    > _llseek(3, 0, [0], SEEK_CUR) = 0
    > read(3, "#!/bin/sh\n\n# $Xorg: startx.cpp,v"..., 80) = 80
    > _llseek(3, 0, [0], SEEK_SET) = 0
    > getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
    > dup2(3, 255) = 255
    > close(3) = 0
    > fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
    > fcntl64(255, F_GETFL) = 0x8000 (flags
    > O_RDONLY|O_LARGEFILE)
    > fstat64(255, {st_mode=S_IFREG|0755, st_size=3887, ...}) = 0
    > _llseek(255, 0, [0], SEEK_CUR) = 0
    > brk(0x80fa000) = 0x80fa000
    > brk(0x80fb000) = 0x80fb000
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > read(255, "#!/bin/sh\n\n# $Xorg: startx.cpp,v"..., 3887) = 3887
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > brk(0x80fc000) = 0x80fc000
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > stat64("/home/ant/.xinitrc", 0xbfe419b8) = -1 ENOENT (No such file or
    > directory)
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > stat64("/etc/X11/xinit/xinitrc", {st_mode=S_IFREG|0644, st_size=224,
    > ...}) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > stat64("/home/ant/.xserverrc", 0xbfe419b8) = -1 ENOENT (No such file or
    > directory)
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > brk(0x80fd000) = 0x80fd000
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > stat64("/etc/X11/xinit/xserverrc", {st_mode=S_IFREG|0755, st_size=107,
    > ...}) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > brk(0x80fe000) = 0x80fe000
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    > stat64("/home/ant/bin/hostname", 0xbfe41978) = -1 ENOENT (No such file
    > or directory)
    > stat64("/usr/local/bin/hostname", 0xbfe41978) = -1 ENOENT (No such file
    > or directory)
    > stat64("/usr/bin/hostname", 0xbfe41978) = -1 ENOENT (No such file or
    > directory)
    > stat64("/bin/hostname", {st_mode=S_IFREG|0755, st_size=8572, ...}) = 0
    > open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3
    > read(3, "65536\n", 31) = 6
    > close(3) = 0
    > brk(0x817e000) = 0x817e000
    > getgroups32(65536, [20, 24, 25, 29, 44, 46, 1000, 1001]) = 8
    > stat64("/bin/hostname", {st_mode=S_IFREG|0755, st_size=8572, ...}) = 0
    > brk(0x817f000) = 0x817f000
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > _llseek(255, -1236, [2651], SEEK_CUR) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13210
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13210
    > waitpid(-1, 0xbfe415ec, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > pipe([3, 4]) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13211
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], WNOHANG) = 13211
    > waitpid(-1, 0xbfe4112c, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    > close(4) = 0
    > read(3, "", 128) = 0
    > close(3) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > pipe([3, 4]) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13214
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13214
    > waitpid(-1, 0xbfe4111c, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    > close(4) = 0
    > read(3, "localhost.localdomain\n", 128) = 22
    > read(3, "", 128) = 0
    > close(3) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > read(255, "\nif [ -z \"$hostname\" ]; then\n ho"..., 3887) = 1236
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > pipe([3, 4]) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > _llseek(255, -1128, [2759], SEEK_CUR) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13215
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13215
    > waitpid(-1, 0xbfe414bc, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    > close(4) = 0
    > read(3, "c3636399f7b25b4e39c4e196cc214e6e"..., 128) = 33
    > read(3, "", 128) = 0
    > close(3) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > read(255, "dummy=0\n\n# create a file with au"..., 3887) = 1128
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    > stat64("/home/ant/bin/xauth", 0xbfe41b48) = -1 ENOENT (No such file or
    > directory)
    > stat64("/usr/local/bin/xauth", 0xbfe41b48) = -1 ENOENT (No such file or
    > directory)
    > stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    > stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
    > _llseek(255, -948, [2939], SEEK_CUR) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13216
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13216
    > waitpid(-1, 0xbfe417bc, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > read(255, "serverargs=${serverargs}\" -auth "..., 3887) = 948
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > pipe([3, 4]) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > _llseek(255, -262, [3625], SEEK_CUR) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13217
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13217
    > waitpid(-1, 0xbfe410dc, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    > close(4) = 0
    > read(3, "7aa891b5de004be0e659f16d9aca405f"..., 128) = 33
    > read(3, "", 128) = 0
    > close(3) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
    > fcntl64(2, F_GETFD) = 0
    > fcntl64(2, F_DUPFD, 10) = 10
    > fcntl64(2, F_GETFD) = 0
    > fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
    > dup2(3, 2) = 2
    > close(3) = 0
    > dup2(10, 2) = 2
    > fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
    > close(10) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    > stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    > stat64("/home/ant/bin/xauth", 0xbfe41428) = -1 ENOENT (No such file or
    > directory)
    > stat64("/usr/local/bin/xauth", 0xbfe41428) = -1 ENOENT (No such file or
    > directory)
    > stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    > stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13220
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13220
    > waitpid(-1, 0xbfe4109c, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > pipe([3, 4]) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13221
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13221
    > waitpid(-1, 0xbfe410dc, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigaction(SIGCHLD, {0x807acd0, [], 0}, {0x807acd0, [], 0}, 8) = 0
    > close(4) = 0
    > read(3, "", 128) = 0
    > close(3) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
    > fcntl64(2, F_GETFD) = 0
    > fcntl64(2, F_DUPFD, 10) = 10
    > fcntl64(2, F_GETFD) = 0
    > fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
    > dup2(3, 2) = 2
    > close(3) = 0
    > dup2(10, 2) = 2
    > fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
    > close(10) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    > stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    > stat64("/home/ant/bin/xauth", 0xbfe413f8) = -1 ENOENT (No such file or
    > directory)
    > stat64("/usr/local/bin/xauth", 0xbfe413f8) = -1 ENOENT (No such file or
    > directory)
    > stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    > stat64("/usr/bin/xauth", {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13224
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > --- SIGCHLD (Child exited) @ 0 (0) ---
    > waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 13224
    > waitpid(-1, 0xbfe4106c, WNOHANG) = -1 ECHILD (No child processes)
    > sigreturn() = ? (mask now [])
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigaction(SIGINT, {SIG_DFL}, {0x807b920, [], 0}, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    > read(255, "xinit $client $clientargs -- $se"..., 3887) = 262
    > stat64(".", {st_mode=S_IFDIR|0700, st_size=57344, ...}) = 0
    > stat64("/home/ant/bin/xinit", 0xbfe41b48) = -1 ENOENT (No such file or
    > directory)
    > stat64("/usr/local/bin/xinit", 0xbfe41b48) = -1 ENOENT (No such file or
    > directory)
    > stat64("/usr/bin/xinit", {st_mode=S_IFREG|0755, st_size=10280, ...}) = 0
    > stat64("/usr/bin/xinit", {st_mode=S_IFREG|0755, st_size=10280, ...}) = 0
    > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
    > _llseek(255, -204, [3683], SEEK_CUR) = 0
    > clone(child_stack=0,
    > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD,
    > child_tidptr=0xb7d656f8) = 13225
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
    > rt_sigaction(SIGINT, {0x807b920, [], 0}, {SIG_DFL}, 8) = 0
    > waitpid(-1,
    >
    >
    > Any ideas? Thank you in advance.

    --
    "When the ant grows wings it is about to die." --Arabic
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  3. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    Ant wrote:
    > Hello.
    >
    > Earlier, I exited KDE and X back to console/text mode and restarted it
    > (startx) but now I get a hang. I see a black with a mouse cursor
    > (movable). I have to use ctrl-alt-backspace to kill X.


    At least not a hard lock that is one of the most common things you can get
    with the nvdriver.


    > I tried recompiling NVIDIA driver, but that didn't make any differences.
    > I tried deleting everything in /tmp and it didn't fix the problem. I
    > tried renaming my .kde/ directory to start clean, but that didn't fix it
    > either. I tried switching from KDE to Gnome, and Gnome worked without
    > any problems. So, it seems like KDE is broken somewhere but I am still
    > stomped on why. I think the last time I restarted X was like a few weeks
    > ago. I restarted it today because I saw kdelib package upgraded with
    > today's apt-get update. I already tried uninstalling it and running
    > startx, and still got the hang. I guess KDE doesn't use those files
    > during its boot up.


    What do you get in the Xorg.0.log and kdm.log? Anything there that hints you?

    Next time you post large outputs from your system, paste those to a file,
    which you put up on a web server and just post the link in the post to the
    newsgroup.

    --

    //Aho

  4. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    Ant wrote:
    > For kicks, I tried losing my 61 days of uptime and rebooting.


    61 days? thats nothing, guess how I felt after 381 days when the CPU fan died...


    --

    //Aho

  5. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/16/2007 9:55 PM PT, J.O. Aho typed:

    > Ant wrote:
    >> For kicks, I tried losing my 61 days of uptime and rebooting.

    >
    > 61 days? thats nothing, guess how I felt after 381 days when the CPU fan died...


    My record was 227 days in Red Hat Linux 7.1(?). It was a hard lock up
    too.
    --
    "I look at an ant and I see myself: a native South African, endowed by
    nature with a strength much greater than my size so I might cope with
    the weight of a racism that crushes my spirit." --Miriam Makeba
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  6. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/16/2007 9:45 PM PT, J.O. Aho typed:

    >> Earlier, I exited KDE and X back to console/text mode and restarted it
    >> (startx) but now I get a hang. I see a black with a mouse cursor
    >> (movable). I have to use ctrl-alt-backspace to kill X.

    >
    > At least not a hard lock that is one of the most common things you can get
    > with the nvdriver.


    I had those before last year before I upgraded my hardwares.


    >> I tried recompiling NVIDIA driver, but that didn't make any differences.
    >> I tried deleting everything in /tmp and it didn't fix the problem. I
    >> tried renaming my .kde/ directory to start clean, but that didn't fix it
    >> either. I tried switching from KDE to Gnome, and Gnome worked without
    >> any problems. So, it seems like KDE is broken somewhere but I am still
    >> stomped on why. I think the last time I restarted X was like a few weeks
    >> ago. I restarted it today because I saw kdelib package upgraded with
    >> today's apt-get update. I already tried uninstalling it and running
    >> startx, and still got the hang. I guess KDE doesn't use those files
    >> during its boot up.

    >
    > What do you get in the Xorg.0.log and kdm.log? Anything there that hints you?


    Xorg.0.log: http://pastebin.ca/778033
    kdm.log: I don't seem to have it and kdm package is not installed. Where
    is it stored (checked in /var and used locate command after running
    updatedb)? I don't use GUI managers. I boot my Linux to text mode and
    use startx command to boot up X.


    > Next time you post large outputs from your system, paste those to a file,
    > which you put up on a web server and just post the link in the post to the
    > newsgroup.


    I tried to post/upload the original logs to http://pastebin.ca, but it
    said it was too big.
    --
    "Ants die in sugar." --Malawi
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  7. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/16/2007 10:30 PM PT, Ant typed:

    > On 11/16/2007 9:45 PM PT, J.O. Aho typed:
    >
    >>> Earlier, I exited KDE and X back to console/text mode and restarted it
    >>> (startx) but now I get a hang. I see a black with a mouse cursor
    >>> (movable). I have to use ctrl-alt-backspace to kill X.

    >>
    >> At least not a hard lock that is one of the most common things you can
    >> get
    >> with the nvdriver.

    >
    > I had those before last year before I upgraded my hardwares.
    >
    >
    >>> I tried recompiling NVIDIA driver, but that didn't make any differences.
    >>> I tried deleting everything in /tmp and it didn't fix the problem. I
    >>> tried renaming my .kde/ directory to start clean, but that didn't fix it
    >>> either. I tried switching from KDE to Gnome, and Gnome worked without
    >>> any problems. So, it seems like KDE is broken somewhere but I am still
    >>> stomped on why. I think the last time I restarted X was like a few weeks
    >>> ago. I restarted it today because I saw kdelib package upgraded with
    >>> today's apt-get update. I already tried uninstalling it and running
    >>> startx, and still got the hang. I guess KDE doesn't use those files
    >>> during its boot up.

    >>
    >> What do you get in the Xorg.0.log and kdm.log? Anything there that
    >> hints you?

    >
    > Xorg.0.log: http://pastebin.ca/778033
    > kdm.log: I don't seem to have it and kdm package is not installed. Where
    > is it stored (checked in /var and used locate command after running
    > updatedb)? I don't use GUI managers. I boot my Linux to text mode and
    > use startx command to boot up X.
    >
    >
    >> Next time you post large outputs from your system, paste those to a file,
    >> which you put up on a web server and just post the link in the post to
    >> the
    >> newsgroup.

    >
    > I tried to post/upload the original logs to http://pastebin.ca, but it
    > said it was too big.


    Interesting. I tried removing kde kde-amusements kde-core kdebase
    ksmserver packages (mainly ksmserver) and ran startx, and X kicked me
    out because it couldn't start KDE due to missing items. I reinstalled
    ksmserver (didn't install the other uninstalled ones), and same hang
    occurred. So, that's a small clue.
    --
    "The little ant at its hole is full of courage." --African
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  8. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    Ant wrote:

    >> What do you get in the Xorg.0.log and kdm.log? Anything there that
    >> hints you?

    >
    > Xorg.0.log: http://pastebin.ca/778033
    > kdm.log: I don't seem to have it and kdm package is not installed. Where
    > is it stored (checked in /var and used locate command after running
    > updatedb)? I don't use GUI managers. I boot my Linux to text mode and
    > use startx command to boot up X.


    kdm.log is generated by kdm, if you don't use it, then you don't get the log,
    if you used it had been located in /var/log too.

    Next thing that comes to my mind is that someone/something has changed file
    privileges on some of the files belonging to kdelibs (or any other of the core
    kde packages), or maybe qt.

    Not sure if deb can manage to check the installed files and see if all of them
    are the same sa when you installed them (this you can do with rpm). In owrst
    case, uninstall all KDE packages and reinstall them.

    --

    //Aho

  9. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    Ant wrote:

    >> Not sure if deb can manage to check the installed files and see if all
    >> of them
    >> are the same sa when you installed them (this you can do with rpm). In
    >> owrst
    >> case, uninstall all KDE packages and reinstall them.

    >
    > Do you happen to know what all KDE packages are installed? I already did
    > this, but it didn't fix:


    Don't know the names of packages that debian uses for KDE, I do suggest you
    check which packages depends on kdelibs (should be named the same in debian as
    in other distributions).

    --

    //Aho

  10. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/17/2007 9:57 AM PT, J.O. Aho typed:

    > Ant wrote:
    >
    >>> Not sure if deb can manage to check the installed files and see if all
    >>> of them
    >>> are the same sa when you installed them (this you can do with rpm). In
    >>> owrst
    >>> case, uninstall all KDE packages and reinstall them.

    >> Do you happen to know what all KDE packages are installed? I already did
    >> this, but it didn't fix:

    >
    > Don't know the names of packages that debian uses for KDE, I do suggest you
    > check which packages depends on kdelibs (should be named the same in debian as
    > in other distributions).


    I did this:
    # apt-get remove kdelibs
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer
    required:
    kdegraphics kdvi
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    kde kde-amusements kde-core kdelibs
    0 upgraded, 0 newly installed, 4 to remove and 4 not upgraded.
    Need to get 0B of archives.
    After unpacking 213kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 141210 files and directories currently installed.)
    Removing kde ...
    Removing kde-amusements ...
    Removing kde-core ...
    Removing kdelibs ...

    And tried again, but still hung. I guess none of those packages are
    causing the problem. Ugh.
    --
    "An ant is over six feet tall when measured by its own foot-rule."
    --Slovenian
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is/was listening to a song on his home computer: PandaKore - -djp-
    Bring The Bass Up (ID: 106558)

  11. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/17/2007 11:27 AM PT, Ant typed:

    >>>> Not sure if deb can manage to check the installed files and see if all
    >>>> of them
    >>>> are the same sa when you installed them (this you can do with rpm). In
    >>>> owrst
    >>>> case, uninstall all KDE packages and reinstall them.


    >>> Do you happen to know what all KDE packages are installed? I already did
    >>> this, but it didn't fix:

    >>
    >> Don't know the names of packages that debian uses for KDE, I do
    >> suggest you
    >> check which packages depends on kdelibs (should be named the same in
    >> debian as
    >> in other distributions).

    >
    > I did this:
    > # apt-get remove kdelibs
    > Reading package lists... Done
    > Building dependency tree
    > Reading state information... Done
    > The following packages were automatically installed and are no longer
    > required:
    > kdegraphics kdvi
    > Use 'apt-get autoremove' to remove them.
    > The following packages will be REMOVED:
    > kde kde-amusements kde-core kdelibs
    > 0 upgraded, 0 newly installed, 4 to remove and 4 not upgraded.
    > Need to get 0B of archives.
    > After unpacking 213kB disk space will be freed.
    > Do you want to continue [Y/n]? y
    > (Reading database ... 141210 files and directories currently installed.)
    > Removing kde ...
    > Removing kde-amusements ...
    > Removing kde-core ...
    > Removing kdelibs ...
    >
    > And tried again, but still hung. I guess none of those packages are
    > causing the problem. Ugh.


    I ran apt-get update today, saw lots of updated packages, and
    installed/upgraded these: bsh bug-buddy enscript exim4 exim4-base
    exim4-config exim4-daemon-light file-roller gconf2 gconf2-common
    gnome-about gnome-desktop-data gnome-menus kamera kcoloredit kdegraphics
    kdegraphics-kfile-plugins kdvi kfax kfaxview kgamma kghostview kiconedit
    kmrml kolourpaint kooka kpdf kpovmodeler kruler ksnapshot ksvg kuickshow
    kview kviewshell libelf1 libgconf2-4 libgdchart-gd2-noxpm
    libgnome-desktop-2 libgnome-menu2 libkscan1 libopencdk10 libruby1.8
    libxosd2 python-gmenu ruby1.8 smartmontools whois


    I was hoping my issue would be fixed. Nope! Is there a way to strace
    startkde? I think strace startx only tracks startx and not startkde. I
    think startkde is the suspect we need to look at.
    --
    "Don't stop to stomp ants when the elephants are stampeding." --unknown
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  12. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/17/2007 11:58 AM PT, Ant typed:

    >>>>> Not sure if deb can manage to check the installed files and see if all
    >>>>> of them
    >>>>> are the same sa when you installed them (this you can do with rpm). In
    >>>>> owrst
    >>>>> case, uninstall all KDE packages and reinstall them.

    >
    >>>> Do you happen to know what all KDE packages are installed? I already
    >>>> did
    >>>> this, but it didn't fix:
    >>>
    >>> Don't know the names of packages that debian uses for KDE, I do
    >>> suggest you
    >>> check which packages depends on kdelibs (should be named the same in
    >>> debian as
    >>> in other distributions).

    >>
    >> I did this:
    >> # apt-get remove kdelibs
    >> Reading package lists... Done
    >> Building dependency tree
    >> Reading state information... Done
    >> The following packages were automatically installed and are no longer
    >> required:
    >> kdegraphics kdvi
    >> Use 'apt-get autoremove' to remove them.
    >> The following packages will be REMOVED:
    >> kde kde-amusements kde-core kdelibs
    >> 0 upgraded, 0 newly installed, 4 to remove and 4 not upgraded.
    >> Need to get 0B of archives.
    >> After unpacking 213kB disk space will be freed.
    >> Do you want to continue [Y/n]? y
    >> (Reading database ... 141210 files and directories currently installed.)
    >> Removing kde ...
    >> Removing kde-amusements ...
    >> Removing kde-core ...
    >> Removing kdelibs ...
    >>
    >> And tried again, but still hung. I guess none of those packages are
    >> causing the problem. Ugh.

    >
    > I ran apt-get update today, saw lots of updated packages, and
    > installed/upgraded these: bsh bug-buddy enscript exim4 exim4-base
    > exim4-config exim4-daemon-light file-roller gconf2 gconf2-common
    > gnome-about gnome-desktop-data gnome-menus kamera kcoloredit kdegraphics
    > kdegraphics-kfile-plugins kdvi kfax kfaxview kgamma kghostview kiconedit
    > kmrml kolourpaint kooka kpdf kpovmodeler kruler ksnapshot ksvg kuickshow
    > kview kviewshell libelf1 libgconf2-4 libgdchart-gd2-noxpm
    > libgnome-desktop-2 libgnome-menu2 libkscan1 libopencdk10 libruby1.8
    > libxosd2 python-gmenu ruby1.8 smartmontools whois
    >
    > I was hoping my issue would be fixed. Nope! Is there a way to strace
    > startkde? I think strace startx only tracks startx and not startkde. I
    > think startkde is the suspect we need to look at.


    If these helps at all (over my head):
    # lsof |grep startkde
    startkde 27687 ant cwd DIR 3,5 4096
    32705 /home/ant
    startkde 27687 ant rtd DIR 3,1 1024 2 /
    startkde 27687 ant txt REG 3,1 677184
    18078 /bin/bash
    startkde 27687 ant mem REG 3,6 1276880
    466518 /usr/lib/locale/locale-archive
    startkde 27687 ant mem REG 3,1 1336100
    14064 /lib/i686/cmov/libc-2.6.1.so
    startkde 27687 ant mem REG 3,1 9684
    14067 /lib/i686/cmov/libdl-2.6.1.so
    startkde 27687 ant mem REG 3,1 194252
    14233 /lib/libncurses.so.5.6
    startkde 27687 ant mem REG 3,6 25486
    497990 /usr/lib/gconv/gconv-modules.cache
    startkde 27687 ant mem REG 3,1 117340
    14202 /lib/ld-2.6.1.so
    startkde 27687 ant 0u CHR 4,1
    1657 /dev/tty1
    startkde 27687 ant 1w REG 3,5 49854
    32870 /home/ant/.xsession-errors
    startkde 27687 ant 2w REG 3,5 49854
    32870 /home/ant/.xsession-errors
    startkde 27687 ant 255r REG 3,6 14318
    257578 /usr/bin/startkde

    $ dpkg -l | grep ^ii |grep kde
    ii atlantikdesigner 4:3.5.7-2
    game board designer for Atlantik
    ii kde 5:47
    the K Desktop Environment official modules
    ii kde-amusements 5:47
    the K Desktop Environment games and toys mod
    ii kde-core 5:47
    the K Desktop Environment core modules
    ii kdeaccessibility 4:3.5.7-1
    accessibility packages from the official KDE
    ii kdeaddons 4:3.5.7-2
    add-on plugins and applets provided with KDE
    ii kdeaddons-kfile-plugins 4:3.5.7-2
    KDE file dialog plugins for text files and f
    ii kdeadmin 4:3.5.7-1
    system administration tools from the officia
    ii kdeadmin-kfile-plugins 4:3.5.7-1
    KDE file metainfo plugins for deb and rpm fi
    ii kdeartwork 4:3.5.7-2
    themes, styles and more from the official KD
    ii kdeartwork-emoticons 4:3.5.7-2
    emoticon collections for KDE chat clients
    ii kdeartwork-misc 4:3.5.7-2
    various multimedia goodies released with KDE
    ii kdeartwork-style 4:3.5.7-2
    widget styles released with KDE
    ii kdeartwork-theme-icon 4:3.5.7-2
    icon themes released with KDE
    ii kdeartwork-theme-window 4:3.5.7-2
    window decoration themes released with KDE
    ii kdebase 4:3.5.7.dfsg.1-1
    base components from the official KDE releas
    ii kdebase-bin 4:3.5.7.dfsg.1-1
    core binaries for the KDE base module
    ii kdebase-data 4:3.5.7.dfsg.1-1
    shared data files for the KDE base module
    ii kdebase-kio-plugins 4:3.5.7.dfsg.1-1
    core I/O slaves for KDE
    ii kdeedu 4:3.5.5-1
    educational apps from the official KDE relea
    ii kdeedu-data 4:3.5.5-1
    shared data for KDE educational applications
    ii kdegames 4:3.5.7-2
    games from the official KDE release
    ii kdegames-card-data 4:3.5.7-2
    Card decks for KDE games
    ii kdegraphics 4:3.5.7-4+lenny1
    graphics apps from the official KDE release
    ii kdegraphics-kfile-plugins 4:3.5.7-4+lenny1
    KDE metainfo plugins for graphic files
    ii kdelibs 4:3.5.8.dfsg.1-3
    core libraries from the official KDE release
    ii kdelibs-data 4:3.5.8.dfsg.1-3
    core shared data for all KDE applications
    ii kdelibs4c2a 4:3.5.8.dfsg.1-3
    core libraries and binaries for all KDE appl
    ii kdelirc 4:3.5.7-3
    infrared control for KDE
    ii kdemultimedia 4:3.5.7-3
    multimedia apps from the official KDE releas
    ii kdemultimedia-kappfinder-data 4:3.5.7-3
    multimedia data for kappfinder
    ii kdemultimedia-kfile-plugins 4:3.5.7-3
    au/avi/m3u/mp3/ogg/wav plugins for kfile
    ii kdemultimedia-kio-plugins 4:3.5.7-3
    enables the browsing of audio CDs under Konq
    ii kdenetwork 4:3.5.7-4
    network-related apps from the official KDE r
    ii kdenetwork-kfile-plugins 4:3.5.7-4
    torrent metainfo plugin for KDE
    ii kdepasswd 4:3.5.7.dfsg.1-1
    password changer for KDE
    ii kdepim 4:3.5.7-4
    Personal Information Management apps from th
    ii kdepim-kfile-plugins 4:3.5.7-4
    KDE File dialog plugins for palm and vcf fil
    ii kdepim-kio-plugins 4:3.5.7-4
    KDE pim I/O Slaves
    ii kdepim-kresources 4:3.5.7-4
    KDE pim resource plugins
    ii kdepim-wizards 4:3.5.7-4
    KDE server configuration wizards
    ii kdeprint 4:3.5.7.dfsg.1-1
    print system for KDE
    ii kdesktop 4:3.5.7.dfsg.1-1
    miscellaneous binaries and files for the KDE
    ii kdessh 4:3.5.7-3
    ssh frontend for KDE
    ii kdetoys 4:3.5.7-2
    toys from the official KDE release
    ii kdeutils 4:3.5.7-3
    general purpose utilities from the official
    ii kdewallpapers 4:3.5.7-2
    wallpapers released with KDE
    ii kdewebdev 4:3.5.7-2
    web development apps from the official KDE r
    ii krecordmydesktop 0.1~alpha1+debian-1
    kde frontend to recordmydesktop
    ii libkdeedu3 4:3.5.5-1
    library for use with KDE educational apps
    ii libkdegames1 4:3.5.7-2
    KDE games library and common files
    ii libkdepim1a 4:3.5.7-4
    KDE PIM library
    ii liblockdev1 1.0.3-1.2
    Run-time shared library for locking devices
    --
    "For me, the smartest animal's a pigeon." "Huh?" "1,000 cars on the
    turnpike, they find mine." "My vote goes to the ants." "How do you
    figure that?" "Know those farms they build? They build those things
    without plans. To ants! For all you do, this one's for you." --Cheers
    (unknown episode)
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  13. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/17/2007 12:29 AM PT, J.O. Aho typed:

    >>> What do you get in the Xorg.0.log and kdm.log? Anything there that
    >>> hints you?


    >> Xorg.0.log: http://pastebin.ca/778033
    >> kdm.log: I don't seem to have it and kdm package is not installed. Where
    >> is it stored (checked in /var and used locate command after running
    >> updatedb)? I don't use GUI managers. I boot my Linux to text mode and
    >> use startx command to boot up X.

    >
    > Next thing that comes to my mind is that someone/something has changed file
    > privileges on some of the files belonging to kdelibs (or any other of the core
    > kde packages), or maybe qt.


    What programs use qt components? For kicks in Gnome, I ran kruler, k3b,
    and konqueror. All seems to ran fine.


    > Not sure if deb can manage to check the installed files and see if all of them
    > are the same sa when you installed them (this you can do with rpm). In owrst
    > case, uninstall all KDE packages and reinstall them.


    I uninstalled kdelibs4c2a and it wanted to remove all these:
    akregator amor ark artsbuilder atlantik atlantikdesigner blinken dcoprss
    eyesapplet fifteenapplet guarddog juk k3b kaboodle kaddressbook
    kaddressbook-plugins kalarm kalzium kamera kanagram kandy kappfinder
    karm kasteroids kate kate-plugins katomic kaudiocreator kbackgammon
    kbattleship kblackbox kbounce kbruch kbstate kcalc kcharselect
    kcoloredit kcontrol kcron kdat kde kde-amusements kde-core
    kdeaccessibility kdeaddons kdeaddons-kfile-plugins kdeadmin
    kdeadmin-kfile-plugins kdeartwork kdeartwork-style
    kdeartwork-theme-window kdebase kdebase-bin kdebase-kio-plugins kdeedu
    kdegames kdegraphics kdegraphics-kfile-plugins kdelibs kdelibs4c2a
    kdelirc kdemultimedia kdemultimedia-kappfinder-data
    kdemultimedia-kfile-plugins kdemultimedia-kio-plugins kdenetwork
    kdenetwork-kfile-plugins kdepasswd kdepim kdepim-kfile-plugins
    kdepim-kio-plugins kdepim-kresources kdepim-wizards kdeprint kdesktop
    kdessh kdetoys kdeutils kdewebdev kdf kdict kdnssd kdvi kedit keduca
    kenolaba kfax kfaxview kfilereplace kfind kf oppy kfouleggs kgamma kget
    kghostview kgoldrunner kgpg khangman khelpcenter khexedit kicker
    kicker-applets kiconedit kig kimagemapeditor kitchensync kiten kjots
    kjumpingcube klaptopdaemon klatin kleopatra klettres klickety klines
    klinkstatus klipper kmag kmahjongg kmail kmailcvt kmenuedit kmid kmilo
    kmines kmix kmoon kmousetool kmouth kmplot kmrml knetwalk knetworkconf
    knewsticker knode knotes kodo kolf kolourpaint kommander konq-plugins
    konqueror konqueror-nsplugins konquest konsole konsolekalendar kontact
    kooka kopete korganizer korn kpackage kpager kpat kpdf kpercentage
    kpersonalizer kpf kpilot kpoker kpovmodeler kppp krdc krec
    krecordmydesktop kregexpeditor kreversi krfb kruler ksame ksayit kscd
    kscreensaver kscreensaver-xsavers kshisen ksig ksim ksirc ksirtet
    ksmiletris ksmserver ksnake ksnapshot ksokoban kspaceduel ksplash kstars
    ksvg ksync ksysguard ksysv kteatime ktimer ktip ktnef ktouch ktron kttsd
    ktuberling kturtle ktux kuickshow kuser kverbos kview kviewshell
    kvoctrain kwalletmanager kweather kwifimanager kwin kwin4 kwordquiz
    kworldclock kxsldbg libarts1-mpeglib libarts1-xine libcvsservice0
    libk3b3 libkcal2b libkcddb1 libkdeedu3 libkdegames1 libkdepim1a
    libkgantt0 libkiten1 libkleopatra1 libkmime2 libkonq4 libkpimexchange1
    libkpimidentities1 libkscan1 libksieve0 libktnef1 librss1 lskat mpeglib
    networkstatus noatun noatun-plugins quanta superkaramba

    For kicks, I ran startx and KDE didn't show up and kicked me back to
    text console and no hangs.

    Then, I reinstalled all the packages. Reran startx and still got the
    hang.
    --
    "Although you're a little ant, I won't bully you." --Sai Yuk from The
    Legend of Fong Sai Yuk movie (English subtitles)
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  14. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    Ant wrote:

    >> Next thing that comes to my mind is that someone/something has changed
    >> file
    >> privileges on some of the files belonging to kdelibs (or any other of
    >> the core
    >> kde packages), or maybe qt.

    >
    > What programs use qt components? For kicks in Gnome, I ran kruler, k3b,
    > and konqueror. All seems to ran fine.


    Gnome2 uses gtk2, KDE uses qt, so all kde programs uses qt.


    > For kicks, I ran startx and KDE didn't show up and kicked me back to
    > text console and no hangs.


    Of course you would get that result when you do not have the environment
    installed that you have told you will be using.


    > Then, I reinstalled all the packages. Reran startx and still got the
    > hang.


    As you said in your other post that konqueror works (I guess you started it in
    gnome2 environment), then it's maybe some issue with kwin or kicker that makes
    the trouble.

    When running gnome2 or any other desktop environment, you can't test to run
    kwin (you could if you kill the awful metacity and then start kwin from
    terminal, which should be the only active window you have).
    You could try to start kicker from a terminal and see what kind of funny
    messages/errors you get.

    --

    //Aho

  15. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    Ant wrote:
    > startkde 27687 ant 2w REG 3,5 49854 32870
    > /home/ant/.xsession-errors


    Anything in /home/ant/.xsession-errors ?


    --

    //Aho

  16. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/17/2007 1:27 PM PT, J.O. Aho typed:

    >> What programs use qt components? For kicks in Gnome, I ran kruler, k3b,
    >> and konqueror. All seems to ran fine.

    >
    > Gnome2 uses gtk2, KDE uses qt, so all kde programs uses qt.


    Ah. Then, it looks like QT is fine from what I ran.


    >> Then, I reinstalled all the packages. Reran startx and still got the
    >> hang.

    >
    > As you said in your other post that konqueror works (I guess you started it in
    > gnome2 environment), then it's maybe some issue with kwin or kicker that makes
    > the trouble.


    Perhaps.


    > When running gnome2 or any other desktop environment, you can't test to run
    > kwin (you could if you kill the awful metacity and then start kwin from
    > terminal, which should be the only active window you have).
    > You could try to start kicker from a terminal and see what kind of funny
    > messages/errors you get.


    I ran kicker from Gnome2's terminal and it ran fine. It made me chuckle
    to see Gnome and KDE's taskbar at the bottom. I tried kwin too: kwin:
    "unable to claim manager selection, another wm running? (try using
    --replace)" Not sure what that does. I did get some blackness frames
    after Gnome's frames vanished.

    Do you happen to know what is loaded when I run startx? I noticed
    startkde is a script, but I am still confused what is running in order
    (I am not a programmer/developer).

    I forgot to mention that after I see NVIDIA logo in X, it goes away and
    show the gray desktop for less than a second, and then the stuck
    blackness desktop with the movable mouse cursor.
    --
    "... Let's go pour these (peas from a can) onto an anthill I've found."
    --Strong Bad (Witness the Cheatar! episode)
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  17. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/17/2007 1:28 PM PT, J.O. Aho typed:

    > Ant wrote:
    >> startkde 27687 ant 2w REG 3,5 49854 32870
    >> /home/ant/.xsession-errors

    >
    > Anything in /home/ant/.xsession-errors ?


    Nothing interesting. It is the same thing as shown in my original post:

    $ more .xsession-errors
    Xsession: X session started for ant at Thu Nov 15 22:24:37 PST 2007
    startkde: Starting up..
    --
    "I could crush him like an ant. But it would be too easy. No, revenge is
    a dish best served cold. I'll bide my time until... Oh, what the hell,
    I'll just crush him like an ant." --Mr. Burns, The Simpsons ("Blood
    Feud" Episode 7F22)
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  18. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    Does startkde script command have any debugging inside?


    On 11/15/2007 11:16 PM PT, Ant typed:

    > Hello.
    >
    > Earlier, I exited KDE and X back to console/text mode and restarted it
    > (startx) but now I get a hang. I see a black with a mouse cursor
    > (movable). I have to use ctrl-alt-backspace to kill X.
    >
    > I did some investigations and experiments. I tried making a new shell
    > account, ran startx, saw KDE's wizard, skipped it, and it hung again. I
    > tried it again and went through the wizard with defaults, and same hang
    > after KDE's wizard closed.

    ....
    --
    "For every 1 person on earth there are 1 million ants." --Factoid for
    the video of Adam Ant's "Goody Two Shoes" Pop Up Video
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.

  19. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    Ant wrote:

    > Do you happen to know what is loaded when I run startx? I noticed
    > startkde is a script, but I am still confused what is running in order
    > (I am not a programmer/developer).


    Both files are scripts that sets up the "environment" and start other
    applications.


    > Does startkde script command have any debugging inside?


    As far as I can see, no. Don't know if debian may have another version of the
    script whit debugging information, I suggest you look at the script yourself,
    if there would be you would see quite many similar if-statements in the scripts.


    > I forgot to mention that after I see NVIDIA logo in X, it goes away and
    > show the gray desktop for less than a second, and then the stuck
    > blackness desktop with the movable mouse cursor.


    The logo can be turned off/on in the xorg.conf, I used to have that on in the
    old days when the nVidia driver was unstable.
    You could switch over to the VESA driver and see if KDE starts up better, if
    yes, then there is some misconfiguration in your xorg.conf, if it too stops
    then it's kde or something it depends on.

    --

    //Aho

  20. Re: Starting up KDE hangs with a black desktop and movable mousecursor.

    On 11/17/2007 11:55 PM PT, J.O. Aho typed:

    > Ant wrote:
    >
    >> Do you happen to know what is loaded when I run startx? I noticed
    >> startkde is a script, but I am still confused what is running in order
    >> (I am not a programmer/developer).

    >
    > Both files are scripts that sets up the "environment" and start other
    > applications.


    I wonder how I can use them to run step by step to narrow down what is
    hanging.


    >> Does startkde script command have any debugging inside?

    >
    > As far as I can see, no. Don't know if debian may have another version of the
    > script whit debugging information, I suggest you look at the script yourself,
    > if there would be you would see quite many similar if-statements in the scripts.


    The problem is I don't know programming well.


    >> I forgot to mention that after I see NVIDIA logo in X, it goes away and
    >> show the gray desktop for less than a second, and then the stuck
    >> blackness desktop with the movable mouse cursor.

    >
    > The logo can be turned off/on in the xorg.conf, I used to have that on in the
    > old days when the nVidia driver was unstable.
    > You could switch over to the VESA driver and see if KDE starts up better, if
    > yes, then there is some misconfiguration in your xorg.conf, if it too stops
    > then it's kde or something it depends on.


    Hmm! Good idea, but then if I did have problems, wouldn't Gnome hang too?
    --
    "It is not enough to be busy, so are the ants. The question is: what are
    we busy about?" --Henry David Thoreau
    /\___/\
    / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Remove ANT from e-mail address: philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Ant is currently not listening to any songs on his home computer.