Slashdot Mirror


Multiple Desktop Users on a Single Machine?

_Sharp'r_ asks: "I'm trying to design the least expensive way to make OpenOffice, email, and a web browser available to students in a new charter elementary school. In my past experience working with charitable computer donations, I can usually get three to four working computers out of five donated 'broken' computer systems, usually with plenty of monitors, keyboards and mice left over. I'd like to use one computer for multiple students by attaching multiple monitors, USB keyboards and mice. What drivers/OS versions support multiple local input devices and monitors that can be attached to a specific login session? Will this require virtualization? Is there a config I haven't found that you can use to assign these devices to specific ttys? Have you done this before?"

106 comments

  1. XFree-Local-multi-user-HOWTO by Cocoronixx · · Score: 5, Informative

    http://tldp.org/HOWTO/XFree-Local-multi-user-HOWTO /index.html

    The HOWTO is a bit dated, but it is probably relevant enough to get you on the right track.

    --
    "Obscenity is the crutch of the inarticulate motherfucker." - cloak42
  2. Just run multiple XWindows by oliverthered · · Score: 3, Insightful

    You could run multiple versions of XWindows using different configuration files.

    In the configuration file you specify where the input devices come from and how you graphics card is setup so it should be faily easy to get one instance of X pointing to one KVM combination and one to the other.

    --
    thank God the internet isn't a human right.
  3. A few links... by stevo3232 · · Score: 5, Informative
    --
    s.clementmonkey@sympatico.ca, remove the 'monkey'.
    1. Re:A few links... by Anonymous Coward · · Score: 1, Informative
    2. Re:A few links... by Anonymous Coward · · Score: 3, Informative

      Here are a couple other tutorials...

      http://en.wikibooks.org/wiki/Multiterminal_with_ev dev
      http://gentoo-wiki.com/HOWTO_Multiseat_X
      http://netpatia.blogspot.com/2006/09/multiseat-com puter-with-ubuntu.html

      I did a multiseat setup using Ubuntu for Software Freedom Day last year and it worked quite well. The only way I was able to achieve hardware-accelerated 3D on _every_ head was to only use NVIDIA video adapters with the proprietary driver. (yes, I'm aware of the irony!) Unfortunately, none of the free (libre) drivers supported accelerated 3D on multiple heads at that time but perhaps things have changed with the latest release of Xorg.

      Setups like this are quite fascinating to me as they reveal how much more efficiently a computer of moderate specs is capable of being used--desktop users don't even notice that they are sharing a machine. Some aspects are a little complicated (like mapping different sound cards to the correct seats) but IMO there is a _lot_ of potential in this area due to ease of administration, energy savings, and a decrease in noise (less computers means less fans whirling).

    3. Re:A few links... by pintpusher · · Score: 1

      a couple more links

      http://lists.debian.org/debian-user/2006/12/msg015 71.html
      http://lists.debian.org/debian-user/2007/03/msg005 11.html

      despite the titles of the emails, he's got it working and there is an xorg.conf and gdm.conf at the bottom.

      I think he did a real how-to somewhere, but I can't find it.

      --
      man, I feel like mold.
    4. Re:A few links... by _Sharp'r_ · · Score: 1

      Thanks to everyone for all the links and suggestions. I've found a lot of the Multiseat X stuff since this was originally submitted 20 days ago, but I still missed 50% of the material various people have suggested as options and really value the responses and offers of help from people who've actually already done something similar.

      --
      The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
  4. Yes, but is it worth it? by MichaelSmith · · Score: 2, Interesting

    In theory (and practice) you can run two X servers on different graphics cards. Plug in multiple mice and keyboards. Configure two xorg.conf files. You will have to do both manually.

    If you use USB you can easily plug in as many keyboards and mice as you want, but how will you know in advance which is which?

    Looking at older hardware you could use PS/2 for the keyboards but I don't know if you can use two of them.

    Another way might be to use a really old machine as an X terminal, and use a more powerful machine as the server. Personally I would use NetBSD on the terminal, and a good linux distro as the server because you want to have a nicely integrated desktop. Which is not to say BSD can't do that. I run BSD on my servers and ubuntu on my workstations.

    At the end of the day, if saving a bit of cheap hardware means spending a lot on labour, then its probably not worth it.

    1. Re:Yes, but is it worth it? by mathew7 · · Score: 2, Interesting

      It's pretty easy to configure an X server to distinguish between a USB mouse+keyboard, and PS2 mouse+keyboard and create 2 sessions. I think you can even do it using 1 Nvidia (or ATI) card with 2 outputs.
      Since USB is dinamicaly allocating resources (IDs), I don't think you can put the same type of devices on one computer and expect to be mapped always to the same session, so going with a different configuration like I said before is risky.

    2. Re:Yes, but is it worth it? by fjf33 · · Score: 1

      If you are using DIFFERENT usb keyboards and mice then you can setup udev to allways give them the same /dev entry. I am not so sure you can do that based on which USB port they get plugged into.

    3. Re:Yes, but is it worth it? by prefect42 · · Score: 3, Informative

      You're right on the money with this, and you can do it roughly based on the port (effectively) as often pairs of ports represent separately enumerated buses. I use:

      KERNEL="event*",BUS="usb",SYSFS{bInterfaceClass}=" 03",SYSFS{bInterfaceProtocol}="02",NAME="input/%k" ,SYMLINK="input/evmouse-%b"
      KERNEL="event*",BUS="usb",SYSFS{bInterfaceClass}=" 03",SYSFS{bInterfaceProtocol}="01",NAME="input/%k" ,SYMLINK="input/evkbd-%b"

      To persistently name the devices attached.

      --

      jh

    4. Re:Yes, but is it worth it? by Bert64 · · Score: 1

      You could always use a PS/2 keyboard/mouse for one head, and USB for the other...
      You could also differentiate USB devices based on their vendor string, assuming you use different brands of USB devices.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    5. Re:Yes, but is it worth it? by Anonymous Coward · · Score: 0

      Another way might be to use a really old machine as an X terminal, and use a more powerful machine as the server.

      Doesn't that mean you are now using two computers for one user?
    6. Re:Yes, but is it worth it? by mewyn · · Score: 1

      There's also a PORT option in the udev config file. I use it for my Linux Arcade cabinet to have ports on a hub always be the same game pad number.

    7. Re:Yes, but is it worth it? by wed128 · · Score: 1

      using allocators like udev, you can assign a specific file descriptor to each usb serial number. This would allow for consistent mapping...

    8. Re:Yes, but is it worth it? by EvilRyry · · Score: 1

      I haven't had luck with multiple heads on the same card. If you were to do that, you would need to have 1 X server and then have nested X sessions inside of it. Its not pretty.
      My wife and I shared a computer for about a year using Ubuntu 5.10. I had an Nvidia card for my screen, and a Radeon 9200 PCI for hers. I used PS/2 input, she used USB. It was nasty getting direct rendering going on the ATI as the Nvidia drivers overwrite some libraries. I eventually got it going by making a shadow tree of the /usr/lib/X11 directory, one had Nvidia drivers, the other the standard ATIs. Input devices can be forced to a particular X server by certain values from /sys. (Can't recall which ones ATM).
      All in all it worked extremely well. Only headaches after the initial setup was that there was still only 1 sound card, and removable storage seemed always get stolen by my desktop.
      Having said all this, there are several commercial solutions for this problem that would take out some of the hard work (and the fun!).

    9. Re:Yes, but is it worth it? by ptelligence · · Score: 1

      Actually no because a student can sit at the server too. So two machines for two users.

  5. Here's a HOWTO by swillden · · Score: 1

    It's a bit dated, and the patches to the X server sources will almost certainly have to be adjusted to work on the current sourcebase, but here's a HOWTO from someone who did it.

    It's the third hit on a Google search for "multiple keyboards X11", BTW.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    1. Re:Here's a HOWTO by prefect42 · · Score: 2, Informative

      You certainly don't need to patch anything. evdev support should be in current Xorg releases, and it works just nicely.

      --

      jh

  6. Obvious - Linux/X11 by kosmosik · · Score: 1

    This should be easy doable with Linux and X server. You need to plug in two video cards, two sets of USB keyboard/mouse and configure it a bit (but it should be not too hard) and it will work.

    I don't think there is even legal possibility to do it with standard customer Windows version since it specificaly prohibits multiplexing of input/output devices/user sessions in its EULA.

    So you basically have just one route - Linux (or *BSD or other freenix) and X11.

    1. Re:Obvious - Linux/X11 by thegrassyknowl · · Score: 1

      It's doable but not easy. Linux has no way in the standard kernel (when I last looked at this) to differentiate input devices so all mice and keyboards end up globbed as one input device. You need to patch the kernel to separate them out. Once you've done that it's a relatively simple matter of configuring a number of X screens on the available video cards, working out which mouse and keyboard belong to which X screen and putting them physically in front of it.

      CPU speed is low priority - most users spend most of their time idle. RAM is majorly important. Jam as much RAM in the box as you can or your users will just bitch that it's slow; even two sessions with a fluffy desktop (gnome/kde) can chew out a gig without much effort.

      --
      I drink to make other people interesting!
    2. Re:Obvious - Linux/X11 by kosmosik · · Score: 1

      > Linux has no way in the standard kernel (when I last looked at this)
      > to differentiate input devices so all mice and keyboards end up
      > globbed as one input device.

      You must have looked at it a long time ago. No patching is needed. It is just a simple matter of configuring Xorg to use different input/video devices for different screens. I am talking about X here. Regarding linux console (text one) you are right.

      http://linuxgazette.net/124/smith.html

  7. Here's one guy who built a six seat computer. by Anonymous Coward · · Score: 3, Informative

    http://linuxgazette.net/124/smith.html

    Not all good news though, seems it was a bit unstable. Still, it's a start. :)

  8. Hardware solution? by Admiral_Grinder · · Score: 1

    Wasn't there a company around 10 years back that sold add on cards that did this trick? Does that technology exist today or did it die out? I recall that the card had a video head along with ps/2 connectors. I saw it on one of the small time computer tv shows.

    1. Re:Hardware solution? by Daemonik · · Score: 3, Informative

      You're thinking of nComputing and they're still around: http://www.ncomputing.com/ They have a nice hardware setup that allows up to 30 users on a single PC, and it runs on Windows 2000, XP, Server 2003, and Linux. You can also find them on TigerDirect http://www.tigerdirect.com/applications/SearchTool s/search.asp?keywords=ncomputing&image1.x=0&image1 .y=0

    2. Re:Hardware solution? by AusIV · · Score: 1

      That looks pretty cool. Probably not as cheap as a roll-your-own method, but undoubtedly more stable. The fact that they offer a 30 day free trial is also somewhat encouraging.

    3. Re:Hardware solution? by Kauppila · · Score: 2, Informative

      The NComputing solution works and works well. They have 2 different soltions. One does up to 30, they have another that is a PCI card that adds 3 computers to a computer (giving you 4 stations) And for $250 for 3 additional seats (and can run a total of 7 w/ one physical CPU) its pretty reasonable. We are evaluating it for our school district now.

    4. Re:Hardware solution? by Joe+The+Dragon · · Score: 1

      But thing like that needs a lot of ram and things can get real slow if you are running apps that need a lot of cpu power.

    5. Re:Hardware solution? by merreborn · · Score: 1

      I used a similar solution from some knock-off vendor (which I can't even *find* via google, at this point), and lemme tell ya, it was absolute crap. A system that was perfectly usable for a single user became unusable for just two users. The software that drove the second session would lock up the processor for extended periods of time... even when the second terminal wasn't being used at all.

      So, buyer beware. When done poorly, these solutions are worse than useless -- which makes the fact that they're fairly expensive all the more painful. Read reviews.

    6. Re:Hardware solution? by Daemonik · · Score: 1

      Anytime you have multiple users sharing the same PC, you want to have the beefiest PC that you can afford, it doesn't matter if it's a hardware OR a software solution. The newer PCs, however, with Dual and Quad cores make using them for something like this much easier.

    7. Re:Hardware solution? by jayrtfm · · Score: 1

      That was probably Thinsoftinc.com and their Buddy system.
      I have their Betwin drivers, and in 9 classrooms I turned 1 system into 4 stations, saved the school about $16,000, and didn't have to worry about blowing the circuit breakers.

  9. One computer, many users by Anonymous Coward · · Score: 4, Informative
  10. Labor of love by mdsolar · · Score: 4, Insightful

    This level of salvage is a labor of love. There is quite a lot of open box work happening anyway. I agree with yours and other posts that X11 is the way to go. There are a lot of schools that get junk as donations and this kind of creativity is something to be admired.
    --
    Solar power installed at no charge: http://mdsolar.blogspot.com/2007/01/slashdot-users -selling-solar.html

  11. Not likely with Windows by Dan+East · · Score: 3, Interesting

    At one point I did some extensive searching to find an application / driver that would allow even partial multiuser control over Windows. We have a multimedia PC with two video outputs, one of which is dedicated to projection. Due to the physical layout of our control room, there are two keyboards and mice attached to the computer. All I wanted was a utility that gave each mouse its own pointer, so that two people could interact with my two custom programs at once. I never could find anything providing even that simple functionality, and it wasn't necessary enough for me to implement it myself.

    So, an Microsoft OS is most likely out of the question for what you want to do.

    Dan East

    --
    Better known as 318230.
    1. Re:Not likely with Windows by athos-mn · · Score: 1

      I've seen an (illegal) hack to turn Windows XP into a terminal server. I'm not sure how legal this is (since there's no reference to purchasing additional Windows licenses), but ThinSoft's WinConnect has a commercial program that does the same thing the hack does. There are problems with WinConnect: the license is really harsh (PC died? Tough crap, buy another license), and Windows XP doesn't regulate resources well in this mode: if six people launch the same app, you have six separate instances (rather than one split) run, with all the resource requirements six times over.

    2. Re:Not likely with Windows by mobby_6kl · · Score: 1

      Or you could just use Server 2003, no hacks needed there -- several users can connect at any time without any problems. Of course some applicatios are launched seperatly for each user, but for lightweight apps like web browsers, office and email it shouldn't be a problem. Oh wait, the submitter said he wanted to run OpenOffice...

      Anyway, this is how it can work with thin clients. I don't know if it's possible to get several separate mouse cursors in one client session, never tried that.

    3. Re:Not likely with Windows by jbarr · · Score: 1

      Hacking Windows XP Pro or using Server 2003 certainly would provide multi-user access, but you still need additional client boxes to access the multi-user environment, and that's not what he's looking for. He wants to leverage the "extra" keyboards, mice, and monitors on a limited number of PC's. In effect, he wants to create "multi-head" PC's, not multiple client boxes accessing a multi-user PC.

      Not currently doable in Windows AFAIK.

      --
      My mom always said, "Jim, you're 1 in a million." Given the current population, there are 7000 of me. God help us all!
    4. Re:Not likely with Windows by Lost+Engineer · · Score: 1

      True enough, but you can use thin clients quite effectively. It's still a box, but it's a small one.

  12. XRDP by athos-mn · · Score: 1

    Let's expand the parameters a bit - disparate hardware, maybe someone wants one of your existing PCs to run Windows occasionally (or a teacher with a Mac wants onto the shared box): Try XRDP. It sets up quickly, can be access by multiple platforms, and on the client end just requires an rdesktop command.

    1. Re:XRDP by itwerx · · Score: 1

      Try XRDP

      Try RTFA :)

      XRDP still needs one box per user and that's what the submitter is trying to avoid.

  13. this doesn't answer your question by Clover_Kicker · · Score: 3, Informative

    but is a different way to stretch junk hardware.

    Have you looked at Linux Terminal Server Project? Any old junk makes an adequate client, memory requirements are something like 64MB.

    There's an there's an active LTSP community, including guys use it in schools: www.k12ltsp.org.

  14. True by lightversusdark · · Score: 1

    At the end of the day, if saving a bit of cheap hardware means spending a lot on labour, then it's probably not worth it.
    True.
    --
    "There is nothing nice about Steve Jobs and nothing evil about Bill Gates." - Chuck Peddle
  15. groovix by Anonymous Coward · · Score: 0

    I was recently at the university of vermont and they have this technology in their libraries, they use a linux distribution based on ubuntu called groovix.

    I'm not entirely sure if you can use this without buying their hardware, but it may be something to look into.

  16. Edubuntu... by EvilGrin666 · · Score: 4, Informative

    Edubuntu will do this out of the box for you. It's designed specifically for this sort of situation.

  17. Server / Thin client by rlp · · Score: 3, Insightful

    As an alternative, why net take the best parts and build a decent server, and then build as many thin clients as you can make. That way you can also lock down the thin clients and only have to maintain software on the server.

    --
    [Insert pithy quote here]
    1. Re:Server / Thin client by todd.deland · · Score: 1

      this is a reasonable solution, build one great server to host something like vmware esx server then have tons of cheap o thin clients that you can control with the server. they boot from there... its secure, and very up to date. virtualization is the future! hope that help some :}

    2. Re:Server / Thin client by pebs · · Score: 1

      As an alternative, why net take the best parts and build a decent server, and then build as many thin clients as you can make. That way you can also lock down the thin clients and only have to maintain software on the server.

      Or better yet:

      How about do a server with thin clients AND have thin clients that have multiple keyboard/mouse/monitors.

      --
      #!/
  18. Linux Terminal Server Project (LTSP) by ptelligence · · Score: 4, Informative

    Get one server quality computer and load it up with Ram. The rest of the machines will be thin clients and can be just about anything down to a Pentium I. You can even run the machines diskless. You'll want a good 10/100 switch and at least a 100Mb NIC in the server. There will be a lot of information traveling across your network. I've done setups like this for kids in similar situations with donated hardware. One cool thing about this is that the students have the same experiences no matter what machine they sit down and log into. They don't have to be at one particular machine because that is where they saved their work. Definitely check it out. There is also a K-12 version for kids. Good luck. http://www.ltsp.org/ http://www.k12ltsp.org/

    1. Re:Linux Terminal Server Project (LTSP) by jomegat · · Score: 1

      I used the K12LTSP project with great success at a school too. It is a very nice setup. I highly recommend that you remove disks from the client machines because the whole lab will get a lot quieter. It's amazing how loud hard drives are. I used a 1.2GHz server with 1GB RAM to run 20 terminals, and it was very snappy, even running OOo (this was about three-four years ago). A 100Mbit network is crucial.

      --

      In theory, practice and theory are the same. In practice, they're not.

  19. Userful by rob1980 · · Score: 3, Informative

    http://userful.com/

    I used this to set up 8 workstations (virtual art galleries, actually) out of two machines for a tattoo shop across town. I've followed some of the resources already linked on this topic and was never able to get such a setup working, but this software did it just fine. All you need are some dual-head video cards and USB hubs.

    1. Re:Userful by Magic5Ball · · Score: 1

      Ob. plug:

      I know we've done other kinds of deployments into schools, libraries, Internet Cafes and other places, but the tattoo shop is new to me.

      Also, the dual-head video cards aren't a strict requirement. As long as you can get it onto the bus, the majority of ATI and nvidia cards with 1-4 heads will work fine.

      OP: Depending on what your requirements are, you may find interest in the basic Desktop Multiplier which provides multiple workstations from each PC, DiscoverStation which includes Desktop Multiplier and a managed desktop layer, or a solution from our education partners at Omni who combine Desktop Multiplier with SLED and groupware.

      --
      There are 1.1... kinds of people.
    2. Re:Userful by rob1980 · · Score: 1

      You're right about the video cards, that's just what we did because we didn't have enough PCI slots to go around. :)

  20. You have to wonder why this is so rare by Anonymous Coward · · Score: 0

    A standard PC nowadays comes with two graphics outputs (if you have a discrete graphics card, anyway - or standard laptops which have a built in screen plus a VGA/DVI port) and uses USB for keyboard and mouse (you can even get USB speakers). The hardware capabilities (and computing power) to allow 2 sessions are right there! Why can't you just plug the peripherals in, click a config button, and go?

    I understand MS/Apple might want to sell more software... doesn't explain why linux doesn't do it.

    1. Re:You have to wonder why this is so rare by name*censored* · · Score: 1
      If I'm understanding what you're advocating correctly, then it's a very problematic solution. For one thing, you'd somehow have to make two mouse cursors each controlled by two independant mice, you'd need to keep each cursor within it's own screen (it'd be a bit kooky to see someone elses' mouse keep popping into your side of the screen). Same deal with keyboards - you'd need to make sure anything typed would stay on the screen it was delegated to. There are solutions to this - but they are rare BECAUSE not many people would use this

      If I were the OP and had a computer powerful enough to even consider this, I'd sell or trade it for several crappier and stripped down machines - network boot to save on multiple hard disks, low wattage power supplies, onboard everything, etc.. You might end up using more power when they're ALL running with this solution, but given that you'd otherwise be powering up more power-hungry hardware just for two or three students in most cases, it'd probably work out in the end.
      --
      Commodore64_love: I don't comprehend people who're so frightened of death that they'll bankrupt themselves to stay alive
    2. Re:You have to wonder why this is so rare by 644bd346996 · · Score: 1

      The problems you describe with input devices can be solved with a trivial performance hit. If a computer can handle OO.o and Firefox simultaneously, it can probably handle another copy of each, considering the way it will be used. The OP just might want include more swap than he otherwise would for a low-end desktop.

    3. Re:You have to wonder why this is so rare by Score+Whore · · Score: 2, Insightful

      You ever wonder what that DISPLAY environment variable means? :.? It's for having a single source of computing power with multiple displays used by multiple users. Back in the 80s when this stuff was being developed fast systems were still quite spendy. It made sense to spend half a million on CPU and RAM then stick six or twenty users on it. Now days it's mainly niche applications that take this approach.

    4. Re:You have to wonder why this is so rare by Short+Circuit · · Score: 2, Informative

      If I'm understanding what you're advocating correctly, then it's a very problematic solution. For one thing, you'd somehow have to make two mouse cursors each controlled by two independant mice, you'd need to keep each cursor within it's own screen (it'd be a bit kooky to see someone elses' mouse keep popping into your side of the screen). Same deal with keyboards - you'd need to make sure anything typed would stay on the screen it was delegated to. There are solutions to this - but they are rare BECAUSE not many people would use this I believe it's supported by X and the Kernel. Under /dev/input, you have a separate mouse device file for each mouse attached to the system. /dev/input/event* uniquely identify each HID device, meaning mouse, keyboard or joystick.

      In your /etc/X11/xorg.conf file, you can create entries for each DEVICE (mouse) you want attached to the PC, and you can create entries for eachy DISPLAY (screen) you want. All you need are a few $30 PCIe video cards, and you can attach multiple monitors to the PC, each with their own GUI login session.

      I'm not sure whether X supports multiple keyboard yet. I seem to recall reading about a patch for XFree86 3.3.6, but that gives you an idea how long its been since I looked into it.

      If I were the OP and had a computer powerful enough to even consider this... Are you kidding? X was designed from the get-go with exactly this kind of use in mind. One powerful 66MHz [sic] machine would serve as the application and GUI server, while thin clients were essentially network-attached monitors. It was intended as a GUI analog to the then-extensive use of text-only dumb terminals.

      Yes, operating systems and applications have become more resource-intensive over the past 20 years, but do you really believe someone needs even a 3GHz P4 for educational purposes? I've been using Linux on a 1.8 GHz Athlon XP laptop for the past two years for notetaking, programming and web browsing. Until six months ago, I had it underclocked to a mere 1.06GHz, and had no issues with anything that might be considered educational use.

      For similar purposes, an Athlon64 X2 4800+ desktop machine with a gig of RAM should be able to support five or six users, as long as you watched out for applications prone to excessive memory usage. And that's a machine you can throw together for only $700. Divide that by six users, and you're talking about a mere $116 per user. That's cheaper than the OLPC. Hell, that's cheaper than I've seen 500MHz desktops sell for at mom-and-pop shops in my area.
  21. When will The X Windowing System get low power? by Anonymous Coward · · Score: 0

    I've been looking on and off for software to allow 'suspension' and 'reconnection' of X servers.

    The idea is:

    One large super server
    A bunch of X Servers.

    Worker Bee starts X server, connects to server and get apps/desktop up and running the way they like. Comes 5 PM, they put the X session "to sleep" and turns off X Server. Next day, they turn on the X server, and do a 'reconnect' - BAM! Right back where they left off.

    Has anyone seen this yet?

    1. Re:When will The X Windowing System get low power? by Lord+Bitman · · Score: 1

      As I understand it from my googlings in the past, such various "this is so annoying and stupid that it doesn't support this!"-type missing features of X are actually part of the X protocol, but no one (NO ONE. Absolute zero. Not "almost nobody".) actually implements them.

      I do not actually know the X protocol, or anything about X, really. Ever tried to read that thing? Maybe it's time to kill it bunches.

      --
      -- 'The' Lord and Master Bitman On High, Master Of All
    2. Re:When will The X Windowing System get low power? by psmears · · Score: 1

      Has anyone seen this yet? If I've understood you correctly, you can do that with Xvnc.
  22. Hardware Solution from a School Network Admin by Anonymous Coward · · Score: 0

    As I have been in your exact situation, I know how it is. The best solution I have found is the Xtenda X series from http://www.ncomputing.com/ . It is a PCI card and a small box that will allow you to attach up to 3 additional K/V/M sets to a single host computer. If your host PC is powerful enough, you can install 2 PCI cards and run an extra 6 PC's from the host. For only about $200 for a kit (1 PCI card, 3 K/V/M boxes and the software) they are very affordable. Good luck.

  23. hardware multi-terminal for linux by emes · · Score: 1

    I have not used these products, so I cannot personally vouch
    for them:

    www.ncomputing.com

    They offer a solution that sounds like what you want.

    1. Re:hardware multi-terminal for linux by enki700 · · Score: 1

      i just purchased all 3 versions of ncomputing to test. $200-$350. i have to say they work great!!! i only did windows tests, but it mentions linux as well (2000 works too, no need for xp's TS). you install their custom RDP-like software on the host and it just works! you get exact same box multiplied - all installed software and data is there. i tested these for work, but now i may get a few for home.

  24. XTerms by i.r.id10t · · Score: 1

    X Terminals, either diskless or just enough to load X and then everything else comes from one Big Box.

    Or something like:

    http://www.linuxtoys.org/multiseat/multiseat.html

    6 monitors, keyboards, mice, one tower.

    --
    Don't blame me, I voted for Kodos
  25. I don't think so... by swillden · · Score: 4, Informative

    Edubuntu will do this out of the box for you. It's designed specifically for this sort of situation.

    Are you sure about that? AFAIK, what Edubuntu provides is LTSP, which allows you to run one machine with a bunch of thin clients attached to it, but each of the thin clients requires another PC. That's not the same as attaching multiple monitors and keyboards directly to one computer.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    1. Re:I don't think so... by mdsolar · · Score: 1

      That's right, but this also might be better. True, you don't get to reuse the extra keyboards and monitors if the problem is dead motherboards, but what if the problem is dead disks? A motherboard with ethernet and graphics is going to work OK here and the solution looks pretty nice in terms of educational software pre-installed. This also looks nice from the system admin side and gives flexibility. If a working HD dies, your not out functionality of two seats you still have funtionality while you wait for donations that bring in a replacement HD. You can pick your two best boxes for a server and a backup, put together RAIDs and have robust reliability while only losing one seat at a time to motherboard, graphics card or ethernet card failure. This is easy to deal with by having a few working but slower motherboard systems in a closet for standby.

  26. This should be exactly what you're looking for. by screevo · · Score: 2, Informative
  27. Seems to work in linux too... by rbarreira · · Score: 2, Insightful

    According to that webpage, it seems to work in linux too...

    --

    The AACS key is NOT 0xF606EEFD628B1CA427BEA93A9CA9773F
  28. Ugh. by Colin+Smith · · Score: 1

    This is a horrible way to do it. Whip out the hard disks and turn them into Thinstations or LTSP systems. Even the old pentiums.

    Turn what's left of the better machines into an array of X servers.

    --
    Deleted
  29. What about Sun Rays ?? by paulz42 · · Score: 1

    Sun Ray server runs on Solaris 10 sparc and X86, which BTW includes StarOffice and Mozilla,so editing, email and webbrowsing should be no problem. If you want you can even use some Linux distros. More info at http://www.sun.com/desktop/index.jsp?tab=1

  30. Maybe use some of them as servers instead? by Curmudgeonlyoldbloke · · Score: 1

    I suspect that the donated kit isn't actually going to be "latest and greatest" stuff, so having one CPU handle multiple sessions may slow things down a bit too much.

    Once you've factored in the cost of your time, power consumption and (un)reliability maybe a more cost effective approach might be to consider donated kit for discrete server functions and buy one or more newer faster desktops to handle the multiple desktops? Maybe even do up the donated kit to sell on for "Internet access and email only" devices and use the cash elsewhere?

  31. On a similar note... by turing_m · · Score: 1

    How do you manage quality of service issues in sharing an internet connection with 2 or more users if one wants to be doing general stuff (surfing the web, checking email, using skype etc) and the other wants to use up all the slack time with file sharing?

    --
    If I have seen further it is by stealing the Intellectual Property of giants.
    1. Re:On a similar note... by Anonymous Coward · · Score: 0

      same way as you do now erm by port at the local external interface or by port at the router?

      You just got here?

    2. Re:On a similar note... by Anonymous Coward · · Score: 0

      I don't think that would work. Ncomputing is based on RDP-like screen scrape technology, however the bitstreams are fairly similar bandwidth wise, so long as video isn't being used.
      So whether you are typing a document, or performing SQL queries, all the real data exchanges happen at the back end, between the host PCs and the servers. You could however in theory provide QoS on a per IP basis. So if user X is more important than user Y, then QoS one PC above the other.

  32. Available out-of-box by Pointy_Hair · · Score: 1

    Quite a coinkidink, but I happened across this very topic during some semi-related web browsing yesterday. Others have noted the http://www.ltsp.org/ packages. You can buy ready to go systems using this out of the box at http://www.shoprcubed.com/products.asp?cat=46 and probably others. I didn't explore it, but they may sell the pieces and parts you'd need to add for that functionality on donated hardware. Upside = works right away with minimal configuration. Downside = kind of pricey compared to the OP's intended use of recycled hardware. I'd tend to go with others suggestions of piecing together an x-server and building thin clients out of less burly systems left over.

  33. How I did it by whatnotever · · Score: 2, Informative

    There are a lot of different ways to do this under Linux; someone has already posted several links to some resources. The easiest way I found, and the way I've been running my two-seat, single-machine setup at home for about a year, is simply using the capabilities of newer versions of X Windows as described on Chris Tyler's blog (included in those links earlier).

    All of the other methods I've seen require non-standard kernel modules or non-standard X servers, etc. This way uses standard software, and I think it should work for most modern distributions (I'm using Gentoo).

    What you need hardware-wise:

    1. One graphics card per seat. I have an old AGP Radeon 9000 and a super-old PCI Matrox Mystique.
    2. A monitor extension cable if you want the seats far apart. I first bought a 15ft brand-name one from Buy.com that was absolutely worthless (thin cable, ridiculous ghosting even at low resolutions) - then I bought this "generic" one which works perfectly.
    3. One keyboard/mouse pair per seat. One of my seats has a PS2 keyboard and a USB trackball, and the other has a PS2 mouse and a PS2 keyboard on a PS2 to USB converter that works perfectly hanging off the end of a 10ft USB extension cable.

    The software setup is described fairly well in Chris Tyler's blogs (don't skip the comments - there are useful tips from others in there, and on this followup page), but here's the basic idea: You run two separate X instances, each with a different ServerLayout section in the config file. They obviously need to point to different video cards (and I found that using the "SingleCard" option was necessary to get both to work), and you also need to separate the input devices between the two. The best way to do this that I know of (again, avoiding odd kernel modules or other software) is evdev. It's somewhat complicated, but it lets you specify input devices based on where they are plugged in or their specific model numbers, etc. It's fairly flexible.

    Once you have two separate X instances up and running, it's a fairly simple matter to get gdm (and I assume most other *dm applications) to launch both automatically with independent login screens.

    Good luck!

  34. LTSP? by DeathFire · · Score: 1

    How about K12LTSP?

    http://www.k12ltsp.org/

  35. XTerminals -- Linux thin clients! by redelm · · Score: 1
    I like the idea of Xterminals, but I'm a dinosaur and remember the Real Thing: terminals that did X and you could log into the networked machine[s]. Sort of like a VT220 doing graphics. They ran BOOTP (iso DHCP) and TFTP to boot.

    I think now you'd want boot from flash and DHCP. The minicomp would be a small box like a SohO router with SVGA out (only 2D required), 10/100baseT or wireless, a wall-wart for power, and USB or PS/2 for kbd/mse. Very tidy, very neat and very cheap. Add monitor, kbd, mouse and network to run.

    Onboard SSH would be a must, but a key design decision would be whether to incorporate a browser client to the local X server. Doing so would usually improve performance and always cut X-traffic. But this would jeopardize making the box a stateless appliance. That might depend on whether the box was tethered to a server, or expected to work standalone.

    With software, you can do much the same thing to much more powerful desktop and laptop machines using something like a Knoppix boot CD.

  36. Linux works for two consoles by thsths · · Score: 1

    Linux works reasonably well for this. 2.6 does ok support for handling several keyboards, but it is still easier if one terminal uses PS/2, and the other one uses USB. Several graphics cards have been working for a long time, and with some graphics cards you can even use the two output for separate sessions. And with PCI-E you can also use two graphics cards without loosing any performance.

    But the main questions remains: what do you gain? You still need two keyboards, two mice, two screens, two graphics cards, twice the RAM, and probably a faster processor. The only thing you can save is one harddisk and some space. Although with Linux, you can easily run a system of the server without any local hard disk.

    1. Re:Linux works for two consoles by Anonymous Coward · · Score: 0

      Keyboards, mice, and low-end graphics cards are cheap. You also don't necessary need two graphics cards, ones with two VGA or DVI outputs are very common. You probably won't need twice the RAM or a faster processor, either -- typical educational software isn't CPU or memory-bound at all. They probably won't even need PCI-E video cards; if you don't need hardware acceleration, plain old PCI is still good enough. Don't forget that you're also saving a motherboard, power supply, and case, and it's easier to maintain one computer than two.

    2. Re:Linux works for two consoles by dhasenan · · Score: 1

      If I run OpenOffice and you run OpenOffice, there's only one copy of OpenOffice in memory, but using twice the heap space (as much as you would be using alone and as much as I would be using alone). So you need less than twice the RAM.

      Well, okay, I'm not sure how that works with jvm. But with standalone binaries, it's true; with shared libraries, it's true.

  37. I've done it successfully by DAharon · · Score: 1
    I was recently trying to do the same thing. I wanted to run two X sessions, each with their own login. The idea was that I would be able to use the same computer while viewing content on my monitor and my tv as different users simultaneously.



    The first thing you need to do is let X know about your keyboards and mice. Then create multiple layouts (all this done in xorg.conf). Then edit your login manager config file (works for both kdm and gdm) so that it starts multiple instances of itself using the specified X layouts.


    Below is the entry I added to kdmrc for my dual layout config:


    [X-:1-Core]
    AllowNullPasswd=true
    AllowShutdown=All
    NoPassEnable=false
    NoPassUsers=
    ServerArgsLocal=-nolisten tcp -config /etc/X11/xorg.conf.dual -layout Layout2
    ServerCmd=/usr/bin/X -br


    It's important to note that I while I did succeed in getting two X sessions running, and I was able to switch between them with alt-f7/alt-f8, I could not display both at the same time. Apparently you need a seperate video card for each session to pull this off successfully.

  38. Linux and Xorg by marros · · Score: 1

    Take the most powerful computer you have, add 1 agp video card, and the rest pci video. Using a usb hub, plug in the appropriate amount of usb mice and keyboards (you can use the ps/2 ones for the main box), and then just configure the heck out of it, and it will work.

  39. Install Ubuntu + SRSS by forq · · Score: 1

    See this wiki on how to install Sun Ray Server Software on an Ubuntu system, and then acquire some SunRay2 DTU's to drive keyboards/monitors/mice. SunRay is a very simple way to drive multiple user sessions off single device. Enjoy.

  40. One word by Anonymous Coward · · Score: 0

    VMWare

    1. Re:One word by itwerx · · Score: 1

      VMWare

      Er, is this a troll? :) How does VMWare solve the submitter's problem? Sure, you could run multiple instances of RDP, but you still have the problem of not having a separate keyboard, video and mouse for each user! Hello? McFly?

  41. Simple answer is Groovix by RobTerrell · · Score: 1

    Try Groovix. This was mentioned above, but it's been overwhelmed by do-it-yourself solutions, and if you're the one IT guy for a charter school, you probably need it simple and reliable. Check out their distro. It's based on Ubuntu, and you can download it from their web site.

    For more info, check this page: http://groovix.com/slim.html which explains how they support up to 10 seats (monitor, keyboard, mouse and speakers) per computer.

    There's an article about Groovix being used in Maryland libraries here: http://www.linux.com/article.pl?sid=06/09/22/15422 54

  42. Re: six seat computer... by Anonymous Coward · · Score: 0

    The problem with a six seat computer is that nobody wants either of the bitch seats, and everyone wants driver or shotgun. That creates a bit too much tension in a school environment.

    Also, you have to watch out for the older kids. They'll make it even more unstable by modding it with hydraulic suspension and ricer stickers.

  43. Userful by Anonymous Coward · · Score: 0

    This is one solution to your problem: http://userful.com/products/multi-station-how-it-w orks

  44. XTENDA by SWad · · Score: 1

    We are looking into the XTENDA X300 solution. It is a card that uses CAT5 to connect to three remote XTENDA boxes that have monitor/keyboard/mouse/sound connections. You can install 2 cards per computer to have up to 7 PC's with one physical box. We like this for the following reasons:

    1. Eliminate need for small switches in the classrooms.
    2. Only maintain one computer.
    3. Upgrades will be easier.

    We still have some testing to do, but the preliminary stuff is very promising.

  45. For an off the shelf solution... by Ertman · · Score: 1

    Check out http://www.ncomputing.com/ncomputing/products/dire ct.php

    You can install this PCI card and have up to 4 users on a single Windows PC at the same time. Install 2 cards and have up to 7 users.

    One card and 3 extenders cost less than $225.

  46. M$ Liability? by mdsolar · · Score: 1

    What is M$' liability? Surely they were collecting licensing fees and knew what the machines were being used for. Given their warning, should they not have refused to license? Does their warning get them off the hook? Didn't work for Napster....
    --
    Solar power with maintenance included: http://mdsolar.blogspot.com/2007/01/slashdot-users -selling-solar.html

    1. Re:M$ Liability? by mdsolar · · Score: 1

      Oops, wrong thread.

  47. I have set this up and it works great by killerkalamari · · Score: 2, Informative

    Here is the link you need:

    http://research.edm.uhasselt.be/~jori/page/index.p hp?n=Misc.DualSeatX

    I recommend the Xgl method for the following reasons:
    * free (GPL)
    * lets you use both heads of dual-head cards (that's what I'm doing.. I have just one video card)
    * allows you to use graphics acceleration (I've played opengl games on one screen while my wife was surfing on the other)
    * seems stable
    * works with your existing xorg / xgl binaries and kernel (no recompiling of these apps)

    The instructions on the page are pretty good, but if you need help setting it up, I'd be happy to assist. See my website for my e-mail address.

    It works good for us. I'm running Kubuntu AMD64.
    Good luck.

  48. Why not run Solaris and SunRay by Anonymous Coward · · Score: 0

    Hey;

    Solaris can a lot more stable than Linux and these types of virtual classrooms can easily be put together with the SunRay server software. Used sunray appliances (read graphics card, keyboard ports, etc) can be found on ebay for cheap. You can download both Solaris and the SunRay server software from Sun. I've supported a class with 100 seats from a single machine (8 dual core cpu in that case). You can still do it on x86 for a a few seats with an older machine. And, if you prefer Linux, Redhat (and one or two others) is also supported.

  49. I used LTSP, but still searching by h00manist · · Score: 1

    I used LTSP in a cybercafe, worked great. userful.org has an interesting distribution. one computer, ten monitors+keyboards+mouse, ten users on one computer. Ndiyo has an interesting alternative, but it's not a product yet.

    --
    Build your own energy sources from scratch. http://otherpower.com/
  50. So much trouble you had... by Anonymous Coward · · Score: 0

    I only haha at you.

    8-D

  51. LTSP vs Multi-Head by tesno2 · · Score: 1

    I set up a K-12 school in Bolivia using 12 Multi-Head PC's driving 3 stations each giving 36 terminals. The original version used the Backstreet Ruby kernel patch and a hacked X server. It has been running stable for 2 years now. I have been trying out X.org which is stable with new (9631) Nvidia drivers (we use one onboard Nvidia graphics card and 2 Nvidia PCI graphics cards - around $50 each).

    I looked into an X terminal solution but the performance was not good enough. We want to run kids educational games that have nice graphics and things changing quickly on the screen - LTSP is too laggy. The machines use Athlon XP 2500+ processors with 512MB RAM.

    Getting a stable configuration can be tricky. Chris Tyler's blog here:
    http://blog.chris.tylers.info/index.php?/archives/ 14-Multiseat-X-Under-X11R6.97.0.html
    has useful tips that helped me out - you have to wade through some crud to find them...

    Ideally we would like to use VMware or Wine so the kids could play Windows educational games - they are lots of them and the kids love them. I have not been able to get the games to run on Wine however and with VMware, the performance is not good enough. We set up another Elementary lab with Win98 installed - PIII 750's with 128MB and 40GB 5400RPM drives is plenty for the type of games they run.

    Good luck!
    Feel free to contact me if you have any questions.

  52. Recently done this too by onetwofour · · Score: 2, Informative

    I've just recenetly been trying to multiseat X, the linuxtoys.org and http://gentoo-wiki.com/HOWTO_Multiseat_X are good references on this, even though the gentoo one is a little outdated now. Anyway, I recommend either Ubuntu or gentoo for this and I used Xorg 7.1 with Gnome 2.16. I plugged an ATI Rage 128 with two matrox mga pci cards into the machine and started playing about, your core files that are going to allow you to do this is /etc/X11/xorg.conf & /etc/X11/gdm/custom.conf (or whatever flavour of xdm you are using) Firstly in xorg.conf you will need to define your devices & seats as in the tutorial, a *WARNING* at this point. There currently exists a bug with multiseating within xorg, that if you don't have an active monitor and keyboard for each seat (excluding your primary device) then it will crash the entire system. (This bug has been reported) Once you've done this it's the gdm configuration and I used the following: 0=Standard 1=Extra [server-Standard] name=Standard server command=/usr/X11R6/bin/X0 :0 -deferglyphs 16 -novtswitch -isolateDevice PCI:1:0:0 -layout seat0 flexible=false [server-Extra] name=Extra Server command=/usr/X11R6/bin/X1 :1 -sharevts -deferglyphs 16 -isolateDevice PCI:0:9:0 -novtswitch -isolateDevice PCI:0:9:0 -layout seat1 flexible=false This works for my system, the sharevts is a tricky option and it only served to give a display bug on my rage 128 (and wasn't required for the first video device). I would also suggest you turn off any vtcontrol in xorg.conf, this can be done with: Section "Serverflags" Option "DontVTSwitch" "yes" Option "DontZap" "yes" EndSection My conclusions? Multiseating can work very well, it's certainly on it's way to being more stable and certainly is viable for your situation.

  53. Re:Use the real deal by ToasterMonkey · · Score: 1

    That monster you describe would be a few thousand dollars in hardware costs, then office licenses. Windows needs what.. 1GB per user in that kind of environment.. It's not like there are junk workstations with 8gb of ram floating around (or stable versions of windows to use that much memory). If he wanted students to hot swap around one workstation anyway, he'd be better off with one login and a seperate little fileserver with per-user logins for data. That should work quite fine in a school environment.

  54. mulitple desktops on single computer by hurtn4certn · · Score: 1

    You might want to check out BeTwin Software from Thinsoft. It runs on Windows XP and will allow up to four users on a single workstation. I'm currently using it on a Pentium 4 (3.2 GHz processor) and it works beautifully. Although, some of Microsofts patches play havoc with the application (I keep an image every month just in case one of those patches breaks something). I currently only have one client configured, but both host and client can be watching DVD movies concurrently with separate displays and individual sound, or both running Microsoft Office Applications or surfing the web. http://www.thinsoftinc.com/index.aspx

  55. I've gotten close by GWBasic · · Score: 1

    I've gotten close with MacOS and Parallels. I was able to designate a specific USB mouse to a specific VM, but I could not do it with the keyboard. If you can find a good VM that allows you to direct USB mice and keyboards without the parent OS seeing the inputs, you might have some luck. It'll also simplify your configuration because you can clone VMs at the click of a mouse.

  56. I use a 4-Seat system daily by Chris+Tyler · · Score: 1

    I have a stable 4-seat system at home that I use daily -- along with my wife and two daughters. It takes a bit of work to get a multiseat system set up, but once you do, you save electricity, hardware costs, and admin costs, and in a school setting you could deploy the same configuration across a number of systems. Previous posts have mentioned my blog entry and related discussion: http://blog.chris.tylers.info/index.php?/archives/ 14-Multiseat-X-Under-X11R6.97.0.html -- it's getting a bit dated but the basics will send you in the right direction. (There are other ways to do multiseat, too, and I'm including them in a chapter of an upcoming O'Reilly book).

    My system is a 32-bit AMD (Athlon XP 2800) with one AGP and three PCI NVIDIA cards, along with one PS/2 keyboard+mouse set and three USB keyboard+mouse sets. I have 1 GB of RAM, which has worked well until recently, when I added a Xen guest domain with some web services and dropped the amount of RAM available for multiseat use ... so now I'm shopping for a 64-bit box with a bit more RAM. We run standard desktop apps: OpenOffice.org, Firefox, the Gimp, various photo management programs, music players, Evolution, Google Earth, and so forth, and the performance is quite acceptable.

    3D desktops (Compiz/Beryl) do work in this configuration, but this machine is a bit under-powered to make them work really well. When I get my new box I expect that we'll all be running Compiz :-)