You are not logged in.
Hi. I have a LightDM + bspwm installation. The issue is that I can't access desktop directly. Every time I boot Arch, a blank screen with a dash welcomes me and every time I have to go the TTY screen, restart the LightDM service, then everything works well.
Here is a output for journalctl:
Mar 06 21:16:02 notewm dbus-daemon[309]: [system] Activating via systemd: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service' requested by ':1.3' (uid=0 pid=332 comm="/usr/bin/lightdm ")
Mar 06 21:16:02 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:02 notewm dbus-daemon[309]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' requested by ':1.3' (uid=0 pid=332 comm="/usr/bin/lightdm ")
Mar 06 21:16:02 notewm systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 06 21:16:02 notewm systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 06 21:16:02 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
Mar 06 21:16:03 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 06 21:16:03 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 2.
Mar 06 21:16:03 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 06 21:16:03 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 3.
Mar 06 21:16:03 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 4.
Mar 06 21:16:03 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 06 21:16:03 notewm systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 06 21:16:03 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 06 21:16:04 notewm systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Mar 06 21:16:04 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:04 notewm audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:04 notewm systemd[1]: lightdm.service: Start request repeated too quickly.
Mar 06 21:16:04 notewm systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 06 21:16:12 notewm polkitd[324]: Operator of unix-process:576:1087 successfully authenticated as unix-user:omer to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.25 [systemctl restart lightdm] (owned by unix-user:omer)
Mar 06 21:16:12 notewm audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:12 notewm kernel: audit: type=1130 audit(1615054572.919:76): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:15 notewm audit[645]: CRED_ACQ pid=645 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_permit acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:15 notewm lightdm[645]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=973) by (uid=0)
Mar 06 21:16:15 notewm kernel: audit: type=1103 audit(1615054575.609:79): pid=645 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_permit acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:15 notewm systemd-logind[313]: New session c1 of user lightdm.
Mar 06 21:16:15 notewm audit[649]: USER_ACCT pid=649 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:15 notewm audit[649]: CRED_ACQ pid=649 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 06 21:16:15 notewm audit[649]: USER_START pid=649 uid=0 auid=973 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:15 notewm systemd[649]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[lightdm] ruser=[<unknown>] rhost=[<unknown>]
Mar 06 21:16:15 notewm systemd[649]: pam_unix(systemd-user:session): session opened for user lightdm(uid=973) by (uid=0)
Mar 06 21:16:15 notewm kernel: audit: type=1101 audit(1615054575.639:81): pid=649 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 21:16:15 notewm kernel: audit: type=1103 audit(1615054575.639:82): pid=649 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 06 21:16:15 notewm systemd[1]: Started Session c1 of user lightdm.
Mar 06 21:16:15 notewm audit[645]: USER_START pid=645 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:15 notewm dbus-daemon[674]: [session uid=973 pid=674] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.1' (uid=973 pid=657 comm="/usr/bin/lightdm-gtk-greeter ")
Mar 06 21:16:16 notewm polkitd[324]: <no filename>:4: subject=[Subject pid=657 user='lightdm' groups=lightdm seat='seat0' session='c1' local=true active=true]
Mar 06 21:16:16 notewm at-spi-bus-launcher[681]: dbus-daemon[681]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=973 pid=657 comm="/usr/bin/lightdm-gtk-greeter ")
Mar 06 21:16:17 notewm lightdm[689]: gkr-pam: unable to locate daemon control file
Mar 06 21:16:17 notewm audit[689]: USER_AUTH pid=689 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="omer" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:17 notewm lightdm[689]: gkr-pam: stashed password to try later in open session
Mar 06 21:16:17 notewm dbus-daemon[309]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.37' (uid=0 pid=689 comm="lightdm --session-child 12 19 ")
Mar 06 21:16:17 notewm audit[689]: USER_ACCT pid=689 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="omer" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:17 notewm lightdm[689]: pam_systemd_home(lightdm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Mar 06 21:16:17 notewm systemd[1]: Stopping Session c1 of user lightdm.
Mar 06 21:16:17 notewm lightdm[645]: pam_unix(lightdm-greeter:session): session closed for user lightdm
Mar 06 21:16:17 notewm audit[645]: USER_END pid=645 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:17 notewm audit[645]: CRED_DISP pid=645 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_permit acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:17 notewm systemd[1]: Stopped Session c1 of user lightdm.
Mar 06 21:16:17 notewm audit[689]: CRED_ACQ pid=689 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="omer" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:17 notewm lightdm[689]: pam_unix(lightdm:session): session opened for user omer(uid=1000) by (uid=0)
Mar 06 21:16:17 notewm lightdm[689]: pam_env(lightdm:session): deprecated reading of user environment enabled
Mar 06 21:16:17 notewm lightdm[689]: gkr-pam: the password for the login keyring was invalid.
Mar 06 21:16:17 notewm audit[689]: USER_START pid=689 uid=0 auid=1000 ses=4 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_gnome_keyring acct="omer" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
Mar 06 21:16:17 notewm audit[689]: USER_LOGIN pid=689 uid=0 auid=1000 ses=4 msg='op=login id=1000 exe="/usr/bin/lightdm" hostname=notewm addr=? terminal=/dev/tty7 res=success'
Mar 06 21:16:27 notewm systemd[650]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[lightdm] ruser=[<unknown>] rhost=[<unknown>]Thanks!
Offline
Offline
Thanks, it seems my problem is solved with these.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline