Skip to contentSkip to conversation

X and console paralell

DISCUSSION Gabor Z. Papp 3 participants 3 messages Jan 5, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

* 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.

#2 lore raw
Quoted 16 lines · Gabor Z. Papp

* 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.
Quoted 5 lines

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

#3 lore raw
In reply to Gabor Z. Papp
Quoted 16 lines · Gabor Z. Papp

* 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.
Quoted 5 lines

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!!!!
 (|     | )
 /'_   _/`\

___)=(___/