2002-01-05 08:00:39

by Gabor Z. Papp

[permalink] [raw]
Subject: X and console paralell

* Mark Vojkovich <[email protected]>:

| > Plugging extra USB keyboard and mouse would solve the
| > problem, and I would be able to run X and console
| > simultanously?
|
| No, both the console and X need a VT. As far as I can tell
| Linux only lets you have one VT active at any time. You can
| have a different mouse and keyboard used by the console and
| by X (in theory at least), but I don't think that solves the
| mutual exclusivity of VTs.
|
| Some people may have kernel hacks to allow this sort of
| thing, but I haven't been keeping track of this stuff. It's
| not an area that I've been involved in.

Any idea? Basically I would like to run 2 monitor, one for X
and one for console paralell, with 1 keyboard/mouse.
Switching between them like with one monitor, but when no
work on the one, I would like to keep the signal on the
unused monitor, eg I would like to see the (not blank) screen.


2002-01-05 11:40:43

by Davidovac Zoran

[permalink] [raw]
Subject: Re: X and console paralell



On Sat, 5 Jan 2002, Gabor Z. Papp wrote:

> * Mark Vojkovich <[email protected]>:
>
> | > Plugging extra USB keyboard and mouse would solve the
> | > problem, and I would be able to run X and console
> | > simultanously?
> |
> | No, both the console and X need a VT. As far as I can tell
> | Linux only lets you have one VT active at any time. You can
> | have a different mouse and keyboard used by the console and
> | by X (in theory at least), but I don't think that solves the
> | mutual exclusivity of VTs.
> |
> | Some people may have kernel hacks to allow this sort of
> | thing, but I haven't been keeping track of this stuff. It's
> | not an area that I've been involved in.
>
> Any idea? Basically I would like to run 2 monitor, one for X
> and one for console paralell, with 1 keyboard/mouse.
> Switching between them like with one monitor, but when no
> work on the one, I would like to keep the signal on the
> unused monitor, eg I would like to see the (not blank) screen.


That's partly true.
In old P1 PC I have SVGA and Hercules card with Xfree 3.3.6
svga on tty1-tty10
hercules on tty12-tty22

you can have two consoles simultanious and are working,
you also can have for example top on hercules and
be in X's at the same time, but when you go to active console
on hercules you lose X on svga.
The best what can be done you can have X on hercules
and X on svga, but is totally unuseable.

With Xfree 4 none of this is not useable :(
you can have two consoles like top on hercules and working on swga
but if you "turn X on" you can have top on hercules
but when you go to X you got blank screen on hercules.

It is X fault (works with Xfree 3.3.6- but not with 4+)


probably the best solution is VT terminal atached to
serial or usb on serial convertor.
or cheap 386+ on lan :(

regards,

Zoran

2002-01-05 16:44:30

by James Simmons

[permalink] [raw]
Subject: Re: X and console paralell


On Sat, 5 Jan 2002, Gabor Z. Papp wrote:

> * Mark Vojkovich <[email protected]>:
>
> | > Plugging extra USB keyboard and mouse would solve the
> | > problem, and I would be able to run X and console
> | > simultanously?
> |
> | No, both the console and X need a VT. As far as I can tell
> | Linux only lets you have one VT active at any time. You can
> | have a different mouse and keyboard used by the console and
> | by X (in theory at least), but I don't think that solves the
> | mutual exclusivity of VTs.
> |
> | Some people may have kernel hacks to allow this sort of
> | thing, but I haven't been keeping track of this stuff. It's
> | not an area that I've been involved in.
>
> Any idea? Basically I would like to run 2 monitor, one for X
> and one for console paralell, with 1 keyboard/mouse.
> Switching between them like with one monitor, but when no
> work on the one, I would like to keep the signal on the
> unused monitor, eg I would like to see the (not blank) screen.

With the standard linux kernel it is true. You can't have true
multidesktop systems. The console system is not designed for it.
One it has lots of global variables including locking. Second the
keyboard driver can't send keyboard input from different keyboards
to different VTs. Can it be done? Yes but it requires a console system
rewrite. Has it been done? Yes I have done it:

http://linuxconsole.sf.net

Will it go into 2.5.X? Well I have piece by piece putting the new console
code into the dj tree to slowly be intergrated into Linus tree.

. ---
|o_o |
|:_/ | Give Micro$oft the Bird!!!!
// \ \ Use Linux!!!!
(| | )
/'_ _/`\
___)=(___/