You are not logged in.

#1 2008-07-19 18:38:34

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

2 instances of X

I just realized this a few minutes ago, and it seems odd to me, heres a copy of my ps -e.

  PID TTY          TIME CMD
    1 ?        00:00:00 init
    2 ?        00:00:00 kthreadd
    3 ?        00:00:00 migration/0
    4 ?        00:00:00 ksoftirqd/0
    5 ?        00:00:00 watchdog/0
    6 ?        00:00:00 migration/1
    7 ?        00:00:00 ksoftirqd/1
    8 ?        00:00:00 watchdog/1
    9 ?        00:00:00 events/0
   10 ?        00:00:00 events/1
   11 ?        00:00:00 khelper
   12 ?        00:00:00 kblockd/0
   13 ?        00:00:00 kblockd/1
   14 ?        00:00:00 kacpid
   15 ?        00:00:00 kacpi_notify
   16 ?        00:00:00 kseriod
   17 ?        00:00:00 pdflush
   18 ?        00:00:00 pdflush
   19 ?        00:00:00 kswapd0
   20 ?        00:00:00 aio/0
   21 ?        00:00:00 aio/1
   35 ?        00:00:00 ata/0
   36 ?        00:00:00 ata/1
   37 ?        00:00:00 ata_aux
   47 ?        00:00:00 scsi_eh_0
   48 ?        00:00:00 scsi_eh_1
  606 ?        00:00:00 ksuspend_usbd
  645 ?        00:00:00 khubd
 1115 ?        00:00:00 kjournald
 1181 ?        00:00:00 udevd
 1283 ?        00:01:51 b43
 3434 ?        00:00:00 kpsmoused
 3485 ?        00:00:00 kmmcd
 3567 ?        00:00:00 khpsbpkt
 3994 ?        00:00:00 syslog-ng
 4017 ?        00:00:00 crond
 4023 tty1     00:00:00 login
 4024 tty2     00:00:00 agetty
 4025 tty3     00:00:00 agetty
 4026 tty4     00:00:00 agetty
 4027 tty5     00:00:00 agetty
 4028 tty6     00:00:00 agetty
 4066 ?        00:00:00 ipolldevd
 4101 ?        00:00:00 wpa_supplicant
 4103 ?        00:00:00 dhcpcd
 4212 tty1     00:00:00 bash
 4249 tty1     00:00:00 startx
 4265 tty1     00:00:00 xinit
 4266 tty7     00:00:39 X
 4272 tty7     00:00:00 X
 4275 tty1     00:00:03 fluxbox
 4277 ?        00:08:51 firefox
 4299 ?        00:00:00 xterm
 4300 pts/0    00:00:00 bash
 4309 pts/0    00:00:00 pork
 4415 ?        00:00:00 xterm
 4416 pts/1    00:00:00 bash
 4417 pts/1    00:00:00 ps

As you can see 4266 and 4272 are both X, I don't know why this is happening, I tried restarting but it still makes 2 instances.  I don't recall having this happen in Debian, so I'm guessing something isn't set up correctly.  Any help would be greatly appreciated.

Offline

#2 2008-07-19 18:42:04

daf666
Member
Registered: 2007-04-08
Posts: 459

Re: 2 instances of X

Try: ps -fax
That will show who started what

Offline

#3 2008-07-19 18:45:14

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: 2 instances of X

