You are not logged in.

#1 2003-08-06 11:39:11

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

config the [ctrl]-[alt]-[F..] being console, X, log ...

what i know:

in /etc/inittab you can set with

c1:2345:respawn:/sbin/agetty 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty 38400 vc/6 linux

to have consoles at [F1] to [F6]

and when you start the X11 it will be at [F7]

---------------------------------------------

what i wondered how to setup: (well maybe it's a little bit crazy to start more than one X, but i want to know if it is possible or not --- it should be possible)

1-> if i try to start another X, it cannot connect to :0.0 what is logical, because the first X is running there --- now, how (and where) can you config the behaviour of X11-servers that the second automatically runs on :0.1 (=usually [F8]) and the third on :0.2 (=usually [F9]) ?
// i know that this is possible on a UNIX ... should be possible also here, right?

2-> i want to have the system-log on [F12] ... how do i set this?
like the consoles in the /etc/inittab ?

thanx for sharing your knowledge with me :-)


The impossible missions are the only ones which succeed.

Offline

#2 2003-08-06 11:56:00

andy
Member
From: Germany
Registered: 2002-10-11
Posts: 374

Re: config the [ctrl]-[alt]-[F..] being console, X, log ...

You don't need to configure anything else :-) just start the second X with

startx -- :1

and it will be display :1
Note that display :0.1 would be a second graphic card with a second monitor IIRC

I once wrote a shell script that would let me start a number of X's automatically by looking through /tmp/.X11-unix/ to see which ones are available. They will be accessible by Alt-F8 and higher. I'm not sure you can force a certain virtual console, though.

There is one caveat, though. Only the first X you start (be it on display :0 or :1 or wherever) will have DRI, i.e. 3D acceleration.

Offline

#3 2003-08-06 13:18:04

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: config the [ctrl]-[alt]-[F..] being console, X, log ...

thanx for the clear explaination for the X-servers (i use linux for about 10 years, but mostly in console and if X, then the first and only till now)


what about setting the output of the sys-log to the [Alt]-[F12]?


The impossible missions are the only ones which succeed.

Offline

#4 2003-08-06 21:06:03

Gyroplast
Member
From: Germany
Registered: 2002-09-03
Posts: 166
Website

Re: config the [ctrl]-[alt]-[F..] being console, X, log ...

what about setting the output of the sys-log to the [Alt]-[F12]?

You want to read the manpage of "syslog.conf", it's explained there how to redirect certain output to a VC. Actually, the default file has exactly what you need already put into the /etc/syslog.conf, it's just commented out. smile

Don't forget to HUP the process after making changes.

Greets,
  Dennis


"That's the problem with good advice. Nobody wants to hear it."
-- Dogbert

Offline

#5 2003-08-06 22:37:43

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: config the [ctrl]-[alt]-[F..] being console, X, log ...

thanx .. this manpage is really informative


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB