[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X and console paralell



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

> * Mark Vojkovich <mvojkovich _at_ 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 _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」