Computer video outputs can be DVI or VGA. If one computer is DVI and the other VGA then a DVI-I splitter cable is required on the output to connect to the DVI and VGA inputs on the monitor. You may have to manually select the the input on your monitor.
eBay