Cannot connect to mac mini before login
I just got a mac mini (the latest model) and turned on screen sharing and ssh. After I login (using a wired keyboard), I can connect to it from my MBP using VNC or SSH. But if I simply turn it on and do not login, I cannot connect to it (and I cannot even ping its IP address). Plus, it will turn off after 5 minutes (it is not asleep because tapping on keyboard does not wake it). I think this is not expected. I should be able to remotely connect to it even if I do not login locally. Does anyone have a solution?
Mac mini (Late 2012), OS X Mountain Lion (10.8.3)