how to reproduce:
install, click stop service, click start service and click no
on uac, it'll show "Service is not running" but can be connected.
Signed-off-by: 21pages <pages21@163.com>
Solution:
1. Get file from sddm-greeter and startplasma-x11 (aka KDE) processes as well
2. Get users home dir from system instead of hard coded pattern /home/<user>
3. Prefer XAUTHORITY environment variable over Xorg -auth if available