On 4/27/25 10:48 AM, Beartooth via users wrote:
On Wed, 23 Apr 2025 16:26:33 -0700, ToddAndMargo via users wrote:

Hi Beartooth,

from the command line, run:
$ rpm -qa \*dm

and report back what pops up~# rpm -qa \*dm


        Hi Todd!

        I get

libblockdev-dm-3.3.0-3.fc42.x86_64
mdadm-4.3-7.fc42.x86_64
lightdm-1.32.0-13.fc42.x86_64
gdm-48.0-3.fc42.x86_64

It looks like you are running both gdm and lightdm as greeters.

If you are running gnome desktop, you really should
remove lightdm.  If you are running Xfce, MATE or others,
you should remove gdm.

Here are my note on autologon for teh various greeters:
-T


Autologin:

References: https://wiki.archlinux.org/index.php/LightDM#Enabling_autologin
                Note: this reference is missing "autologin-session=true"

                http://www.perturb.org/display/812_GDM_AutoLogin.html
                http://www.linfo.org/automatic_login.html
http://www.freetechie.com/blog/kubuntuand-kde-4-user-auto-login/


You have three possible Screen Managers (the login thingy):

gdm:     gnome
lightdm: lxde, xfce, MATE-Compiz
kdmrc:   KDE4

To double check:
    $ ps ax | grep -i "lightdm\|gdm\|kdmrc" | grep -v grep


lxdm auto login:

# vi /etc/lxdm/lxdm.conf

[base]
## uncomment and set autologin username to enable autologin
# autologin=todd
autologin=todd


## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde
session=/usr/bin/startxfce4

Note for Mate:
session=/usr/bin/mate-session


GDM:

     It only auto-logs in on first boot, and it must be a non-root user.

     # vi /etc/gdm/custom.conf:
         [daemon]
         AutomaticLoginEnable=true
         AutomaticLogin=whatever_username   <---- replace this!!!
         TimedLoginEnable=true

         TimedLogin=whatever_username       <---- replace this!!!
         TimedLoginDelay=0


The autologin doesn't require a reboot to work, just issue the following command:
   Note: this will knock you off your desktop!

      SL6:  #  /etc/init.d/gdm restart
      SL7:  #  sysctl restart gdm.service   <--knocks you off your desktop



Lightdm:

      edit /etc/lightdm/lightdm.conf:

          FC24-:
              [SeatDefaults]
              pam-autologin-service=lightdm-autologin
              user-session=xfce                         # optional
              session-wrapper=/etc/X11/xinit/Xsession   # note: the default
              autologin-user=tony
              autologin-user-timeout=0
              autologin-session=true

           FC25+:
              [SeatDefaults]
              autologin-user=tony
              autologin-user-timeout=0

           FC27:
              [Seat:*]
              autologin-user=tony
              autologin-user-timeout=0


       Set up LightDM and PAM and autologin

          # groupadd autologin
          # gpasswd --add tony autologin
          # reboot



KDMRC (not verified, use at own risk):

      edit /etc/kde4/kdm/kdmrc:

         [X-:0-Core]
         AutoLoginEnable=true
         AutoLoginLocked=false
         AutoLoginUser=bkevan
         ClientLogFile=.xsession-errors







--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to