Control F2 on the mac that will be the slave monitor, also the keyboard and mouse will not work while in this mode on slave iMac, control F2 to deactivate to normal condition both work independently again