On 9/24/19 5:44 PM, Patrick O'Callaghan wrote:
On Tue, 2019-09-24 at 12:13 +0530, Danishka Navin wrote:
No, you need to find the display manager process. lxdm is usually the one used for lxde.
I have checked /etc/sysconfig/desktop and found that lxdm is the Display Manager
That may not be reliable. I only ever use KDE, but my /etc/sysconfig/desktop file says:
$ cat /etc/sysconfig/desktop DESKTOP=GNOME
OTOH, I have:
$ systemctl status sddm ● sddm.service - Simple Desktop Display Manager Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2019-09-20 10:53:31 BST; 3 days ago
Which is why the accurate way to determine the DM is....
[egreshko@meimei ~]$ ll /etc/systemd/system/display-manager.service lrwxrwxrwx. 1 root root 36 Nov 5 2017 /etc/systemd/system/display-manager.service -> /usr/lib/systemd/system/sddm.service
And note where the symbolic link points