How can I share a monitor between two computers?

Solution 1:

If your monitor has multiple input sockets (DVI, VGA, HDMI or even 2x DVI) you can attach both PCs to the monitor using two different sockets. The monitor should be able to switch between inputs using a button or some command in it's menus.

It's cheaper than a KVM-switch.

The downside: You may need to use VGA instead of DVI, but that is not a problem in most cases.

Solution 2:

You're looking for a KVM Switch. Or you could find a DVI video switch, but that will likely be just as expensive.

Solution 3:

I assume the monitor itself doesn't have dual inputs? Some of them do.