On Sat, Jun 18, 2011 at 7:25 AM, Camaleón <noela...@gmail.com> wrote: > On Fri, 17 Jun 2011 22:37:57 +0200, Hans-J. Ullrich wrote:
>> 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 >> >> 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") :-? $@ is a bash positional parameter not an X-specific variable. >> 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. I tried to look for its source some time ago and gave up quickly. I'm not running GNOME so this is from memory: the parent process of "exec /usr/bin/X ..." calls a variable of the form "/org/gnome/<something>". I thought that it might be a gconf key that might hold the VT but I didn't find it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTi=p-doywv7d7e9hha6thwc5-jo...@mail.gmail.com