Mac Mini Insists on Shutting Down When I Unplug Mouse and Keyboard I have a Mac Mini I usually use as a server, but sometimes I need to work on it. I prefer to use my keyboard and mouse on my primary computer, a laptop. These peripherals and others are attached to a USB hub, and I would like to be able to plug this hub into the Mac when I need to do something and then put it back. I can often do this (but not always) once, but inevitably there comes a time when Mac OS thinks there is a problem when I either unplug or reiplug in the hub.

Is there any way to stop this need to reboot? I don't have room for another keyboard nor do I want to get more equipment that I will almost never use.
In support of this, next time it happens, make a note of the time you pull the plugs out, and then when you are rebooted, run the Console application, and check your logs for the same timescale.  This should provide a handy clue.

Also, do you have any other devices on your USB hub that provide any more than just mouse/keyboard services?  Any card readers, storage devices etc?  These may need umounting properly before just pulling the plug and may be a part of it if you have them.