Ok, heres the print out.

Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
  PID TTY      STAT   TIME COMMAND
    2 ?        S<     0:00 [kthreadd]
    3 ?        S<     0:00  \_ [migration/0]
    4 ?        S<     0:00  \_ [ksoftirqd/0]
    5 ?        S<     0:00  \_ [watchdog/0]
    6 ?        S<     0:00  \_ [migration/1]
    7 ?        S<     0:00  \_ [ksoftirqd/1]
    8 ?        S<     0:00  \_ [watchdog/1]
    9 ?        S<     0:00  \_ [events/0]
   10 ?        S<     0:00  \_ [events/1]
   11 ?        S<     0:00  \_ [khelper]
   12 ?        S<     0:00  \_ [kblockd/0]
   13 ?        S<     0:00  \_ [kblockd/1]
   14 ?        S<     0:00  \_ [kacpid]
   15 ?        S<     0:00  \_ [kacpi_notify]
   16 ?        S<     0:00  \_ [kseriod]
   17 ?        S      0:00  \_ [pdflush]
   18 ?        S      0:00  \_ [pdflush]
   19 ?        S<     0:00  \_ [kswapd0]
   20 ?        S<     0:00  \_ [aio/0]
   21 ?        S<     0:00  \_ [aio/1]
   35 ?        S<     0:00  \_ [ata/0]
   36 ?        S<     0:00  \_ [ata/1]
   37 ?        S<     0:00  \_ [ata_aux]
   47 ?        S<     0:00  \_ [scsi_eh_0]
   48 ?        S<     0:00  \_ [scsi_eh_1]
  606 ?        S<     0:00  \_ [ksuspend_usbd]
  645 ?        S<     0:00  \_ [khubd]
 1115 ?        S<     0:00  \_ [kjournald]
 1283 ?        S<     1:59  \_ [b43]
 3434 ?        S<     0:00  \_ [kpsmoused]
 3485 ?        S<     0:00  \_ [kmmcd]
 3567 ?        S<     0:00  \_ [khpsbpkt]
 4066 ?        S<     0:00  \_ [ipolldevd]
    1 ?        Ss     0:00 init [3]                                            
 1181 ?        S<s    0:00 /sbin/udevd --daemon
 3994 ?        Ss     0:00 /usr/sbin/syslog-ng
 4017 ?        S      0:00 /usr/sbin/crond
 4023 tty1     Ss     0:00 /bin/login --    
 4212 tty1     S      0:00  \_ -bash
 4249 tty1     S+     0:00      \_ /bin/sh /usr/bin/startx
 4265 tty1     S+     0:00          \_ xinit /home/leo/.xinitrc -- /etc/X11/xini
 4266 tty7     Rs+    0:52              \_ /usr/bin/X -nolisten tcp
 4272 tty7     S+     0:00              |   \_ /usr/bin/X -nolisten tcp
 4275 tty1     S      0:04              \_ fluxbox
 4277 ?        Rsl   10:32                  \_ /usr/lib/firefox-3.0/firefox
 4299 ?        Ss     0:00                  \_ xterm
 4300 pts/0    Ss     0:00                  |   \_ bash
 4309 pts/0    S+     0:00                  |       \_ pork
 4427 ?        Ss     0:00                  \_ xterm
 4428 pts/1    Ss+    0:00                  |   \_ bash
 4435 ?        Rs     0:00                  \_ xterm
 4436 pts/2    Rs     0:00                      \_ bash
 4437 pts/2    R+     0:00                          \_ ps -fax
 4024 tty2     Ss+    0:00 /sbin/agetty -8 38400 vc/2 linux
 4025 tty3     Ss+    0:00 /sbin/agetty -8 38400 vc/3 linux
 4026 tty4     Ss+    0:00 /sbin/agetty -8 38400 vc/4 linux
 4027 tty5     Ss+    0:00 /sbin/agetty -8 38400 vc/5 linux
 4028 tty6     Ss+    0:00 /sbin/agetty -8 38400 vc/6 linux
 4101 ?        Ss     0:00 wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B
 4103 ?        Ss     0:00 dhcpcd wlan0

Offline

#4 2008-07-19 18:59:43

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: 2 instances of X

From what I remember there were some people having the same problem and it was related to their graphic card and its module.


(lambda ())

Offline

#5 2008-07-19 19:24:58

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: 2 instances of X

ATI card and fglrx driver, right?

Offline

#6 2008-07-19 19:26:30

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: 2 instances of X

signor_rossi wrote:

ATI card and fglrx driver, right?

Yes, and yes.  Ati X1400.

Offline

#7 2008-07-20 05:59:53

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: 2 instances of X

Nothing to worry about, then.
Has been there for some time, I have it too and my laptop didn't explode yet. wink

Bye, signorRossi.

Offline

Board footer

Powered by FluxBB