iMac shows frozen at bootup, but computer running normally in background

Solution 1:

You can try to follow the steps described in HT1492:

  1. Shut down your Mac if it is on.
  2. Press the power button to start the computer.
  3. Immediately press and hold Cmd-v for verbose mode.

This should give you some insight into where in the boot process the problem occurs. As you can still access the iMac via SSH it might be possible to fix it.

But as single-user boot seems to work without problems you might be better of with having a look at TS2570.

Solution 2:

I had this issue before. My solution is to use AppCleaner for uninstalling Chrome, and then restart the Mac. After that, reinstall Chrome should fix the problem.