Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is basically a lite version of multiseat (see my other question): I can setup two mouse pointers (see e.g. here, here or here) and two keyboards (although my two identical logitech K200 keyboards show up as four keyboards in xinput list, any ideas why?). Only this is not enough to allow two users to do things independently, since apparently only one window can be focused at a time so all keyboard input goes to that window. Can this behaviour be changed?

Can the inputs of two keyboards be directed to two different windows at the same time? And can a mouse-locking application be told to only lock one of the pointers?

(in case your answer includes Xephyr, can that support direct open gl rendering?)

share|improve this question
Same question for Windows 7: superuser.com/q/230210/35237 – Tobias Kienzler Jan 7 '11 at 11:31
up vote 2 down vote accepted

USB keyboards often expose multiple interfaces; it is likely that one is the standard 104-key set and another is the extra buttons.

MPWM is a simple window manager that is able to use the MPX extensions to allow for multiple independent client pointers and active windows. You'll have to wait for similar support to appear in other window managers.

Xephyr currently supports neither direct nor indirect OpenGL rendering. It's in development.

share|improve this answer
I wouldn't mind testing a different WM. However, MPWM doesn't show up on the gdm menu, is there anything else I need to do after a successful sudo make install? – Tobias Kienzler Jan 8 '11 at 9:37
Thanks for mentioning MPWM and the link to xephyir-with-gl size. This blog entry from 2007 claims Xephyr would support OpenGL, which seems to part of xserver's master branch, but what to do with this? Would I need a new compile of Xserver? – Tobias Kienzler Jan 8 '11 at 9:42
@Tobias: MPWM isn't really integrated into anything and I wouldn't recommend using it for anything other than testing, but you can kill your existing window manager and just start mpwm. The GL support in upstream Xephyr isn't accelerated. You can compile just the Xephyr server from that xserver branch. – ephemient Jan 8 '11 at 19:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.