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.
Enhance Productivity with CKL HDMI KVM 2 Port 4K 30Hz Dual Monitor Extended Display (CKL-922HUA)
10 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
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
TESmart 1080P 60Hz USB VGA KVM Extender Over Cat5e Cat6 Ethernet Cable - Long Range 984ft/300m (Sender+Receiver)
10 Review