LinuxQuestions.org
Visit Jeremy's Blog.
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 11-20-2020, 02:27 AM   #1
steveis2
LQ Newbie
 
Registered: Sep 2018
Distribution: Linux Mint
Posts: 13

Rep: Reputation: Disabled
A KVM switch that works well with Linux?


Hi,
Can anyone recommend a KVM switch that works well with Linux? I have two PCs and one monitor keyboard and mouse.

If you have experience of a good KVM switch that allows 1920x1080 with an NVIDIA GPU and the latest drivers please let me know what model it is.

Thanks in advance.

Regards Steve
 
Old 11-20-2020, 09:03 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,317

Rep: Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331
There's a wide range of choices. You need to specify monitor connection type: VGA, DVI, HDMI or DisplayPort (or RGB). Mouse and keyboard are presumably USB. Do you need to switch audio as well? Are you planning on upgrading to dual monitors or 4K in the near future? Simple switches have just a manual control on the box. More complex use a software control like a key combination or mouse click on a screen "hot spot". As long as you get compatible hardware and avoid the cheap junk any will work on Linux.

I used to use an ethernet-based KVM switch (I think it was Tripp Lite) to control a rack full of servers, but now I use VNC and have a window open on the server I need to get to. When your PC is 3 states away from the server rack this saves a lot on cable expenses.
 
1 members found this post helpful.
Old 11-20-2020, 03:15 PM   #3
steveis2
LQ Newbie
 
Registered: Sep 2018
Distribution: Linux Mint
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
There's a wide range of choices. You need to specify monitor connection type: VGA, DVI, HDMI or DisplayPort (or RGB). Mouse and keyboard are presumably USB. Do you need to switch audio as well? Are you planning on upgrading to dual monitors or 4K in the near future? Simple switches have just a manual control on the box. More complex use a software control like a key combination or mouse click on a screen "hot spot". As long as you get compatible hardware and avoid the cheap junk any will work on Linux.

I used to use an ethernet-based KVM switch (I think it was Tripp Lite) to control a rack full of servers, but now I use VNC and have a window open on the server I need to get to. When your PC is 3 states away from the server rack this saves a lot on cable expenses.
Hi,
Thanks for your reply. Of course you are right I should be more specific.
I need a hdmi based KVM that can switch keyboard, mouse, monitor and audio between two PCs. I think the hdmi might be cheaper than the display port versions, although I could be wrong. I won't be using dual monitors. As you say I will definitely be avoiding the cheap parts and focusing hopefully on known and reliable brands but at the moment I'm not sure which they are when it comes to Linux.
I currently have a DVI KVM switch but for reasons I think are related to the 'EDID' of the monitor not being picked up when using recent NVIDIA Linux drivers and DVI cables the maximum resolution is reduced from 1920x1080 with windows 10 to 1600x900 with Linux. Using a single hdmi cable to connect a single PC to the monitor doesn't seemt to produce the same problem with the NVIDIA drivers so I'm hoping that a hdmi KVM might work ok.


Regards Steve
 
Old 11-20-2020, 07:15 PM   #4
obobskivich
Member
 
Registered: Jun 2020
Posts: 614

Rep: Reputation: Disabled
I like my Belkin F1DN104B-3 - handles dual link properly, sends EDID (and spoofs a connection to the 'not selected' PCs so they don't drop their outputs), and has had no problem sending 120hz or 144hz video, 3D video, etc along with standard 1080p60 or 720p60. I'm sure you could dongle adapt it to HDMI if your devices require that, but you'd lose dual-link support (HDMI does not support dual-link). It has ports for audio but I've never hooked them up.

Last edited by obobskivich; 11-20-2020 at 07:17 PM.
 
1 members found this post helpful.
Old 11-20-2020, 07:50 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,897
Blog Entries: 28

Rep: Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349
I don't think that you really need to worry about OS compatibility for a KVM switch. It works at a much lower hardware level than the OS; the OS is pretty much irrelevant to its functioning.

That being said, I have an inexpensive IOGEAR Model GCS72U that has worked flawlessly for several years.
 
1 members found this post helpful.
Old 11-20-2020, 09:54 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
I'd look for one that tells about the keep alive function.

The better ones tend to offer that feature.
 
1 members found this post helpful.
Old 11-21-2020, 12:18 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,886

Rep: Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291
I, too, have used IOGEAR KVMs for several years. I had to replace the first one I had because it only supported PS2 connections. The replacement supports both PS2 and USB. It doesn't do sound, or HDMI.
So, I can't recommend a specific model, but highly recommend IOGEAR. As mentioned, it doesn't care what OS the connected computers are running.
 
1 members found this post helpful.
Old 11-21-2020, 04:32 PM   #8
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,968

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
The switch is hardware, and knows nothing about the OS. Linux has nothing at all to do with it. 1920x1080 is comparatively low resolution, so any switch should be good enough. Long-term reliability could be an issue, though. But you can buy a cheap model and replace it a few times for the cost of a more expensive one. That's something only you can decide.
 
1 members found this post helpful.
Old 02-02-2023, 02:05 PM   #9
jongt
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Rep: Reputation: Disabled
Sadly, KVM behaviour is OS dependent. I have an 8 way Manhattan HDMI/USB KVM. It works fine with windows (10), and Ubuntu up to 19.04. From 19.10 until latest (22.10) it is broken and refuses to transmit keyboard/mouse information. I can take a 19.10 installation disc to try Ubuntu and boot it on known good hardware (eg one of the windows machines) and all the keyboard/mouse interaction is fine until linux starts. So, the BIOS etc works, but the linux kernel/drivers are bust. This appears to be a linux kernel fault; it's also in the latest RedHat amongst others. There are bugs raised to get it fixed but little interest.
 
Old 02-05-2023, 01:17 PM   #10
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 717

Rep: Reputation: Disabled
Haven't used a kvm switch for years though back in the day it was useful with pc/at, ps/2, vga, etc and just one monitor...
Nowadays, I get around with it by using ssh and lately with xpra.
 
  


Reply

Tags
kvm, nvidia


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Graphics acceleration works well for root, not so well for user lipk Slackware 3 03-28-2013 04:16 AM
[SOLVED] "No KVM, No qemu-kvm" Available error while trying to install KVM on CentOS 6.3 sriramdas Linux - Virtualization and Cloud 5 01-01-2013 10:46 AM
KVM on Redhat 5.7: KVM can ping outside network, outside network can't ping KVM svandyk Linux - Networking 1 09-23-2011 06:45 AM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM
Well well well..what do we have here? DaBlade Linux - News 4 10-03-2005 10:07 AM

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

All times are GMT -5. The time now is 01:52 PM.

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