Slashdot Mirror


Multiple Users and Multiple Inputs on One Machine?

BozoForPresident asks: "Not long after seeing a dual monitor setup for the first time I thought how useful it'd be to plug in another keyboard and mouse for a second user. That $4000 dual headed laptop (reported on Slashdot on Sunday March 16) becomes a more viable purchase when you add a couple of USB keyboards and mice for an additional user. Microsoft will never do it but how difficult would it be to make Linux handle 2 (or more) streams of input and direct them to their respective windows?"

83 comments

  1. Congratulations by __past__ · · Score: 5, Funny

    You have just invented the serial terminal. Maybe you should apply for a patent.

    1. Re:Congratulations by SN74S181 · · Score: 1

      That's the first thing I thought, too.

      How lame is it that a question like this is being asked about a time sharing system like Linux?

      How did something like this get to be an 'ask slashdot' question?

      And why would anybody crowd two people onto one machine in this day and age when most of us have whole networks of multiple machines at our disposal, i.e. single user, multiple machines?

    2. Re:Congratulations by dfreed · · Score: 1

      You know you're a geek if your home network has two or more computers on it whose only connection is an ethernet cord.
      Unless you are running Power over Ethernet (not likley on a real computers system), this simply means you have some paperweights with a network connection, and no power source.
      (I know what you meant, but as a geek you should apreciate attention to detail.)

    3. Re:Congratulations by GeckoX · · Score: 1

      Hmm...
      apreciate or appreciate?

      Ironic isn't it?
      What's that about judging others, hmmm...

      --
      No Comment.
    4. Re:Congratulations by tenman · · Score: 5, Insightful

      You haven't been marked at troll yet, so I'll tell you why this is a great ask slashdot post. It boils down to the fact that not everyone knows as much as you, or about what Linux can do for them. It would seem to me that if you could answer this poor guy's question, instead of trying to make yourself sound powerful and mighty, the world just might be a little better place to live. If you don't think what I'm saying is true, then check out the little culture of open Source Developers. And if you don't believe in the Open Source philosophy, then why are you wasting your time with Linux anyway? Why don't you just use some other UNIX? Please stop the high and mighty crap. No body cares that you have more geek'sperince, and the people who might care, can't because your to busy trying to tell them how stupid they are. There was a point in time that you didn't know about serial terminals. There was a point in time where you got introduced to the concept.

      Have a nice day.

    5. Re:Congratulations by SN74S181 · · Score: 1

      Just because someone who is clueless asks a question doesn't mean it should make the front page of Slashdot. We could start echoing the Usenet posts to hardware groups asking clueless questions if that were the case.

      Is this gonna turn into a forum for people whining because the connector from their phone doesn't plug into their ethernet jack??

    6. Re:Congratulations by PunchMonkey · · Score: 0, Redundant

      You haven't been marked at troll yet, so I'll tell you why this is a great ask slashdot post. It boils down to the fact that not everyone knows as much as you, or about what Linux can do for them. It would seem to me that if you could answer this poor guy's question, instead of trying to make yourself sound powerful and mighty, the world just might be a little better place to live. If you don't think what I'm saying is true, then check out the little culture of open Source Developers. And if you don't believe in the Open Source philosophy, then why are you wasting your time with Linux anyway? Why don't you just use some other UNIX? Please stop the high and mighty crap. No body cares that you have more geek'sperince, and the people who might care, can't because your to busy trying to tell them how stupid they are. There was a point in time that you didn't know about serial terminals. There was a point in time where you got introduced to the concept.

      Have a nice day.

      --
      I'll have something intelligent to add one of these days...
    7. Re:Congratulations by tenman · · Score: 1

      well said... but I also agree with the comment before you... we really can't let this become a place where people get information... Like those useless Usenet groups... :)

    8. Re:Congratulations by PunchMonkey · · Score: 1

      Hehe, newsgroups have really fallen apart I think. Oh well, no one else got the joke, I got modded redundant. :-)

      --
      I'll have something intelligent to add one of these days...
    9. Re:Congratulations by Tony-A · · Score: 1

      A good question can come from a "clueless" user.
      Are the answers cluefull?

      why would anybody crowd two people onto one machine in this day and age when most of us have whole networks of multiple machines at our disposal, i.e. single user, multiple machines?
      Single user, no interaction with other users. Might as well use Big Chief tablets or clay tablets.

      In this day, what we want is multiple user, multiple machine, which is a hard (ie many-to-many) problem, hence an interesting problem.

    10. Re:Congratulations by riqnevala · · Score: 1

      And if you don't believe in the Open Source philosophy, then why are you wasting your time with Linux anyway?

      Almost modded it as "overrated", as I see your point, but hey - I want to reply this.

      Do you see Linux as your community, guarded by thick-bearded philosophers? Is linux an OpenSource-minded-only-OS? Is no "microsoftian citizen" allowed in your [linuxian] world?

      Otherwise I agree with you. Having funny comments instead of constructive ones brings no more value to people asking slashdot.

      Are these threads supposed to branch off topic? Is any comment, mentioning slashdot rules or moderation guidelines actually a meta-comment? Shouldn't they be modded out altogether, as so many sigs tend to manipulate moderators' mind...?

      --
      love slashdot. populate it. use it. abuse it. hate it. kill it. miss it. stop following links, they only kill servers.
  2. The Recipe by zapatero · · Score: 3, Funny


    For second serving:

    Add video card. Sift in mouse port and keyboard device (USB recommended when serving more than one). Let blend in x11 conf file. Bind X11. Serve.

    Don't forget audio. Can be nice to have multiple
    audio out as well.

    Hilarity ensues as multiple X desktops compete for such things as CD Drives.

  3. It shouldn't be hard at all. by PurpleFloyd · · Score: 4, Informative
    Just get a USB hub, a second video card, a USB keyboard, and a USB mouse. Then run two X sessions, each configured to use one K/V/M configuration. The only issue is if you want to run high-end 3D graphics on both monitors, since you can only fit one AGP card into a PC. You might be able to get around this with one of the Matrox or ATI dual-head boards, but I don't know that for certain.

    Incidentally, you may want to check out this review of a product that does something similar in Windows, again using multiple video cards.

    Alternately, you may want to cruise Ebay for some secondhand X terminals. While they tend to be ridiculously expensive new (on the order of a whole new PC), you may be able to find someone with a few they just want to get rid of. Of course, check out the specs before hand and cruise Google to make sure that they'll work under Linux without any special hardware or software. X may be an open protocol, but it never hurts to be sure.

    --

    That's it. I'm no longer part of Team Sanity.
    1. Re:It shouldn't be hard at all. by grotgrot · · Score: 2, Informative

      ThinSoft also have a product that does it for Windows.

    2. Re:It shouldn't be hard at all. by glitchvern · · Score: 4, Informative

      Actually it's harder than this, due to problems in linux with the virtual terminal locking code. You end up having to compile a completely seperate X server with all the virtual terminal code removed. Details here. These guys are working on fixing linux's virtual terminal problems. I think the new virtual terminal code is one of the things not making it into 2.5 which will be put into 2.6 at some later point.

    3. Re:It shouldn't be hard at all. by Rastor · · Score: 1

      The only issue is if you want to run high-end 3D graphics on both monitors, since you can only fit one AGP card into a PC.

      This is partially true, however there are a small number of GeForce4 MX cards available in a PCI version (I use one myself; my desktop system is a strange Athlon server with no available AGP slot). You will not be able to make use of streaming AGP textures, of course, but it's more than sufficient for low- to mid-range OpenGL apps.

  4. Difficult? You jest, sir! by Pogue+Mahone · · Score: 2, Informative
    It's what X is designed to do, right out of the box - provided that your graphics card (and its driver) can configure the 2nd output as a separate display (nvidia can). Just read your XF86Config file one day and see! The only "problem" you might have is allocating the sound channel(s).

    BTW did you know that you can also run multiple virtual X sessions (similar to the virtual terminals but graphical) on the same display/keyboard/mouse? I have 2 sessions running on my machine at home.

    --
    Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
  5. With USB devices and a recent XFree86, no by leonbrooks · · Score: 4, Informative

    The sticky problems are still with the Linux Console code, in that it doesn't really believe in more than one console with keyboard. However, USB keyboards are easier than PS/2 keyboards (easier to not route through the console), and mice are a non-issue (again, do not route through GPM).

    As an alt to an X terminal, try a diskless fanless thin-client box. Motium make those with some really special features, but I don't know if the whizz-bang ones are ready for sale yet.

    --
    Got time? Spend some of it coding or testing
    1. Re:With USB devices and a recent XFree86, no by PurpleFloyd · · Score: 2, Interesting
      How would you hang more than one PS/2 keyboard off one machine anyway? I don't think I've ever seen any system that could do that, which is why I recommended USB (although serial mice would work just as well, now that I think about it).

      Also, it seems to me that you wouldn't really need more than one textmode console, since you can run xterm/rxvt/konsole/gnome-terminal on an X-only KVM head. The only times you really need a real console are during bootup and emergencies, when two people using the system simultaneously wouldn't be a real asset.

      --

      That's it. I'm no longer part of Team Sanity.
    2. Re:With USB devices and a recent XFree86, no by leonbrooks · · Score: 1, Insightful
      How would you hang more than one PS/2 keyboard off one machine anyway?

      PS/2 is PS/2 is PS/2; you can plug two PS/2 mice or two PS/2 keyboards into a standard machine, diddle with the drivers to tell them about the alternate IO and IRQ addresses and you're away. You cal also get multi-PS/2 port adapters and a lot of the "high-speed serial port" adapters are close enough to 5V RS232 (which is what a PS/2 port is) to work.

      it seems to me that you wouldn't really need more than one textmode console

      That's not the problem. PS/2 keyboards (all keyboards by default) are routed through the console driver. Hit a key on any keyboard, it goes into the console. There is no way to distinguish which keyboard it came from. You cannot have multiple console drivers (although I believe there is a patch for it). You can, however, tell the console not to bind the USB keyboards, leaving them free for XFree86. Later versions of XFree86 are able to deal with USB keyboards directly (don't recall whether you need a patch or not) rather than through the console.

      Not sure if Xfree86 has been fixed yet to not treat all scroll-wheels on each mouse as one, but as at about a year ago, it didn't distinguish. If it has, this here AOpen Optical OpenEye Wheel Mouse model O-35G is about to become multi-talented.

      --
      Got time? Spend some of it coding or testing
    3. Re:With USB devices and a recent XFree86, no by Gordonjcp · · Score: 1

      A fastish 486 with a decent amount of memory will run as an X client quite happily. It will netboot, and not require a hard disk or CPU fan. Since its power requirements will be pretty low you can probably get away with reducing the speed of the PSU fan too - not much in there to generate heat.

    4. Re:With USB devices and a recent XFree86, no by PunchMonkey · · Score: 1

      The only times you really need a real console are during bootup and emergencies, when two people using the system simultaneously wouldn't be a real asset.


      <pointy haired boss>
      Actually, that would be a real asset. My database server crashed down last week, and it took my admin 8 hours to bring it back up. If we could have two admins working on it simultaneously, that'd only be 4 hours.

      Please excuse me now as I have to start dinner. This chicken was supposed to roast for 6 hours, but I'll just turn the heat up to 700 degrees so it'll cook in 3 hours. Damn I'm good.
      </pointy haired boss>

      --
      I'll have something intelligent to add one of these days...
    5. Re:With USB devices and a recent XFree86, no by Anonymous Coward · · Score: 1, Interesting

      Are you just making stuff up as you go along?

      PS/2 is most definately NOT 5V RS232. For one things, RS232 doesn't has two data lines, not a single bidirectional one, and no external clock. The bit period is between 60 and 100 microseconds, which means less than 19200 bits per second. I wouldn't call serial "high-speed" until you got well above 10 times that.

    6. Re:With USB devices and a recent XFree86, no by Anonymous Coward · · Score: 0
      a lot of the "high-speed serial port" adapters are close enough to 5V RS232 (which is what a PS/2 port is) to work.

      He said "close enough".
      If you are familiar with serial port hardware (at the chip and electronics levels, not "that's what a serial card looks like"), you'd recognize what he meant. "Close enough to 5V" is obviously a reference to the fact that some popular RS-232 circuits do not require the RS-232 -12,+12V requirement and can be made to recognize TTL (0,+5V) signals (sometimes with the need for a trivial cable or resistor adapter). "Close enough to RS232" is because the keyboard is sending sync rather than async, but some serial chips can handle it -- either because the chip supports sync or because the timing fits within the chip's range.

      http://www.repairfaq.org/filipg/LINK/PORTS/F_Keybo ard_FAQ.html
      http://www.iptel-now.de/HOWTO/PIC/pic.html (he doesn't say it, but the Twiddler2 has a PS/2 keyboard interface and he is adapting it to RS-232 for the iPAQ serial port -- this is for adapting to real RS-232 rather than just "it works")

    7. Re:With USB devices and a recent XFree86, no by Anonymous Coward · · Score: 0

      My oven has more power and goes up to 800 degrees Kelvin.

  6. There is software for windows to do up to 5 by stienman · · Score: 4, Informative

    A company called thinsoft has a product called BeTwin which does exactly what you're asking.

    Hook up to four additional USB keyboards and mice, and a monitor for each station (obviously you'd need more video cards if you want more than two stations) and it treats them all as seperate computers.

    I found out about it because MSI bundles a two station version with the geforce 4x00 cards. I haven't tried it, though.

    It works for windows.

    -Adam

    1. Re:There is software for windows to do up to 5 by dacarr · · Score: 1

      I think the point is that X can do this mroe or less out of the box, barring some configuration.

      --
      This sig no verb.
  7. Some SGIs do this by green+pizza · · Score: 1

    While I haven't done this with Linux PCs, I have seen it done with some of our SGIs at work. The big Onyx systems can be easily configured (just a few tweaks to the X server setup files) to support mutliple users, each with their own keyboard/mouse and one or more gfx subsystems. It's even easier on the Onyx 300 and 3000 series, as all the keys and mice can be run off one USB channel.

    This can also be done on the Octane, but requires a PS/2 keys/mouse interface PCI card.

    I would suggest looking at the XFree86 config files for some pointers. You may also want to seek out ways to address different sets of USB keys and mice.

  8. Can be done in X server level easily by fateswarm · · Score: 1

    The xfree86 server can do this as-is. When I was trying to setup my dual video card I remember a guy that has posted his xfree86 config for 2 keyboards, 2 mice and 2 monitors.

    You just play with the input and output methods and create two screens.

  9. and then ? by billcopc · · Score: 1

    Could someone please clarify why 2 people on one bastard PC would be better than 2 people on two normal PC's with some Cat-5 between them ? Here we actually have two _interactive_ users running amok on the same system, twice as likely to crash something. Or have we invented a PC that can reboot one-half at a time ? This isn't like high-end citrix servers which actually run everything remotely, but those machines usually have a truckload of ram and diskspace. THAT system is suited to concurrent interactive sessions, because the hardware itself is a limited resource that can't be replicated on each desk like you would a common PC.

    Now if you're being spacewise, then just get those neato super-slim PC's build inside the base of an LCD screen. Eurocom has them in Canada, don't know about USA/foreign. Not to mention, the money saved by cramming more people into the same office space will more than pay for the equipment in no time at all, and they'll like the new slim desktops.

    --
    -Billco, Fnarg.com
    1. Re:and then ? by Anonymous Coward · · Score: 2, Funny

      no and then!!!

    2. Re:and then ? by Pathwalker · · Score: 4, Interesting

      Could someone please clarify why 2 people on one bastard PC would be better than 2 people on two normal PC's with some Cat-5 between them

      Software Licensing - or at least that's why I was asked to look into some bizarre korean multihead cards back in 1999.

      At the place I was working at that time, they used some expensive software that was licensed per processor. If one user used the software on a dual cpu machine, 2 licenses would be checked out. If he was on a single CPU machine one license would be checked out. Multiple instances of the software running on the same machine did not check out any additional licenses.

      The idea was, to stick some of these strange cards into a bunch of machines, and put the users who were in training on these boxes. The resule: 2 users per license, saving up some licenses for the people who needed to run the program on the multicpu boxes.

      The cards were completey unsuitable, and burned out quickly, so the project never went anywhere.

    3. Re:and then ? by Shaleh · · Score: 1

      people keep implying that computers are nice and cheap, so just go buy another one. For some this is not really an option. All those unemployed geeks out there are looking for neat projects that may not cost much. Cheap is relative.

      Also, this just has the interesting factor. Sure you could just plug in another computer but why not try to optimize the hardware that already exists. Many people own a ghz level processor and still only need to surf the web and read email. A setup like this would work fine for me and my wife.

      On top of this you only use the power of one computer as well.

    4. Re:and then ? by Anonymous Coward · · Score: 0

      And Then?

    5. Re:and then ? by Anonymous Coward · · Score: 0

      The original poster didn't say it is "better". Just that sometimes he doesn't need both screens and someone else would like to use one.

    6. Re:and then ? by Anonymous Coward · · Score: 0

      *cough*, Bullshit, *cough*

      It seems to me that people running X locally and clients via remote from ssh and the like for years have been royally fucked up and should by all rights have crashed billions of times.

      Perhaps you should look into a operating system (maybe freebsd, linux, or some other free *nix) on some decent hardware (512MB SDRAM is dirt cheap and 2 removeable disk drives (cdroms are an amazing $30 and a decent dvdrom can be had for $60)). If you need more than that for 2 users then you might want to look into buying an extra computer, but for most people, around 200MB of RAM for a (insert favorite desktop/wm here) installation and a (cd/dvd)(rom/writer) is more than enough.

    7. Re:and then ? by billcopc · · Score: 1

      For the web-surfing email-sending crowd, the world had thousands of old sleeping 300mhz systems just waiting to be powered on. I actually have 4-5 of those junkers lying around waiting for a project to happen upon my sick mind. I keep the multi-ghz PC for my main carnal use.

      --
      -Billco, Fnarg.com
  10. Troll? by vandel405 · · Score: 1, Troll

    "Microsoft will never do it but how..."

    Whats up with the ask slashdot trolls as of late... come on!

    Last time i checked Windows already supported -
    Fast User Switching
    Multiple Mice
    Multiple Keyboard
    Multiple Monitors

    Try windows XP for the fast user switching,
    Multiple monitors have been there since win98.
    And just try plugging a USB keyboard/mouse into your laptop and you'll see that the orginals and usb ones work at the same time!

    So it isn't like they're that far from already having it.

    Linux is great, but no one likes zealots...

    1. Re:Troll? by IceFreak2000 · · Score: 1

      ...and no one likes people who don't read the question.

      How exactly are you proposing to bind one keyboard/mouse pair to one monitor using XP? Are you suggesting that different users could be logged in to different displays at the same time?

      --
      Life is like a sewer; what you get out of it depends on what you put into it...
    2. Re:Troll? by jquirke · · Score: 0, Redundant

      And no one likes people who don't read the comment.

      He wasn't saying it was possible, but that it was hardly a long way off for Windows NT.

    3. Re:Troll? by walt-sjc · · Score: 1

      Um, even if support is JUST about there, it's not there. Remember - you are dealing with a closed source system. Kinda like being in a jail cell with the keys hanging on the wall outside that you can barely feel with your finger tips. They might as well be on the far side of the room though.

      With open source, you have the power to do whatever you need to do. See this project on multi-user X for an example. It's not pretty, but someone got it to work.

      The original poster was quite correct. MS will Never support this for a couple reasons that I can think of off the top of my head. First, there just isn't enough demand to pay for the development. Second, they make more money off selling multiple copies of software.

      Frankly, I agree with the other comments though - the work to do this just isn't worth it. You can get a second-hand fairly decent system on ebay for a hundred bucks, or a Brand New linux system from Walmart for $200. It just ain't worth messing with.

    4. Re:Troll? by Piquan · · Score: 1

      Remember - you are dealing with a closed source system. Kinda like being in a jail cell with the keys hanging on the wall outside that you can barely feel with your finger tips.

      Windows YP, codename: Tantalus

  11. I saw this on windows back in 1999 by Pathwalker · · Score: 1

    Back in early 1999, a couple of jobs ago, I saw a strange device to do this under windows.

    A manager had been somewhere in southeast asia, and had picked up a few sets of a very strange device. They were pci cards that packed a low end video card, and some logic into a single package. Each one had a RJ-45 jack on the back, that connected to a little pod which hooked to a keyboard, monitor, etc to allow a second (third, etc...) user to have their own workspace and desktop on the host machine.

    They only worked under Windows 98 (not NT) and were rather unstable - machines would crash often, the picture quality on the pods was rather bad, and the little suckers kept burning out. I think all of the samples died on me over a couple of days when I was testing them out.

    I can't remember the name - I don't remember there being much english on the packaging.

    1. Re:I saw this on windows back in 1999 by Holi · · Score: 3, Informative

      The product you are taking about is "Buddy B-210 Virtual PC" Here is a link to a review of the product. http://www.overclockers.com.au/techstuff/r_buddy_b 210/ And I hope you saw english as it was developed by an Australian company. Whether is is still made I cannot say but you may be able to find it on ebay.

      --
      Sorry, teleporters just kill you and then make a copy. A perfect, soul-less copy.
  12. Might as well have a PC for each person by mpechner · · Score: 1
    The way microsoft works, for each person on the computer:

    XP: $300
    Office XP std: $480
    Monitor, KB, mouse: $200
    Cost of HW for extra kb, mouse and monitor?

    Plus the convienance of something freezing for one person and then having more than one person wait on a reboot.
    That is $980. A new PC is $1000. Where are your savings? The $1000 is a new dell with a refurb monitor with XP pro and Office Standard. Plus 256MB of mem.

    1. Re:Might as well have a PC for each person by aminorex · · Score: 3, Funny

      Whereas:
      Keyboard $10
      Mouse $5
      Cheap dual-head AGP video $65
      Linux: Free
      The look on Bill's face: Priceless.

      --
      -I like my women like I like my tea: green-
    2. Re:Might as well have a PC for each person by Anonymous Coward · · Score: 0

      Or, if you do a little shopping, you can get:

      Windows XP Pro: $132 (OEM)
      Office XP Small Business: $180 (OEM)
      Monitor KB, Mouse: $20)

      Total: $512

      If you do just a little shopping, you can cut your price almost in half.

    3. Re:Might as well have a PC for each person by mpechner · · Score: 2, Interesting

      I wrote my response to doing this in a business environment. Second OEM for the same machine. Illegal, welcome to club fed. Your a felon. Can you spell Butt Buddy. As for using linux, I try once a year. I take a linux machine and use it. OpenOffice - Give it another 2-3 years. Visio replacements - not bad for normal flow charting. Falls apart for UML. Outlook - The Ximian Evolution connector is a peice of junk. Even small companies use Exchange. POP does not do meetings. Project managment: Mr Manager falls apart once you get multiple levels. Accounting: even the small company using QuickBooks can't use GnuCash. WINE - still too buggy. VMWare - my work around. But this is for one person. You still need the Full legal retail copy per person of all your software. Believe me, I try. In the real world of most companies, you need office, you need windows. A big rule of IT, search for the software that does what you need, then buy the computer for it. Unfortunately, this means windows. If there was a meeting manager that tied in with an LDAP address DB, and worked under linux and windows, I'd do a happy dance. I'd have a real solution to purge the world of exchange.

    4. Re:Might as well have a PC for each person by Anonymous Coward · · Score: 0

      Well, I may as well do something useful since my WC3 skillz are sucking right now: <rant><BR><BR>
      I work in for a private non-profit research institution and there are people who "need" windows and those who use it because they are lazy. A lot of the lazy people could switch to Linux, and will once the price of windows becomes prohibitive. As for all your meeting BS...I hate meetings. Everyone hates meetings. I get more done in informal conversations at the bar than anyone ever gets done in a typical "meeting", I know because the administrator types like to have them and they suck ass, everyone sits around talking about whatever, then nothing gets done, repeat. So, when it comes down to your meeting software get a frickin day planner. Way easier to use, and ignored just as often. As for "project management", I don't like that either, at least in science.<br>Basically the point I'm trying to make is that its not that windows is the best tool for the job, its more that the kind of people who do the stuff you describe are too lazy to learn a new way of doing things.<br>
      </rant>

  13. Prior Ask /. on the same topic by Andrew+Lockhart · · Score: 5, Informative

    This question was asked quite awhile ago here.
    There was a tutorial mentioned in the comments.

    1. Re:Prior Ask /. on the same topic by shfted! · · Score: 1

      And here I thought I could karma whore myself. I recalled reading that linuxplanet article and I was just about to go search for it ;)

      --
      He who laughs last is stuck in a time dilation bubble.
  14. Should not be difficult to do by Jump · · Score: 1

    You can start multiple X Servers, so start another server for the second monitor using a separate XF86config file. In the XF86config file, you configure the input from the other keyboard and mouse. You must start the second X server by hand, because the USB keyboard and mouse won't be connected all time. If it's a PC and mouse/kbd are connected always, you can add the X server startup to the appropriate config file for your xdm. But for a laptop, I would suggest to write a short script to start the X server on the second screen by hand.

    Would be nice if a distribution could do this for you, but I do not know any. Perhaps somebody can write a nice setup tool (if it doesn't exist already).

  15. Was on LKML recently by ggeens · · Score: 3, Insightful

    This question was asked on the Linux kernel mailing list a while ago. The response was (from memory):

    Yes, you can have 2 keyboards, mice and video cards in a single PC. And you can run 2 instances of X on different virtual consoles. But, there can be only one active VC at any time, and it's hard to change that limit.

    The conclusion was that it would probably be easier and cheaper to set up an X terminal.

    --
    WWTTD?
  16. 486es do work as an X terminal by leonbrooks · · Score: 1

    True, as long as you don't want to run anything serious locally (like an MP3 decoder or 3D app). Or at a serious res (like 2000x1600x24-or-x32 for a large monitor).

    --
    Got time? Spend some of it coding or testing
    1. Re:486es do work as an X terminal by Gordonjcp · · Score: 1

      Erm, that's not really an X terminal, though, is it?

    2. Re:486es do work as an X terminal by Mr+Z · · Score: 1

      Uhm, on anything faster than a 486, MP3 decoding is not terribly taxing on the CPU. It used to take 100% of my 486DX2/66. (Technically, I was decoding MP2s at the time, but the processing requirements for decode are similar.) Now MP3 decoding takes about 5% of the CPU on my 6-year old Pentium II-300. I can't imagine it taking up more than 1% of a modern machine.

      Perhaps you meant ripping and encoding? Both of those are much more CPU intensive. Or perhaps you mean "Running eye candy visualizations"?

      --Joe
    3. Re:486es do work as an X terminal by leonbrooks · · Score: 1
      It used to take 100% of my 486DX2/66.

      Therefore unusable on even a 486DX4-120, the fastest 486 I know of. If it's sucking 100% CPU locally - make that 50% for a hypothetically faster CPU but IRL probably around 70% - add in the overhead of fetching from the net, try to display something at the same time, and you're a dead duck.

      --
      Got time? Spend some of it coding or testing
    4. Re:486es do work as an X terminal by darqchild · · Score: 1

      if you're using it as a pure X terminal, it's not a problem, because the processing will be done on another machine.
      the 486 will only have to run X, and will be connected to a machine, with a fairly fast connection... like 100mbit ethernet

      --
      What? Me? Worry?
    5. Re:486es do work as an X terminal by tomhudson · · Score: 1
      If you're running it as a client, it's not actually decoding the mp3 - the server is. So you still don't need much horsepower.

      For a while, I let others log into one of the linux boxes this way, 'cause their boxes were too underpowered to handle both graphics and any real apps.

    6. Re:486es do work as an X terminal by leonbrooks · · Score: 1
      If you're running it as a client, it's not actually decoding the mp3 - the server is.

      I was speaking of borrowing back horsepower from the client to reduce network load. Playing MP3 or Ogg files locally costs roughly 10x less LAN traffic and is much less laggy. This applies much more so for video or 3D stuff. A 486 is generally not up to decoding MP3s, look toward a Pentium over 100MHz as a working minimum local-Ogg player.

      --
      Got time? Spend some of it coding or testing
  17. you can do it on windows already by aderusha · · Score: 2, Informative

    sorry to shoot down the trollish anti-ms nature of this post, but this has been available on microsoft platforms as far back as NT 3.51. the first terminal server/citrix platform utilized this technology (multi video/key/mouse, not terminal sessions over ipx/ip). it's now called "ultra thin client" technology.

    check here, here, or here.

  18. And this is better than buying two computers how? by geoswan · · Score: 1
    Back in MSDOS days there were companies that sold you cards that let you run a 2nd, 3rd, and so on user. Each card had a CPU, keyboard connection, video connection. The different users shared the disk drives, printers. Cheap networking was one of the claimed advantages.

    The idea seemed cool to me, at first. But the inconveniences didn't seem to balance the cost-savings.

    And with powerful new computers so cheap now, I think it makes even less sense today. How much did an ethernet card cost back then? A couple of hundred bucks? And now, $10.

    Besides, aren't USB mice terrible resource hogs? If your computer is so powerful that it can handle a second user, and all the overhead of this system, why they heck didn't you buy a slower, less capable one for a fraction of the price? If you have two people who want to use the computer, why hte heck didn't you just buy two in the first place?

    Isn't Windows already unstable enough, without this extra layer? If the system crashes, it crashes for both of you. Will running two computers make the inevitable windows crashes come twice as often? Will this layer add more crashes?

  19. Trying to justify the question by Siniset · · Score: 1

    I think what the poster wants to do is be able to use something like the dual-display laptop with two users. The suggestion of thin clients doesn't seem to really answer what the poster wants. That would make for a very useful mobile computer. Instead of each person lugging around a computer, getting their computers connected, and then starting to work, the second person plugs in a keyboard and a mouse and they both can begin working. For projects that require a lot of co-operation, this would be great. Also, if you have to do a presentation on the road with another person, having two displays independently controlled can give you a lot more flexibility. There are numerous benifits. Personally, I'm not sure how one would go about doing this, although it seems like some people are on to something with dual X servers.

  20. Already done by Yenya · · Score: 2, Interesting

    I use this setup for ~1 year now - two VGA cards (one AGP, one PCI), two keyboards (PS2 and USB), two mice (PS2 and USB). You need to patch the XFree86 server. More info here.

    --
    -Yenya
    --
    While Linux is larger than Emacs, at least Linux has the excuse that it has to be. --Linus
  21. Use dumb graphical terminals? by Yuan-Lung · · Score: 1

    A while ago my organization had this setting: a bunch of tiny little boxes that are designed to run only X, and have everything run on the power horse servers.

    This centralized computing model saved some HP-UX licenses. It later became obsolete when we started adapting linux.

    anothe roption I would probably look into is Xvnc. (Real VNC) Unlike it's Windows counter part, it allows you to set up multiple independent desktops.

    1. Re:Use dumb graphical terminals? by josepha48 · · Score: 1
      Yes, and sun has them they are called the Sun Ray. More about them here. They are priced at 525 you add keyboard, video, mouse, and end user ;-) http://store.sun.com/catalog/doc/BrowsePage.jhtml? catid=40767

      I actually got to use them at the benchmarking center and you could not tell they were not running x native (IMHO). Well this is not a Linux solution it is an X / Unix solution and the Sun Ray may even work with a Linux X server. Something to look at at least.

      --

      Only 'flamers' flame!

    2. Re:Use dumb graphical terminals? by Anonymous Coward · · Score: 0

      and the Sun Ray may even work with a Linux X server

      I bet you it will not. It might work with X clients running on Linux though.

  22. What about sound? by bluGill · · Score: 1

    I've considered this. However I can't figgure out how to make sound work. X11 assumes you have a DISPLAY variable set, and sends data to that, so you can have as many different screens as you wish. (Up to some limit). There is no standard way to do sound in that manor. Many different things are trying, but none are universial, so even if you get something to work, it won't work with much.

    I understand that X11 now has a sound extnetion, which could solve this problem and is standard enough that it is likely to be used. But only if it is used, right now it isn't implimented.

  23. PS/2 vs RS232 by leonbrooks · · Score: 1
    Are you just making stuff up as you go along?

    No.

    Are you just making your name up as you go along? (-:

    --
    Got time? Spend some of it coding or testing
  24. Wow, talk about niche markets! by Anonymous Coward · · Score: 1, Funny

    Aiming at siamese brothers, huh? Smart kiddo!

  25. Is the sky in your world full of windows? by Anonymous Coward · · Score: 0
    Here we actually have two _interactive_ users running amok on the same system, twice as likely to crash something. Or have we invented a PC that can reboot one-half at a time ?

    No, we have invented operating systems which aren't easy to crash and rebooting is not an issue. Has someone been using only Microsoft products?

  26. What about VPC? by teamhasnoi · · Score: 1
    Couldn't a windows user put a full screen VPC session on one monitor, assign a keyboard and mouse to it, and continue working with the host on the other monitor? Shared Folders would allow simultaneous use of the C: drive (or shared networking).

    Haven't tried it, but sounds like its worth a try for the windows side...

  27. Other Input? by Anonymous Coward · · Score: 0
    Yes, I see that all the original poster needs is two X configuration files, with different display and keyboard entries.

    How about getting input from "other" devices? How can input from a serial mag stripe reader be fed to X11 as if it had been typed on the keyboard? I'd like to feed external data sources to various X programs. I know X has hooks for stuff like this, but it looks like that is for programs which are written to request such data.

  28. get "thin" clients by g4dget · · Score: 1
    You are probably best off getting yourself a bunch of low-cost computers like a mini-itx or Walmart PC. If you are really pressed for cost, you can get a bare mini-ITX motherboard for abour $80 and add an ATX power supply for another $20, and whatever keyboard and mouse you like, and stick it into a cookie tin.

    You can then either boot the machine from an Linux Terminal Server floppy or CD, or from something like a Knoppix CD, or you can netboot them; you don't even have to bother installing anything locally. You wire everything together with a small Ethernet hub. Since nothing is installed on the local machines, it's easy to set up. Applications are run remotely through terminal emulators, X11, or VNC. All you need to do on the server is set up a DHCP server and xdm (if they aren't already set up).

    That kind of setup is not going to be a lot more expensive than plugging in multiple graphics cards, but it's a whole lot easier to set up, scales better, lets you add more servers easily, will perform better, and your users will probably be happier, too.

  29. Re:And this is better than buying two computers ho by Zone-MR · · Score: 1

    There are certain advantages. Firstly, you pay for the cost of an additonal monitor, keyboard, and mouse. You are left with several hundred dollars, which if you wanted could be used to improve the specification of the host PC.

    Now if both users were continually running CPU intensive tasks, then there wouldnt be that much of an advantage. But in many cases such as web surfing, word proccessing, programming, etc, there is a lot of CPU cycles which are simply wasted - CPU usage is NOT constantly at 100%. In a sense contending this and investing in a single more powerful computer rather than a new pc with a lot of redundant hardware seems to make a lot more sense. On average each user will have the benefits of much higher peak performance when they need it, rather than being capped to 1/2 the potential speed of the system.

    As to stabillity, I doubt it would be a major problem. I have been using Win 2000 server for a long time, and now I am using Windows.NET 2003 (release candidate). Whilst on occasions individual software becomes unstable, I have not had one occasion in which it brought the entire system down with it - and I run a small terminal services server allowing remote logins. The only time the entire system is down is when I mess up with device drivers, or when I need to add new hardware.

  30. I've seen it years ago by Anonymous Coward · · Score: 0

    on a RS6000 or somthing like that, three monitors and two keyboards.

    1. Re:I've seen it years ago by Anonymous Coward · · Score: 0

      Basicly dependant upon the number of serial ports like any other flavour of unix

  31. Clear the dance floor by Anonymous Coward · · Score: 0
    If there was a meeting manager that tied in with an LDAP address DB, and worked under linux and windows, I'd do a happy dance.

  32. Can't be arsed by Moderation+abuser · · Score: 1

    http://pxes.sourceforge.mot.com/

    1 server and N diskless PXE enabled machines. You can do it for about $150 per machine.

    --
    Government of the people, by corporate executives, for corporate profits.
  33. Check out Synergy by Bezoar · · Score: 1

    Latest linux Journal has article on synergy which allows you to use the same mouse and keyboard on multiple machines. I easily scoot my mouse pointer off the screen and the mouse pointer on the other machine moves.now mouse and keyboard events are sent to the second macine. There's no limit to the number of machines you can hook up this way. I have two linux boxes and my laptop all in a row using the same keyboard and mouse. The best part is that each machine's keyboard and mouse still work. So two people can type on the same machine (not at same time). For pair programming this would be ideal. Other bebbies include cut & past support and it also works with windows