Consolekit when started via startx needs additional privs. Consolekit read users terminals to see who is logged in. It also reads the .Xauthority file.