Will my iMac stay on if I use it's display in target display mode for a Mac mini?

I have the new iMac and need a Mac mini. Is it easy to switch the display back and forth or do I have to plug and unplug?

Also.. Will the Mac mini continue to run in headless mode when I'm using the display with the iMac?

I'd like to connect to it via Remote Desktop most of the time.

Thanks!


Yes you can switch painlessly from one to the other using +F2.

Here's the Apple knowledge base article about that, you may find it interesting in order to understand exactly how the target display mode works.

However, I'm not sure you can connect via Remote Desktop without having a physical screen connected (except if you already upgraded to Lion, the "virtual screen" functionality should do the trick). Unfortunately, I can't try this at home as I don't have any Macs without internal display.