DVI works fine but VGA does not work. Also, the click button on the mouse pad is touch sensitive, making it difficult to use on Linux. You'll end up lugging things around if you don't want to.
π TRENDnet TK-803R: 8-Port Rack Mount KVM Switch with VGA & USB Connection, USB/PS2 Support, Device Monitoring, Auto Scan - Control 8 Computers/Servers
10 Review
CKL 4 Port KVM Switch Dual Monitor DisplayPort 4K 60Hz: Unprecedented Multi-Computer Control with Audio, USB 2.0 HUBS, and DP 1.2
11 Review
CKL Quad Monitor HDMI KVM Switch 4 Port 4K@30Hz with Cables - Extended and Mirrored Display Support for Windows, Linux, and Mac
11 Review
π HDMI 2.0 4 Port KVM Switch with 4K@60Hz, 2K@144Hz,1080P@120Hz Support, 18Gbps Bandwidth, USB 2.0 Keyboard/Mouse/Printer/Monitor/PC Selector, Audio Out/Mic In, HDR10, Dolby Vision, Dolby/DTS, HDCP2.2 Compatibility
10 Review