iMac login screen only half displayed

I'd start with the standard "troubleshooting toolkit" ...
do all, in this order.

  • Reset the SMC (instructions depend on Mac model)

  • Reset the NVRAM

    1. At the boot chimes, hold Cmd ⌘ Opt ⌥ P R
    2. Keep holding all 4 keys until you hear the chimes again, then release
  • Verify & if necessary Repair disk, using Disk Utility.

  • Fix permissions.
    Before El Capitan this could also be done from Disk Utility, now it needs to be done from Terminal.
    Verify permissions
    sudo /usr/libexec/repair_packages --verify --standard-pkgs /
    Repair permissions
    sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /

  • Reset Home folder permissions & ACLs
    This has also become more complex since El Capitan because of System Integrity Protection, but is still possible by booting to Recovery Mode...

    1. At boot, hold Cmd ⌘ R at the chimes
    2. At the recovery screen, open Terminal from the Utilities menu.
    3. Type in resetpassword and hit Return\Enter. A Reset Password window opens.
    4. Select your username from the drop-down menu labeled Select the user account (NOT System Administrator/root).
    5. Click the Reset button at the bottom of the window in the Reset home folder permissions and ACLs section.
    6. Quit the Password Utility and go back to the main recovery screen.
    7. On your keyboard, press Cmd ⌘ Q and restart your computer (or Select  > Restart from the menu bar). It's very important that you don't hold down the power button to exit the recovery session, or the ACL reset won't be performed.
  • Start in Safe Mode

    1. Start or restart your Mac.
    2. Immediately after you hear the startup sound, press and hold Shift ⇧
    3. Release Shift ⇧ when you see the Apple logo appear on the screen.
    4. Leave a few minutes after login for caches to rebuild, then reboot normally.
  • Update to - or if already installed, then re-apply - the latest available combo updater for your current OS, not the usual delta update from App Store.

    Note: You can always search the latest combo update at http://www.apple.com/us/search/os-x-combo-update?src=serp & hone further by adding the version you're looking for in the search box at the top.