D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Running two independent instances of X (including two window managers) on one PC

 

Grant Sewell wrote:
> I read something about this recently, although I have to admit I can't
> remember where.  It was an article about having "greener" computers -
> since most computers in use today are idling most of the time, why get
> a computer when you could just use the 1 computer twice over.
> 
> Anyway, IIRC one of the issues they had was getting X to respect only 1
> keyboard per instance of X.  They had 2 Xs running and 2 keyboards
> plugged in, and despite trying to tell X1 "only use this keyboard and
> not that", it would still take input from "that".

> The article was a little old (c. 2005) so it may have been overcome.
> As per Simon's advice, though, use 2 separate cards.

I think it required you to use a slightly different way of getting 
keyboard events. Did require a kernel module at one point (I think it 
was e-something), but looking at /dev/input I've got lots of event* 
entries, some of which are for the keyboard so I think you just use 
those directly.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html