Re: What controls X?
On Fri, 17 Jun 2011 22:37:57 +0200, Hans-J. Ullrich wrote:
> after some update long time ago, kdm is starting on console 9 instead od
> console 7 (which is deafult).
I've also noticed that time ago under GNOME.
After booting, tty7 holded the X session but after a while it
automagically jumped to tty8 but I no longer see this behaviour or maybe
is that just didn't notice again.
> I could still not find out, where X is controlled at. I found this
> process:
>
> root 10358 7.8 1.9 146300 41052 tty10 Rs+ 19:13 14:11
> /usr/bin/X :0 vt10 -br -nolisten tcp -auth /var/run/xauth/A:0-DzJNF
stt008:~# grep -i vt /var/log/Xorg.0.log
(++) using VT number 7
> Examing the system, I found in /etc/X11/xinit/xserverrc
>
> exec /usr/bin/X -nolisten tcp "$@"
>
> where "$@" I suppose is the console-number.
Mmm, I dunno what holds that variable "$@" but it has to be documented
somewhere ("man startx" or "man xserver") :-?
> But where does it get from?
(...)
I've always thought that X server sets the first available vt for the x
window system so I wonder why X server cannot dispose of vt7 to allocate
the kdm/gdm session.
Greetings,
--
Camaleón
Reply to: