Slashdot Mirror


A Network-Based Software KVM Switch?

ScanTron writes "This seems like such an obvious piece of software, but I can't find any implementation. Like many Slashdot users, I have a Windows PC next to my Linux PC. Rather than using a KVM switch, I have a keyboard, mouse, and monitor for each PC. I'm looking for software that would let me use only one keyboard and mouse for both machines. Ideally, moving the mouse to the edge of one PC's screen would move it onto the next, letting me send mouse and keyboard events over the network. There is no reason this couldn't be used for two Linux machines, or even a Linux machine, a Windows machine, and a Mac. Does a similar solution for mouse and keyboard sharing exist?"

60 comments

  1. Wow. by cbiffle · · Score: 4, Informative

    Yes, it exists.

    If both machines are X-windows, use x2x.

    If the master machine is X and the slave is not, use x2vnc.

    If you have a different config, google for one of those terms and use the Windows package (I have no experience with it, but I think it's called something creative like win2vnc.)

    1. Re:Wow. by cbiffle · · Score: 1

      I should clarify. If your master (the one with the kbd and mouse) is Windows, use the aforementioned win2vnc package (or equivalent) with, for example, the vnc X module to allow control of your existing session.

      I typically set the X box as master and send VNC events to the Windows box or Mac, though.

    2. Re:Wow. by arcanumas · · Score: 1
      x2x is very cool. Easy to use and set up.
      Another project that i think would be very cool,is the xdmx that tries to unite _different_ X Servers and their screens and make them behave as a single multihead Pc with Xinerama.

      http://dmx.sourceforge.net/

      Have not tried it yet since it's quite a download for me. Has anyone tried it? Is it worth the effort?

      --
      Slashdot Sig. version 0.1alpha. Use at your own risk.
    3. Re:Wow. by austad · · Score: 0, Redundant

      This was a previous Ask Slashdot question at least once, probably twice.

      --
      Need Free Juniper/NetScreen Support? JuniperForum
    4. Re:Wow. by cbiffle · · Score: 1

      It's pretty neat -- used to use it to bind my laptop and desktop screens at the office.

      I ran into some issues with unsupported server extensions, if I remember correctly -- but that might have been something else around the same time.

      My main issues with it were difficulty of setup (high), speed (medium), and lack of dynamic configurability. That is, it would be more useful to me if I could add and remove displays without exiting my entire X session.

    5. Re:Wow. by djsmiley · · Score: 0

      maybe, and so what this guy should of checked.

      But instead of just making a point and being helpful, you just blindly slag it off and leave it. Your comment is as bad as his question.

      Why not leave him some links to the other slashdot articls?

      --
      - http://www.milkme.co.uk
  2. Synergy by AllMightyPaul · · Score: 5, Informative

    http://sourceforge.net/projects/synergy2

    Works with windows and X-11.

    1. Re:Synergy by optikSmoke · · Score: 5, Informative

      Thankyou, we have a winner!

      Synergy's a great piece of software, I've been using it for awhile now. On top of the mouse/keyboard support, it also shares clipboards and can sync screensavers across your machines (though I've never setup the screensaver thing so I can't comment on it -- but the clipboards work great!). Anyway, I second the recommendation.

    2. Re:Synergy by undef24 · · Score: 1

      the last time this question was asked on ask slashdot everyone said to check out synergy. it rocks.

    3. Re:Synergy by gl4ss · · Score: 1

      synergy is _exactly_ what the guy is looking for, and synergy kicks so much ass it's unbelievable.

      copypasting text between desktops already makes it worthwhile to use, what even hardware kvm can match that?

      --
      world was created 5 seconds before this post as it is.
    4. Re:Synergy by Beowulf_Boy · · Score: 1

      I just installed this in the last hour, after seeing it talked about here.

      Let me just say that this revolutionize my life!!
      I have twice the desktop space now! Its awsome. Before I had a windows desktop machine, and a linux machine running gnome that I only used for gaim (its also a file server). Every time I wanted to chat in aim, I had to lean forward, and use the other keyboard that is in front of my windows desktop keyboard. NO More!

      This made the linux machine a completely usable computer now, I can have 2 monitors filled with webbrowsers, porn, whatever I want, and not have lurch forward in my chair to control the second one.

      Slashdot, you are my god!

    5. Re:Synergy by x00101010x · · Score: 1

      I've used Synergy for a while and it works great. My primary work station is still locked into w2k due to some dev. tools from my customer, but i was tired of spending a monitor on my RH firewall/gateway box. Got synergy up and running on both boxes in under an hour, been working great ever since.

      --
      DONT PANIC
    6. Re:Synergy by x00101010x · · Score: 1

      ahem. obviously, the monitor is the onlything i'm still spending on the RH box. the keyboard and mouse clutter is what i meant i was tired of.

      --
      DONT PANIC
    7. Re:Synergy by los+furtive · · Score: 1

      I've been using Synergy for almost two weeks...it allowed me to give a new lease on life to an old Dell 166mx notebook. Highly recommended!

      --

      I'm a writer, a poet, a genius, I know it. I don't buy software, I grow it.

    8. Re:Synergy by moonbender · · Score: 1

      This is off-topic, but I guess there is some reason why you're using the Linux box for AIM...? If there isn't, there are plenty of very good AIM clients for Windows...

      --
      Switch back to Slashdot's D1 system.
    9. Re:Synergy by Beowulf_Boy · · Score: 1

      I have 2 monitors on my desk, one is my windows machine, and gets rebooted occasionaly and is used for games. I try to keep aim running as steady as possible, so people can get a hold of me all the time.

      Also, so I can use aim while I'm playing full screen games.

    10. Re:Synergy by Matt+Perry · · Score: 1

      But this doesn't retarget the display. So it's not a KVM solution like the poster was looking for.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    11. Re:Synergy by moonbender · · Score: 1

      Fair enough. :)

      --
      Switch back to Slashdot's D1 system.
    12. Re:Synergy by majkqball · · Score: 1

      It's great, but it http://sourceforge.net/tracker/index.php?func=deta il&aid=982164&group_id=59275&atid=490467failes on multiple monitor mac server configurations. Too bad... cause this is PERFECT for what I need.

      --
      SBC stands for Stupid Bell Company
      AT&T stands for All Telephones Tapped
  3. Synergy by Bistronaut · · Score: 3, Informative
  4. Synergy? by F1_Fan · · Score: 0, Redundant

    http://sourceforge.net/projects/synergy2/

    Sounds like what you're looking for. I haven't tried it but I've seen a complementary review of it.

  5. Synergy by PsndCsrV · · Score: 1

    Of course, there's Synergy, which I've briefly used. It seemed to do the job, but I've never had the use for it. I guess I should feel fortunate to have always had hardware KVM's on hand. It works with Linux and Win32 as well.

    --
    Experiments must be reproducible; they should all fail in the same way.
  6. Yes by seann · · Score: 0

    Use VNC.

    Use Multiple Windows.

    Or wait for somebody to suggest something else.

    --
    I'm a big retard who forgot to log out of Slashdot on Mike's computer! LOOK AT ME.
  7. stupid question but... by blackcoot · · Score: 3, Informative

    urm... why not a hardware kvm? the two ports are in the sub $50 range last i checked...

    1. Re:stupid question but... by rmohr02 · · Score: 1

      He wants to be able to move the mouse from one computer's monitor to another (like having a dual monitor setup, except with two different computers running each monitor). A hardware KVM cannot do this.

    2. Re:stupid question but... by blackcoot · · Score: 1

      fair enough. instead i hit ctrl twice and boom i'm there. to each their own i guess.

    3. Re:stupid question but... by bluGill · · Score: 1

      If you have two monitors you will be unable to go back to one. KVMs have their place, but if you have two monitors as well as two computers, then KVMs are the wrong solution.

    4. Re:stupid question but... by blackcoot · · Score: 1

      well... right now i have two monitors, one of which is wired directly into my main box and the other of which is shared via the kvm (main box is a dual head rig). so yes, i don't share both monitors at the same time (but then i typically have one thing on my main box that i want to be able to see while i'm working with the other box).

    5. Re:stupid question but... by BJH · · Score: 1

      Try to cut and paste between them...

    6. Re:stupid question but... by CaptnMArk · · Score: 1

      One alternative which I'm using right now at work is a usb switch (with a PS/2toUSB converter).

      It seems to work quote well, except for problems with some keys like Shift+Del/Shift+Ins which I haven't yet resolved (probably a windows problem)

    7. Re:stupid question but... by rmohr02 · · Score: 1

      Also, the submitter has two monitors. A hardware KVM is ideal when there is only one monitor, keyboard and mouse. The software solution is ideal when you have two monitors and one keyboard and mouse.

    8. Re:stupid question but... by mshurpik · · Score: 1

      Not entirely true. A dual-head KVM ($189) would allow you to switch both monitors, pumping your total screens up to 4. You could have 6000 or even 8000 pixel displays for *each* of two operating systems, for about $900 invested in monitors, cards, and the switch.

      How about this...two dual-head FX5600 cards and two dual-input 21" trinitrons for a total of $700? With a switch on each monitor, you would have even more freedom. Or you could dump all your money into a 19" LCD panel, and live in the year 1996 with a measly 1280 resolution.

    9. Re:stupid question but... by Anonymous Coward · · Score: 0

      Actually I meant 3-4000 pixels wide. You would have 6-8000 total with two os's, switched.

    10. Re:stupid question but... by Anonymous Coward · · Score: 0

      Every cheap KVM switch I've used trashes at least one display (I think the issue is the extra cable and connections.) The usual issues are ghosting and slight blurring that drive me crazy after a few minutes. This is on both flat panels and CRT's.

      Even good switches introduce a few seconds of blankout when switching, due I think to the monitor resyncing. Setting up both cards exactly the same helps, but it's still annoying if you go back and forth a lot.

      My company bought some expensive (electronics inside) KVM's that work better, but they cost as much as another CRT monitor.

      For switching keyboards & mice, get a good one that tricks the "off" PC into thinking there is still a mouse attached, or you get a delay while the system redetects them after switching.

  8. Get one of these: by Ayanami+Rei · · Score: 0, Flamebait


    Blackbox provides all!

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  9. Dell... by burns210 · · Score: 3, Interesting

    Dell has this functionality with their server... Mouse+Keyboard+Video -> RJ-45 dongle plugs into every server/PC... That RJ-45 plugs into a switch, and then some Dell client software auto recognizes the Systems plugged in, and lets you KVM between them, using a simple text popup window... Very badass setup.

  10. software for both below ... by cs · · Score: 5, Informative

    http://freshmeat.net/projects/x2vnc/

    Drives a Windows display (that has a VNC service) from your X display.

    http://freshmeat.net/projects/x2x/

    Drives another X11 display from your X display.

    Each may be attached to any edge of your main display and grab the mouse and
    keyboard as it crosses that edge, then driving the other display.

    Exactly what you asked for. Very Very Useful.

    --
    Cameron Simpson, DoD#743 cs@cskk.id.au http://www.cskk.ezoshosting.com/cs/
  11. Go with hardware by green+pizza · · Score: 3, Informative

    If you really want KVM-over-IP, you'll want a hardware solution. A software-only setup won't help you with BIOS or networking problems. With a hardware-based KVM-over-IP you can have multiple network (and non-networked) paths back to the KVM itself.

    I love the Raritan Dominion KX series, it's both a classic KVM and a IP-enabled KVM:
    http://www.raritan.com/products/kvm_switches/domin ion_kx/prd_line.aspx

    If you haven't worked with high-end KVMs before, don't be alarmed by the RJ-45 ports on the Raritan models. High end KVMs use Cat5 cable and adapters, it's quite handy and cheaper than buying thick bundles of coax for RGBHV.

    1. Re:Go with hardware by Jon+Howard · · Score: 1

      Well, that looks tremendously useful, but how many of those can I pick up for $100? *snicker*

    2. Re:Go with hardware by Anonymous Coward · · Score: 0

      "Dominion KX can be accessed through any major Web browser including: Internet Explorer, Netscape, and Mozilla. Currently, Dominion KX requires that the Web browser run on a Win32 platform with permissions to launch and execute an ActiveX control."

      Hrm, dont think so...

  12. This is nice... But! by Photar · · Score: 1

    What if you only have one Keyboard Mouse and Monitor?

    Is there software that when I move the mouse to the edge of the screen takes control of a specific machine AND displays its screen?

    --
    He who knows not and knows he knows not is a wise man. He who knows not and knows not he knows not is a fool.
    1. Re:This is nice... But! by zcat_NZ · · Score: 1

      Been there; just run vncviewer fullscreen under X, and flip between desktops normally.. (mouse, ctrl-F2, etc)
      Too easy.

      --
      455fe10422ca29c4933f95052b792ab2
  13. Sybergy by ghinckley68 · · Score: 1

    Rhis is the way coolest thing i have seen

    --
    Linux modi 2.6.26-2-parisc
    1. Re:Sybergy by jdvuyk · · Score: 1

      Sorry about the "i agree" post, but.....
      I agree!

      I had never heard of this thing until an hour ago but its a brilliant piece of kit indeed. In one hour I replaced all the crappy hardware KVM's on all the traders machines at my work and they are happy as hell.

      Well done to the author.

  14. pretty common by green+pizza · · Score: 4, Informative

    I think Dell gets their KVM-over-IP equipment from Avocent, though there are other providers, such as Raritan. The best setups allow for a hybrid combination of traditional rackmount matrix KVM and more modern KVM-over-IP.

    Also note that not all Cat5/RJ45 KVM units support KVM-over-IP. Many units simply use Cat5 cable to cut down on cost. (Cat5 plus an adapter on either end is cheaper than long runs of coax for video plus USB or PS/2 cables and repeaters.

  15. unix venders have their own methods too by green+pizza · · Score: 1

    Also note that pretty much all unix vendors have some sort of remote functionality as well. Sun has their LightsOutManagement, SGI has their L1/L2/L3 remote control systems, and even Apple has an oldschool console serial port on the back of the Xserve for remote mangement.

    I wonder if anyone is planning to make a Windows2003 server box with some sort of serial-based mangement system. With web interfaces and microsoft's slightly enhanced command prompt, a person really shouldn't have to resort to using a full keyboard/mouse/video setup just to administer a Win2K3 server.

  16. Extend desktop? by MadChicken · · Score: 3, Interesting

    Is there some way to use a similar program to display ONE computer's output on BOTH machines, but (not mirroring, of course)? Basically I want to have a dual monitor setup every once in a while by plopping my notebook down beside my desktop. I am trying MaxiVista, which works well, but I wonder if there's something free out there too...

    --
    SYS 64738 NO CARRIER
    1. Re:Extend desktop? by MarcQuadra · · Score: 1

      Well in Linux I'm sure the X Virtual Framebuffer can be hacked into that. XvFB is like a 'fake' screen that has no video hardware, it's just a framebuffer in regular RAM.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    2. Re:Extend desktop? by MadChicken · · Score: 1

      Yeah, or maybe even VNC. The trick I would think, on any OS, is, to create an offscreen frame buffer and serve THAT over VNC, connecting the two somehow. Then the supplementary machine would be a client and not a server.

      However, my skills are nowhere near that...

      I know MaxiVista creates a virtual video card so you can use Windows' native multi monitor support.

      As neat as that is, I wonder if that's too complex to start with though (Linux or OSS Windows). Ultimately it would be the best solution though...

      --
      SYS 64738 NO CARRIER
    3. Re:Extend desktop? by cosyne · · Score: 2, Interesting

      A cheap hack would be to put a spare video card in the desktop machine. Then if you want more real estate, you enable that, and use the laptop to connect to that 'display' over VNC. If you don't need the desktops to connect, you could start new sessions in X or Windows Terminal Services, but that's probably not what you want.

    4. Re:Extend desktop? by MadChicken · · Score: 1

      Not completely, but it is a neat idea I didn't think of. Hmm, I should give it a try just for the hack value.

      --
      SYS 64738 NO CARRIER
    5. Re:Extend desktop? by Anonymous Coward · · Score: 0

      Distributed Multihead X is possibly what you're looking for.

  17. VNC is the choice for me by Lord+Prox · · Score: 2, Informative
    I have been using Ultr@VNC for a while now and it is not quite as slick an Synergy but it hase some nifty features...
    I use it to do tech support on remote (east coast-west coast)machines without the airline BS. Small, fits on a floppy small. And it just works.
    • File xfer
    • chat windows... great for remote support
    • Auto bandwith throttling. Good for slow connections
    • Auto screen scaling. So you 1280x1024 remote machine can been seen on your 800x600 laptop
    • ctrl-alt-esc send capibilities and such
    • full VNC compatible
    • Java web based viewer option. Admin your server from your cell phone or PDA
    • lots of other little things to make life easier
  18. osx2x, x2x, x2vnc, and win2vnc by lpontiac · · Score: 4, Informative

    All of these let you move your mouse off the side of a screen on the machine running the program, over to another machine.

    osx2x - control another machine via X11 or VNC, from a Mac.

    x2x (check your OS' package collection) - control another machine via X11, from an X11 host.

    x2vnc (again, check for packages) - control another machien via VNC, from an X11 host.

    win2vnc - control another machine via VNC, from a Windows host.

  19. rdesktop by kraut · · Score: 2, Informative

    rdesktop

    Like Windows Remote Desktop, but running on Unix. I use it on my home network because I got fed up with all the KVM cables.

    --
    no taxation without representation!
  20. OK, how about.... by Anonymous Coward · · Score: 0

    Is there a hardware device that lets my laptop take control of the keyboard ports of another computer?

    I have touchscreen PCs in remote locations with no keyboard or mouse. It would be nice to allow my laptop keyboard to send out strokes to the PS2 port on those computers to get into the bios or edit settings without toting around a keyboard.

  21. Synergy over SSH by Anonymous Coward · · Score: 4, Informative

    I've seen a bunch of comments about Synergy. it works very well for me, as i have a Sun running Solaris 9 next to my Intel/Linux box, sharing the sun kbd and mouse.

    The great thing about synergy is that you can easily tunnel it over SSH, so you are not sending any login/passwd/other sensitive info over the net in plaintext.

    to do this:
    1. set up the server one one machine, configure, and start ('synergys' from the CL).
    2. set up a tunnel on port 24800 from the client to the server ('ssh -L24800:server:24800 you@server' --may vary by SSH flavor. also, 24800 is the default port, you can use another, should you care to, just specify it when starting the client).
    3. start the client on the client machine looking for a server on the localhost (synergyc localhost).
    4. Enjoy the extra deskspace after stashing the extra keyboards!

    hope this helps someone.

  22. Synergy is KM, not KVM by querencia · · Score: 2, Informative

    One thing about Synergy: it is a KM (Keyboard and Mouse only), not KVM (ie, no video -- you can use one mouse and keyboard, but you still have to have two monitors). The original question said that there are two monitors there already, so Synergy would work for him, but it is not a solution for multiple computers (unless your desk looks like Tank's).

    The Synergy FAQ said that KVM functionality may be added in the future.

  23. Synergy is the best great! by JohnnyGTO · · Score: 1

    We use it to control multible Milestone XProtect IP veideo servers from one control station. We of course need to see all the monitors but the extra kd/mice just cause headaches. Now the person monitoring can move the mouse to the screen in question with a natural move of the mouse. A bonus is the ability to control the Linux based NAS box and the SMTP server from the same workstation.

    --
    Si vis pacem, para bellum! For evil to succeed good men need only do nothing!