On Tue, Sep 24, 2019 at 4:29 PM Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
On Tue, 2019-09-24 at 17:49 +0800, Ed Greshko wrote:
> 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
Thanks.
That confirmed its lxdm
[danishka@localhost-live ~]$
[danishka@localhost-live ~]$ ll /etc/systemd/system/display-manager.service
lrwxrwxrwx. 1 root root 36 Sep 19 09:05 /etc/systemd/system/display-manager.service -> /usr/lib/systemd/system/lxdm.service
[danishka@localhost-live ~]$ cat /etc/sysconfig/desktop
PREFERRED=/usr/bin/startlxde
DISPLAYMANAGER=/usr/sbin/lxdm
[danishka@localhost-live ~]$
[danishka@localhost-live ~]$ ll /etc/systemd/system/display-manager.service
lrwxrwxrwx. 1 root root 36 Sep 19 09:05 /etc/systemd/system/display-manager.service -> /usr/lib/systemd/system/lxdm.service
[danishka@localhost-live ~]$ cat /etc/sysconfig/desktop
PREFERRED=/usr/bin/startlxde
DISPLAYMANAGER=/usr/sbin/lxdm
[danishka@localhost-live ~]$
--
Danishka Navin
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx