KVM cables have 2 female ends because one end connects to the output of your graphics card and the other end connects to the input of the KVM switch. both men). This is the correct setting for KVM switches and most likely what you need if you have a KVM switch.
π 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
4 Port USB 3.0 Switch Selector - Pubioh KVM Switch for Mouse, Keyboard, Printer, Scanner - 2 in 4 Out Sharing Box with Switch Button and 2 USB 3.0 A to A Cables
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