...making Linux just a little more fun!
Mulyadi Santosa [mulyadi.santosa at gmail.com]
X is always running at VT 7? Not really. For example, here's how to start it on VT 8: startx -- vt08
Replace "08" with your preferred VT number (2 digits). IIRC nowadays Linux distro opens 12 VT. Also please notice that we put double dash ("--") here, meaning we actually passing "vt" parameter to X server.
regards,
Mulyadi.
Thomas Adam [thomas.adam22 at gmail.com]
2008/8/24 Mulyadi Santosa <mulyadi.santosa@gmail.com>:
> X is always running at VT 7? Not really. For example, here's how to > start it on VT 8: > startx -- vt08 > > Replace "08" with your preferred VT number (2 digits). IIRC nowadays > Linux distro opens 12 VT. Also please notice that we put double dash > ("--") here, meaning we actually passing "vt" parameter to X server.
What about those people who don't use startx? The actual file in question here is:
/etc/X11/xinit/xserverrc
But also confer with /etc/inittab -- some installations might have already have a getty running on some random tty, not to mention they might also be spawning X from there (Redhat used to do that -- ArchLinux still does, for instance.)
I wonder what the point of this tip was? If all you wanted was another Xsession, use Xephyr (a nicer replacement for Xnest.)
-- Thomas Adam
Mulyadi Santosa [mulyadi.santosa at gmail.com]
Hi
On Sun, Aug 24, 2008 at 6:19 PM, Thomas Adam <thomas.adam22@gmail.com> wrote:
> 2008/8/24 Mulyadi Santosa <mulyadi.santosa@gmail.com>: >> X is always running at VT 7? Not really. For example, here's how to >> start it on VT 8: >> startx -- vt08 >> >> Replace "08" with your preferred VT number (2 digits). IIRC nowadays >> Linux distro opens 12 VT. Also please notice that we put double dash >> ("--") here, meaning we actually passing "vt" parameter to X server. > > What about those people who don't use startx? The actual file in > question here is: > > `` > /etc/X11/xinit/xserverrc > '' > > But also confer with /etc/inittab -- some installations might have > already have a getty running on some random tty, not to mention they > might also be spawning X from there (Redhat used to do that -- > ArchLinux still does, for instance.) > > I wonder what the point of this tip was? If all you wanted was > another Xsession, use Xephyr (a nicer replacement for Xnest.)
I missed further explanation actually. By doing this, user can start multiple X sessions (first in VT 7, then VT 8 and so on). But it can also serve for fun too
NB: Never try Xephyr before, thanks for the clue.
regards,
Mulyadi.
Thomas Adam [thomas.adam22 at gmail.com]
2008/8/25 Mulyadi Santosa <mulyadi.santosa@gmail.com>:
> I missed further explanation actually. By doing this, user can start > multiple X sessions (first in VT 7, then VT 8 and so on). But it can > also serve for fun too
In which case, you really don't want to worry about a specific VT at all and just use:
xinit -- :n
Where "n" is a display number (1,2,3, etc.) The specific VT that uses is irrelevant and ultimately any applications you might then want to start up will need the $DISPLAY number anyway.
-- Thomas Adam