@linux-aarhus I will try messing with pam.d, Thank you.
I was going through the logs of a live ISO and I noticed something, probably nothing to do with the issue, but here it is:
What is being configured for the root user and shouldn’t anything with the root user happen before the manjaro user is created and added to SUDOers?
/var/log/manjaro-live.log
Loaded /etc/manjaro-tools/live.conf: 0.009ms
Detected cinnamon-session-cinnamon cinnamon: 0.016ms
Got consolefont and arch x86_64: 0.013ms
Configured language: en_US
Configured keymap: us
Configured timezone: UTC
Finished localization: 1.593ms
Created user manjaro with password manjaro: 0.645ms
Configured sudoers: 0.003ms
Deleting existing machine-id ...
Setting machine-id ...
Configured machine-id: 0.009ms
Configured accountsservice: 0.003ms
Configured displaymanager: 0.025ms
Configured root user: 0.243ms
Configured samba: 0.005ms
Also, on cinnamon, when the password prompt first comes up, the greeter is not fully loaded, no background is shown, then when the password eventually works, then it will show the background, then you have to enter the password again and it will login… just an observation in case it helps.
I also enabled logs on and here is the output, note, this boot required waiting and entering the password word. From what I can see, once the greeter loads, it is fine.
seat0-greeter.log
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[+0.00s] DEBUG: settings.vala:169: Overriding dconf setting for background with /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for background-color to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for logo to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for other-monitors-logo to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for theme-name to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for icon-theme-name to default
[+0.00s] DEBUG: settings.vala:169: Overriding dconf setting for cursor-theme-name with Bibata-Modern-Classic
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for font-name to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for play-ready-sound to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for xft-hintstyle to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for xft-rgba to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for enable-hidpi to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for only-on-monitor to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for clock-format to default
[+0.00s] DEBUG: settings.vala:178: Resetting dconf setting for onscreen-keyboard-layout to default
[+0.00s] DEBUG: settings.vala:169: Overriding dconf setting for content-align with center
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for draw-user-backgrounds to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for stretch-background-across-monitors to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for draw-grid to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-hostname to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-power to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-a11y to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-clock to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-keyboard to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for show-quit to default
[+0.00s] DEBUG: settings.vala:196: Resetting dconf setting for xft-antialias to default
[+0.00s] DEBUG: settings.vala:187: Overriding dconf setting for activate-numlock
[+0.00s] DEBUG: settings.vala:214: Resetting dconf setting for xft-dpi to default
[+0.00s] DEBUG: settings.vala:214: Resetting dconf setting for cursor-theme-size to default
[+0.00s] DEBUG: settings.vala:232: Resetting dconf setting for hidden-users to default
[+0.00s] DEBUG: settings.vala:232: Resetting dconf setting for group-filter to default
[+0.00s] DEBUG: slick-greeter.vala:723: HiDPI support: auto
[+0.26s] DEBUG: slick-greeter.vala:738: Activating numlock
[+0.32s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
[+0.35s] DEBUG: slick-greeter.vala:747: Starting slick-greeter 2.2.6 UID=959 LANG=en_US.UTF-8
[+0.35s] DEBUG: slick-greeter.vala:750: Setting cursor
[+0.35s] DEBUG: slick-greeter.vala:764: Loading command line options
[+0.35s] DEBUG: slick-greeter.vala:791: Setting GTK+ settings
[+0.39s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[+0.41s] DEBUG: slick-greeter.vala:795: Setting GTK theme: Adwaita
[+0.42s] DEBUG: slick-greeter.vala:800: Setting icon theme: gnome
[+0.42s] DEBUG: slick-greeter.vala:805: Setting cursor theme: Bibata-Modern-Classic
[+0.42s] DEBUG: slick-greeter.vala:810: Settings cursor theme size: 24
[+0.42s] DEBUG: slick-greeter.vala:829: Creating Slick Greeter
[+0.42s] DEBUG: slick-greeter.vala:55: Creating background surface
[+0.43s] DEBUG: Connecting to display manager...
[+0.43s] DEBUG: Wrote 26 bytes to daemon
[+0.43s] DEBUG: Read 8 bytes from daemon
[+0.43s] DEBUG: Read 161 bytes from daemon
[+0.43s] DEBUG: Connected api=1 version=1.32.0 hide-users=false has-guest-account=false default-session=cinnamon show-manual-login=false show-remote-login=true
[+0.55s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.55s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.56s] DEBUG: user-list.vala:1064: Adding/updating user manjaro ()
[+0.56s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+0.57s] WARNING: user-avatar.vala:94: Failed to load avatar: Failed to open file “/home/manjaro/.face”: Permission denied
[+0.57s] WARNING: user-avatar.vala:94: Failed to load avatar: Failed to open file “/home/manjaro/.face”: Permission denied
[+0.57s] WARNING: user-avatar.vala:94: Failed to load avatar: Failed to open file “/home/manjaro/.face”: Permission denied
[+0.57s] WARNING: user-avatar.vala:94: Failed to load avatar: Failed to open file “/home/manjaro/.face”: Permission denied
[+0.57s] DEBUG: main-window.vala:259: Monitor 0 is 1280x800 pixels at 0,0
[+0.57s] DEBUG: main-window.vala:275: MainWindow is 0x0 pixels
[+0.57s] DEBUG: slick-greeter.vala:832: Showing greeter
[+0.57s] DEBUG: slick-greeter.vala:314: Showing main window
[+0.58s] DEBUG: background.vala:66: Making background #000000 at 1280x800
[+0.58s] DEBUG: background.vala:77: Render of background #000000 complete
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/cinnamon.desktop (Cinnamon, This session logs you into Cinnamon)
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/cinnamon2d.desktop (Cinnamon (Software Rendering), This session logs you into Cinnamon (using software rendering))
[+0.58s] DEBUG: Loaded session /usr/share/wayland-sessions/cinnamon-wayland.desktop (Cinnamon on Wayland (Experimental), This session logs you into Cinnamon)
[+0.58s] DEBUG: Starting authentication for user manjaro...
[+0.58s] DEBUG: Wrote 23 bytes to daemon
[+0.58s] DEBUG: slick-greeter.vala:842: Starting main loop
[+0.59s] DEBUG: background.vala:622: Regenerating backgrounds
[+0.59s] DEBUG: background.vala:66: Making background #000000 at 1280x800
[+0.59s] DEBUG: background.vala:77: Render of background #000000 complete
[+0.59s] DEBUG: background.vala:66: Making background /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg at 1280x800
[+0.59s] DEBUG: background.vala:622: Regenerating backgrounds
[+0.59s] DEBUG: background.vala:66: Making background #000000 at 1280x800
[+0.59s] DEBUG: background.vala:77: Render of background #000000 complete
[+0.59s] DEBUG: background.vala:66: Making background /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg at 1280x800
[+0.64s] DEBUG: Read 8 bytes from daemon
[+0.64s] DEBUG: Read 37 bytes from daemon
[+0.64s] DEBUG: Prompt user with 1 message(s)
[+0.84s] DEBUG: slick-greeter.vala:302: starting system-ready sound
[+1.44s] DEBUG: background.vala:119: Render of background /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg complete
[+1.50s] DEBUG: background.vala:119: Render of background /usr/share/backgrounds/delinuxco/delinuxco_praia_da_adraga.svg complete
[+3.61s] DEBUG: Providing response to display manager
[+3.61s] DEBUG: Wrote 23 bytes to daemon
[+3.63s] DEBUG: Read 8 bytes from daemon
[+3.63s] DEBUG: Read 19 bytes from daemon
[+3.63s] DEBUG: Authentication complete for user manjaro with return code 0
[+3.63s] DEBUG: main-window.vala:234: Killing orca and onboard
[+3.63s] DEBUG: Starting session cinnamon
[+3.63s] DEBUG: Wrote 20 bytes to daemon
[+3.63s] DEBUG: Read 8 bytes from daemon
[+3.63s] DEBUG: Read 4 bytes from daemon
[+3.63s] DEBUG: slick-greeter.vala:837: Got a SIGTERM
[+3.63s] DEBUG: slick-greeter.vala:845: Cleaning up
[+3.63s] DEBUG: slick-greeter.vala:858: Exiting
Here is the lightdm log, not the time gap @ +2.15s that is how long it took for the password to work, about 10 seconds.
/var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=1321
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating user session
[+0.11s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.11s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.14s] DEBUG: Seat seat0: Creating greeter session
[+0.14s] DEBUG: Seat seat0: Creating display server of type x
[+0.14s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.14s] DEBUG: Using VT 7
[+0.14s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.14s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.14s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.14s] DEBUG: XServer 0: Launching X Server
[+0.14s] DEBUG: Launching process 1359: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.14s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.14s] DEBUG: Seat seat0: Creating display server of type x
[+0.14s] DEBUG: Using VT 8
[+0.14s] DEBUG: Seat seat0: Starting local X display on VT 8
[+0.14s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.14s] DEBUG: XServer 1: Writing X server authority to /var/run/lightdm/root/:1
[+0.14s] DEBUG: XServer 1: Launching X Server
[+0.14s] DEBUG: Launching process 1360: /usr/bin/X :1 -seat seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
[+0.14s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.14s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.14s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.17s] DEBUG: Got signal 10 from process 1359
[+1.17s] DEBUG: XServer 0: Got signal from X server :0
[+1.17s] DEBUG: XServer 0: Connecting to XServer :0
[+1.25s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.25s] DEBUG: Session pid=1518: Started with service 'lightdm-greeter', username 'lightdm'
[+1.27s] DEBUG: Session pid=1518: Authentication complete with return value 0: Success
[+1.27s] DEBUG: Seat seat0: Session authenticated, running command
[+1.27s] DEBUG: Session pid=1518: Running command /usr/bin/slick-greeter
[+1.27s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.27s] DEBUG: Session pid=1518: Logging to /var/log/lightdm/seat0-greeter.log
[+1.28s] DEBUG: Activating VT 7
[+1.83s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+2.13s] DEBUG: Greeter start authentication for manjaro
[+2.13s] DEBUG: Session pid=1619: Started with service 'lightdm', username 'manjaro'
[+2.15s] DEBUG: Session pid=1619: Got 1 message(s) from PAM
[+2.15s] DEBUG: Prompt greeter with 1 message(s)
[+12.91s] DEBUG: Continue authentication
[+12.92s] DEBUG: Session pid=1619: Authentication complete with return value 0: Success
[+12.92s] DEBUG: Authenticate result for user manjaro: Success
[+12.92s] DEBUG: User manjaro authorized
[+12.92s] DEBUG: Greeter requests session cinnamon
[+12.92s] DEBUG: Seat seat0: Returning to existing user session manjaro
[+12.92s] DEBUG: Activating VT 8
[+13.00s] DEBUG: Seat seat0: Stopping greeter
[+13.00s] DEBUG: Session pid=1518: Sending SIGTERM
[+13.00s] DEBUG: Session pid=1619: Exited with return value 0
[+13.00s] DEBUG: Seat seat0: Session stopped
[+13.00s] DEBUG: Greeter closed communication channel
[+13.00s] DEBUG: Session pid=1518: Exited with return value 0
[+13.00s] DEBUG: Seat seat0: Session stopped
[+13.00s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+13.00s] DEBUG: Sending signal 15 to process 1359
[+13.06s] DEBUG: Process 1359 exited with return value 0
[+13.06s] DEBUG: XServer 0: X server stopped
[+13.06s] DEBUG: Releasing VT 7
[+13.06s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+13.06s] DEBUG: Seat seat0: Display server stopped
[+13.15s] DEBUG: Got signal 10 from process 1360
[+13.15s] DEBUG: XServer 1: Got signal from X server :1
[+13.15s] DEBUG: XServer 1: Connecting to XServer :1
[+13.19s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+13.19s] DEBUG: Session pid=1643: Started with service 'lightdm-autologin', username 'manjaro'
[+13.20s] DEBUG: Session pid=1643: Authentication complete with return value 0: Success
[+13.20s] DEBUG: Seat seat0: Session authenticated, running command
[+13.20s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+13.21s] DEBUG: Session pid=1643: Running command /etc/lightdm/Xsession cinnamon-session-cinnamon
[+13.21s] DEBUG: Creating shared data directory /var/lib/lightdm-data/manjaro
[+13.21s] DEBUG: Session pid=1643: Logging to .xsession-errors
[+13.32s] DEBUG: Seat seat0 changes active session to 1
[+13.32s] DEBUG: Seat seat0 changes active session to 1
[+13.44s] DEBUG: Session pid=1643: Exited with return value 0
[+13.44s] DEBUG: Seat seat0: Session stopped
[+13.44s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+13.44s] DEBUG: Sending signal 15 to process 1360
[+13.48s] DEBUG: Seat seat0 changes active session to
[+13.60s] DEBUG: Process 1360 exited with return value 0
[+13.60s] DEBUG: XServer 1: X server stopped
[+13.60s] DEBUG: Releasing VT 8
[+13.60s] DEBUG: XServer 1: Removing X server authority /var/run/lightdm/root/:1
[+13.60s] DEBUG: Seat seat0: Display server stopped
[+13.60s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+13.60s] DEBUG: Seat seat0: Creating greeter session
[+13.60s] DEBUG: Seat seat0: Creating display server of type x
[+13.60s] DEBUG: Using VT 7
[+13.60s] DEBUG: Seat seat0: Starting local X display on VT 7
[+13.60s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+13.60s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+13.60s] DEBUG: XServer 0: Launching X Server
[+13.60s] DEBUG: Launching process 1706: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+13.60s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+13.83s] DEBUG: Got signal 10 from process 1706
[+13.83s] DEBUG: XServer 0: Got signal from X server :0
[+13.83s] DEBUG: XServer 0: Connecting to XServer :0
[+13.85s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+13.85s] DEBUG: Session pid=1712: Started with service 'lightdm-greeter', username 'lightdm'
[+13.87s] DEBUG: Session pid=1712: Authentication complete with return value 0: Success
[+13.87s] DEBUG: Seat seat0: Session authenticated, running command
[+13.87s] DEBUG: Session pid=1712: Running command /usr/bin/slick-greeter
[+13.87s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+13.87s] DEBUG: Session pid=1712: Logging to /var/log/lightdm/seat0-greeter.log
[+14.10s] DEBUG: Activating VT 7
[+14.10s] DEBUG: Activating login1 session c2
[+14.10s] DEBUG: Seat seat0 changes active session to c2
[+14.10s] DEBUG: Session c2 is already active
[+14.10s] DEBUG: Seat seat0 changes active session to c2
[+14.10s] DEBUG: Session c2 is already active
[+14.54s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+14.69s] DEBUG: Greeter start authentication for manjaro
[+14.69s] DEBUG: Session pid=1859: Started with service 'lightdm', username 'manjaro'
[+14.71s] DEBUG: Session pid=1859: Got 1 message(s) from PAM
[+14.71s] DEBUG: Prompt greeter with 1 message(s)
[+17.72s] DEBUG: Continue authentication
[+17.73s] DEBUG: Session pid=1859: Authentication complete with return value 0: Success
[+17.73s] DEBUG: Authenticate result for user manjaro: Success
[+17.73s] DEBUG: User manjaro authorized
[+17.74s] DEBUG: Greeter requests session cinnamon
[+17.74s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+17.74s] DEBUG: Terminating login1 session c2
[+17.74s] DEBUG: Session pid=1712: Sending SIGTERM
[+17.75s] DEBUG: Greeter closed communication channel
[+17.75s] DEBUG: Session pid=1712: Exited with return value 0
[+17.75s] DEBUG: Seat seat0: Session stopped
[+17.75s] DEBUG: Seat seat0: Greeter stopped, running session
[+17.75s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+17.75s] DEBUG: Session pid=1859: Running command /etc/lightdm/Xsession cinnamon-session-cinnamon
[+17.75s] DEBUG: Creating shared data directory /var/lib/lightdm-data/manjaro
[+17.75s] DEBUG: Session pid=1859: Logging to .xsession-errors
[+17.96s] DEBUG: Activating VT 7
[+17.97s] DEBUG: Activating login1 session 3
[+17.97s] DEBUG: Seat seat0 changes active session to 3
[+17.97s] DEBUG: Session 3 is already active
[+17.97s] DEBUG: Seat seat0 changes active session to 3
[+17.97s] DEBUG: Session 3 is already active