lkml.org 
[lkml]   [2002]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: X and console paralell

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

> * Mark Vojkovich <mvojkovich@nvidia.com>:
>
> | > 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!!!!
(| | )
/'_ _/`\
___)=(___/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [from the cache]
©2003-2011 Jasper Spaans