Gentoo Archives: gentoo-amd64

From: Steve Herber <herber@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Multiple X with multiple Keyboards
Date: Thu, 01 Dec 2005 08:08:49
Message-Id: Pine.LNX.4.64.0511302351000.867@thing.com
In Reply to: [gentoo-amd64] Re: Multiple X with multiple Keyboards by Duncan <1i5t5.duncan@cox.net>
1 I have run multiple X servers on a single computer. I set one up for my
2 wife and another for me. They were on the same monitor and we used the
3 normal control-alt-f7 and f8 to switch between them.
4
5 You configure such a system by adding an extra line to the xdm-config
6 file. A hint about this is found in the middle of this page:
7
8 http://www.tldp.org/HOWTO/XDM-Xterm/config.htm
9
10 I am sure there are other pages that expand upon this idea.
11
12 But this does not do what you want. I think you need to look into the
13 startx script and create a modified one that points to a second
14 xorg.conf file that specifies the keyboard, mousse, monitor combination
15 that you need so that X only uses that hardware. You will probably need
16 to figure out how to, in a sense, defeat the plug and play features of
17 the more recent X servers.
18
19 In addition, there is a project, somewhere, to configure a single computer
20 to support multiple keyboards, videos, and mice, as a way to share the
21 computer among many concurrent users. I would spend some time looking
22 for that project. It might do exactly what you want.
23
24 Good luck,
25
26 Steve Herber herber@×××××.com work: 206-221-7262
27 Security Engineer, UW Medicine, IT Services home: 425-454-2399
28
29 On Wed, 30 Nov 2005, Duncan wrote:
30
31 > Christian Aistleitner posted <op.s02i0wwfu6j4vy@×××××××××××××××××××.info>,
32 > excerpted below, on Wed, 30 Nov 2005 20:27:58 +0100:
33 >
34 >> I have several mice, keyboards, and monitors/graphic cards attached to my
35 >> gentoo ~amd64 machine at once. I created a server layout using all mice,
36 >> keyboards, and monitors. X (x11-base/xorg-x11-6.8.2-r6) works like a
37 >> charm.
38 >>
39 >> However, I wanted to split the mice, monitors, and keyboards to
40 >> workplaces. For example the first mouse, the first keyboard and the first
41 >> Monitor for workplace1 and the rest for workplace2. Both workplaces should
42 >> allow to operate independently from the other. For example I am logged in
43 >> and working on workplace1. Them a friend drops by, logs in on workplace2
44 >> WHILE i am working on workplace1
45 >>
46 >> So I separated my xorg.conf into two layouts. One for workplace1 and one
47 >> for workplace2.
48 >> However, I could not attach the keyboards to different vt's. Therfore, if
49 >> I choose to have workplace1 on vt7 and workplace2 on vt8, I can use either
50 >> workplace1 or workplace2. Not both of them simultaneously.
51 >>
52 >> I found several patches for X, but after applying them, X did not compile.
53 >> I also found the "Backstreet Ruby kernel" mentioned several times --
54 >> these pages however date back to 2003.
55 >
56 > As you saw, X by itself doesn't work the way you intend. Different
57 > layouts are for alternate arrangements, but still single X user. Even
58 > different VT (virtual terminals) wouldn't do what you want. That would
59 > allow you to run two X sessions on the same physical terminal, switching
60 > between them.
61 >
62 > What you want might be more in line with either two X sessions, running an
63 > X server on your friend's computer, to connect to X clients running on
64 > yours (while you run your own X server and clients separately), or
65 > something like the LTSP, Linux Terminal Server Project, which runs one
66 > big server and a bunch of thin clients, normally diskless boot, that
67 > access the main server. I don't know much about either arrangement, but
68 > the LTSP home page is http://www.ltsp.org/
69 >
70 > That's barely a pointer in (one hopes) the right direction, but that's a
71 > start. Perhaps someone else has more.
72 >
73 > --
74 > Duncan - List replies preferred. No HTML msgs.
75 > "Every nonfree program has a lord, a master --
76 > and if you use the program, he is your master." Richard Stallman in
77 > http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
78 >
79 >
80 > --
81 > gentoo-amd64@g.o mailing list
82 >
83 >
84 --
85 gentoo-amd64@g.o mailing list