I recently installed the 10.10.5 update on my Macbook Pro, and now upon login with my home account, the dock won't launch (literally, there is no Dock process;
killall Dock returns
No matching processes belonging to you were found. Another command I've tried is
sudo /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock, and this returns
2015-09-16 10:26:35.219 Dock[1854:178195] __33-[WVSpaces _initializeFullscreen]_block_invoke: fullscreen message error: Connection invalid). In addition, several standard user interface elements, such as command-tab, spaces, and trackpad gestures, no longer work. When I login as a guest user, though, everything works just fine. I'm confused how to get these UI elements working again.
Edit: I've checked the system console, and it appears as if the dock is constantly trying to launch, but failing.