At the same time, like an overlay of one screen on the other? Not without a lot of fancy video equipment. One at a time? Yes. A device called a KVM Switch is used to switch one Keyboard, Video, and Mouse among two (or more) computers. Is this what you want?