[PATCH v3] server: Track desktop users per thread instead of per process.