GrantC <grant_nospam@dodo.com.au> wrote:
>>Try this:
>>echo hello world > /dev/tty12
>>(then press ctrl-alt-f12 to view the result)
> and do we have a dozen terminals by default? That's interesting, Alt-12
> shows hello world, no login prompt... Learn something every day
In Slackware /etc/inittab is configured to have login prompts on the first
6 virtual consoles only. When X is started it uses the first free virtual
console which usually is tty7. It is possible to start more than one X
session with something like this:
startx -- :1
The above command will start a new X session on the next free virtual
console which will be tty8 if we already have an X with DISPLAY :0 on
tty7. The argument ":1" tells X to use DISPLAY :1 so you will be able to
put windows on that X with "export DISPLAY=:1". As you now understand it
is possible to have more than two X running on the same machine
simultaneously. I haven't tried what happens if more than 6 X would be
started, I don't know if there is any tty13, and if so, how you would get
to that tty.
regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc2(at)uthyres.com Examples of addresses which go to spammers:
info@k-software.biz svar@webtelevision.se info@webrider.ru root@localhost