[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two Xorg processes?



Florian Kulzer ha scritto:
Did you at some point in the past use "Switch User" to start a new
session on tty8? It would be interesting to know what options are used
when the second Xorg process is started. Here is what I see:

$ pstree -a $(pgrep -P1 kdm)
kdm -config /var/run/kdm/kdmrc
  ├─Xorg -br -nolisten tcp :0 vt7 -auth /var/run/xauth/XXXXXXXXXX
  └─kdm
      └─startkde /usr/bin/startkde
          ├─kwrapper ksmserver
          └─ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/startkde

This should tell you on which VT the second Xorg process is running; you
can then switch to that VT and check out what is going on. (I think it
should never happen that two Xorg processes are attached to the same
VT; lockfiles in /tmp are supposed to prevent that.)


Thanks for the interest and the good idea. However...

$ pstree -a $(pgrep -P1 kdm)
kdm -config /var/run/kdm/kdmrc
  ├─Xorg -br -nolisten tcp :0 vt7 -auth /var/run/xauth/XXXXXXXXXX
  │   └─Xorg -br -nolisten tcp :0 vt7 -auth /var/run/xauth/XXXXXXXXXX
  └─kdm
      └─startkde /usr/bin/startkde
          ├─kwrapper ksmserver
          ├─seahorse-agent --execute /usr/bin/startkde
          └─ssh-agent /usr/bin/dbus-launch --exit-with-session...

(The last line is cut.)

I also checked the lock file:
$ cat /tmp/.X0-lock
      4526
which is the pid of the first Xorg instance (unsurprisingly).

What now?

Davide

--
A tautology is a thing which is tautological.
--
Time flies like an arrow.  Fruit flies like a banana.



Reply to: