LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-11-2003, 06:28 PM   #1
pldobs
Member
 
Registered: Nov 2002
Distribution: 8.0
Posts: 34

Rep: Reputation: 15
Linux doesn't play well with KVM


I have a KVM (Keyboard, Video, Mouse) switch that I use to switch between my windows and two linux machines. When I switch back to my Linux machine after working on my windows machine, Linux forgets all about the mouse and sometimes the keyboard. I then have to restart my Linux box to use the keyboard and mouse.

I am running red hat 9.0. I guess my question is: Is there any way to get Linux to check periodically (every 5 seconds or so) if there is a keyboard and mouse available and automatically re-connect it in the background if needed?

Not to praise windows, but that seems to be what windows does.

Last edited by pldobs; 10-11-2003 at 06:32 PM.
 
Old 10-11-2003, 07:35 PM   #2
CanadianPenguin
Member
 
Registered: Oct 2003
Distribution: Ubuntu "Hoary" - The best distro around by a long shot.
Posts: 116

Rep: Reputation: 15
What kind of KVM? My Linksys one works just fine.
 
Old 10-11-2003, 10:02 PM   #3
pldobs
Member
 
Registered: Nov 2002
Distribution: 8.0
Posts: 34

Original Poster
Rep: Reputation: 15
Mine is a piece of crap one. I don't see the brand name but it looks loke the old A/B/C switches for choosing printers. It seems to completely disconnect from the computers it is not currently switched to. I hear that some kvms are able to fool all computers into thinking they have a mouse and keyboard connected even though it sends data to only the one it is switched to. Maybe I just need to buy a better KVM.

I am curious though if I can get it to work with Linux. Maybe there is a program in the system that detects the mouse and keyboard that I can call it every so often in a cron.
 
Old 10-11-2003, 10:09 PM   #4
CanadianPenguin
Member
 
Registered: Oct 2003
Distribution: Ubuntu "Hoary" - The best distro around by a long shot.
Posts: 116

Rep: Reputation: 15
Oh, I see what you mean, it's a manual switch and the problem is that after you switch you can't use the keyboard/mouse anymore. My guess is that it's a problem with the switch. I bought one of those initially, and when I switched half the time the monitor didn't work, so I returned it and bought this Linksys one (which was actually cheaper because I didn't have to buy cables, they're builtin).
 
Old 10-11-2003, 10:14 PM   #5
pldobs
Member
 
Registered: Nov 2002
Distribution: 8.0
Posts: 34

Original Poster
Rep: Reputation: 15
Yah, I was trying to be a little too cheap. What Model do you have? About what price do you think they run?
 
Old 10-11-2003, 10:34 PM   #6
dnorseman
Member
 
Registered: Aug 2003
Location: Chicago, USA
Distribution: RHEL, CentOS, Ubuntu
Posts: 43

Rep: Reputation: 15
I avoid kvm by using a program called synergy. See synergy2. I really like what it does for my home use, windowsxp machine with monitor (client) and linux box with monitor (server) and I can move from screen to screen via synergy.
 
Old 10-11-2003, 10:39 PM   #7
pldobs
Member
 
Registered: Nov 2002
Distribution: 8.0
Posts: 34

Original Poster
Rep: Reputation: 15
Wow! That sounds cool. I'm going to take a close look at that. Thanks!
 
Old 10-12-2003, 02:10 PM   #8
CanadianPenguin
Member
 
Registered: Oct 2003
Distribution: Ubuntu "Hoary" - The best distro around by a long shot.
Posts: 116

Rep: Reputation: 15
That looks like it's only for switching keyboard and mouse, not monitor.

I have this one, and like I said it works great. There's no software involved, you just press scroll lock twice to switch monitors, or you can put it in auto-mode where it switches back and forth every 30 seconds or something. I got it for about $65 Canadian, and the nice thing is you don't have to buy cables because they're builtin. You also don't need a spot for it on your desk or somewhere else where you can reach it, it just goes down under your desk with your cables.
 
Old 10-12-2003, 02:48 PM   #9
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
I'm looking into getting a KVM switch for myself next week. I found what appears to be a good deal at newegg. I'm sorry that I have yet to gain any experience in this area and can offer no REAL help. But.... If yours is ancient and you don't mind replacing it then you may want to give this one a gander. It's a trend net KVM that specifies Unix/Linux support and supports 2 boxes. Cost to your door is $28.00. Not bad at all given most of the prices I've seen. It supports PS/2 mice and Keyboard and standard monitors. Here is the product link:

http://www.newegg.com/app/viewproduc...107-246&DEPA=1

I have no idea if this switch has any negative impact on operation (like gameplay), as my research is not complete. However, this one is currently at the top of my buy list.
 
Old 10-12-2003, 04:01 PM   #10
pldobs
Member
 
Registered: Nov 2002
Distribution: 8.0
Posts: 34

Original Poster
Rep: Reputation: 15
A couple things to look for: Does it come with cables? If not, you may be paying more than you expect to get something working. Does it have keyboard and mouse emulation? If not, you may be buying one later like I just did on ebay. If it has the above two features, is sounds like a great deal.
 
Old 10-12-2003, 04:12 PM   #11
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
Like I said my research is not complete. I'm currently looking at this Trend Net KVM much closer. It promises Unix/Linux support without the need for software so I'm guessing no emulation. And apparently cables are provided. That was MY first question when I saw the price. I'm still a little skeptical. I'll post what I find.

Last edited by WingNut; 10-12-2003 at 04:13 PM.
 
Old 10-12-2003, 04:19 PM   #12
CanadianPenguin
Member
 
Registered: Oct 2003
Distribution: Ubuntu "Hoary" - The best distro around by a long shot.
Posts: 116

Rep: Reputation: 15
The Linksys one is only 10 bucks more from NewEgg (here). I'd probably go with that instead.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux and KVM philipogletree Linux - Hardware 2 08-25-2005 06:23 AM
KVM switch with Linux hkxx9 Linux - Newbie 32 07-08-2005 02:01 PM
KVM switch compatible with Linux tolstyi Linux - Hardware 5 05-24-2005 07:29 PM
Linux XP KVM problem kpharda Linux - General 5 11-15-2003 10:56 PM
Please recommend a KVM for Linux and XP bg4533 Linux - Hardware 2 11-15-2003 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration