You are not logged in.

#1 2022-03-20 00:59:34

mara
Member
Registered: 2022-03-20
Posts: 2

lxdm-session logout instantly

I installed arch a few years ago (2 or 3). I was pregnant and I got a baby so I haven't log in arch for quite a long time until now. I am quite rusty to be honest and forgot about what I did before. I succeeded to do a full update with Pacman. No more errors and everything looks good on that side. Currently I have a problem with my login page. I use xfce4. I don't think it had ever worked well. I enter my password, seems to work and log me out. As a workaround, I open a terminal, log in and startx.

Here is my entry from journalctl and my xorg.log. Maybe I missed something, but I don't see any errors.

Mar 27 17:16:18 archGE62 systemd-logind[440]: Removed session 3.
Mar 27 17:16:18 archGE62 systemd-logind[440]: Session 3 logged out. Waiting for processes to exit.
Mar 27 17:16:18 archGE62 systemd[1]: session-3.scope: Deactivated successfully.
Mar 27 17:16:17 archGE62 kernel: audit: type=1106 audit(1648415777.919:88): pid=1213 uid=0 auid=1001 ses=3 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_systemd_home,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="mara" exe="/usr/lib/lxdm/lxdm-session" hostname=archGE62 addr=? terminal=tty1 res=success'
Mar 27 17:16:17 archGE62 dbus-daemon[1221]: [session uid=1001 pid=1221] Successfully activated service 'org.freedesktop.systemd1'
Mar 27 17:16:17 archGE62 lxdm-session[1213]: pam_unix(lxdm:session): session closed for user mara
Mar 27 17:16:17 archGE62 audit[1213]: USER_END pid=1213 uid=0 auid=1001 ses=3 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_systemd_home,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="mara" exe="/usr/lib/lxdm/lxdm-session" hostname=archGE62 addr=? terminal=tty1 res=success'
Mar 27 17:16:17 archGE62 systemd[1013]: Started D-Bus User Message Bus.
Mar 27 17:16:17 archGE62 systemd[1013]: Starting D-Bus User Message Bus...
Mar 27 17:16:17 archGE62 systemd[1013]: Created slice User Core Session Slice.
Mar 27 17:16:17 archGE62 kernel: audit: type=1105 audit(1648415777.689:87): pid=1213 uid=0 auid=1001 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_systemd_home,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="mara" exe="/usr/lib/lxdm/lxdm-session" hostname=archGE62 addr=? terminal=tty1 res=success'
Mar 27 17:16:17 archGE62 audit[1213]: USER_START pid=1213 uid=0 auid=1001 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_systemd_home,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="mara" exe="/usr/lib/lxdm/lxdm-session" hostname=archGE62 addr=? terminal=tty1 res=success'
Mar 27 17:16:17 archGE62 lxdm-session[1213]: pam_env(lxdm:session): deprecated reading of user environment enabled
Mar 27 17:16:17 archGE62 systemd[1]: Started Session 3 of User mara.
Mar 27 17:16:17 archGE62 systemd-logind[440]: New session 3 of user mara.
Mar 27 17:16:17 archGE62 kernel: audit: type=1327 audit(1648415777.679:86): proctitle="/usr/lib/lxdm/lxdm-session"
Mar 27 17:16:17 archGE62 kernel: audit: type=1300 audit(1648415777.679:86): arch=c000003e syscall=1 success=yes exit=4 a0=5 a1=7ffeca838740 a2=4 a3=0 items=0 ppid=551 pid=1213 auid=1001 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="lxdm-session" exe="/usr/lib/lxdm/lxdm-session" key=(null)
Mar 27 17:16:17 archGE62 kernel: audit: type=1006 audit(1648415777.679:86): pid=1213 uid=0 old-auid=4294967295 auid=1001 tty=(none) old-ses=4294967295 ses=3 res=1
Mar 27 17:16:17 archGE62 lxdm-session[1213]: pam_unix(lxdm:session): session opened for user mara(uid=1001) by (uid=0)
Mar 27 17:16:17 archGE62 audit: PROCTITLE proctitle="/usr/lib/lxdm/lxdm-session"
Mar 27 17:16:17 archGE62 audit[1213]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=5 a1=7ffeca838740 a2=4 a3=0 items=0 ppid=551 pid=1213 auid=1001 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="lxdm-session" exe="/usr/lib/lxdm/lxdm-session" key=(null)
Mar 27 17:16:17 archGE62 kernel: audit: type=1101 audit(1648415777.419:85): pid=1213 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="mara" exe="/usr/lib/lxdm/lxdm-session" hostname=? addr=? terminal=? res=success'
Mar 27 17:16:17 archGE62 kernel: audit: type=1100 audit(1648415777.419:84): pid=1213 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="mara" exe="/usr/lib/lxdm/lxdm-session" hostname=? addr=? terminal=? res=success'
Mar 27 17:16:17 archGE62 audit[1213]: USER_ACCT pid=1213 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="mara" exe="/usr/lib/lxdm/lxdm-session" hostname=? addr=? terminal=? res=success'
Mar 27 17:16:17 archGE62 audit[1213]: USER_AUTH pid=1213 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="mara" exe="/usr/lib/lxdm/lxdm-session" hostname=? addr=? terminal=? res=success'
Mar 27 17:16:17 archGE62 lxdm-session[1213]: pam_systemd_home(lxdm:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Mar 27 17:16:17 archGE62 dbus-daemon[437]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Mar 27 17:16:17 archGE62 dbus-daemon[437]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.14' (uid=0 pid=1213 comm="/usr/lib/lxdm/lxdm-session")
[   332.039] (II) AIGLX: Resuming AIGLX clients after VT switch
[   332.039] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   332.124] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   332.124] (II) event3  - Power Button: device is a keyboard
[   332.127] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[   332.128] (II) event7  - Video Bus: device is a keyboard
[   332.131] (II) event8  - Video Bus: is tagged by udev as: Keyboard
[   332.131] (II) event8  - Video Bus: device is a keyboard
[   332.134] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   332.134] (II) event2  - Power Button: device is a keyboard
[   332.137] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   332.137] (II) event1  - Sleep Button: device is a keyboard
[   332.140] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   332.140] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   332.145] (II) event9  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   332.148] (II) event9  - SynPS/2 Synaptics TouchPad: device is a touchpad
[   332.150] (II) event6  - MSI WMI hotkeys: is tagged by udev as: Keyboard
[   332.151] (II) event6  - MSI WMI hotkeys: device is a keyboard
[   339.109] (II) event3  - Power Button: device removed
[   339.177] (II) event7  - Video Bus: device removed
[   339.297] (II) event8  - Video Bus: device removed
[   339.397] (II) event2  - Power Button: device removed
[   339.437] (II) event1  - Sleep Button: device removed
[   339.477] (II) event4  - AT Translated Set 2 keyboard: device removed
[   339.517] (II) event9  - SynPS/2 Synaptics TouchPad: device removed
[   339.617] (II) event6  - MSI WMI hotkeys: device removed
[   339.697] (II) AIGLX: Suspending AIGLX clients for VT switch

Thank you in advance!

Last edited by mara (2022-03-28 01:46:26)

Offline

#2 2022-03-23 08:51:14

j.zelinka
Member
Registered: 2016-12-05
Posts: 9

Re: lxdm-session logout instantly

I think that the main error message is
Mar 19 16:21:08 archGE62 lxdm-session[18471]: pam_systemd_home(lxdm:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.

Try to focus on it.  In several discussions concerning similar problem the reinstallation of the problem packages is recommended. 

JZ

Offline

#3 2022-03-23 09:23:48

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: lxdm-session logout instantly

systemd-homed is still optional AFAIK; that message shouldn't be considered an error unless you're actually trying to use systemd-homed.

I can't find any real clues in the journalctl output, but it does seem incomplete: lines are cut off at the end, but more importantly, there should be more before/after the ones you posted. Don't use a pager if it makes it hard to copy messages, or maybe upload the the full `journalctl -b`: https://wiki.archlinux.org/title/List_o … n_services

Also check/post the X log after a failed login attempt -- usually /var/log/Xorg.0.log or you may have an older one available from a previous attempt.

Offline

#4 2022-03-28 02:02:05

mara
Member
Registered: 2022-03-20
Posts: 2

Re: lxdm-session logout instantly

Raynman wrote:

systemd-homed is still optional AFAIK; that message shouldn't be considered an error unless you're actually trying to use systemd-homed.

I can't find any real clues in the journalctl output, but it does seem incomplete: lines are cut off at the end, but more importantly, there should be more before/after the ones you posted. Don't use a pager if it makes it hard to copy messages, or maybe upload the the full `journalctl -b`: https://wiki.archlinux.org/title/List_o … n_services

Also check/post the X log after a failed login attempt -- usually /var/log/Xorg.0.log or you may have an older one available from a previous attempt.

I am not using system-homed, Here is my output of systemctl status systemd-homed

○ systemd-homed.service - Home Area Manager
     Loaded: loaded (/usr/lib/systemd/system/systemd-homed.service; disabled; vendor preset: enabled)
     Active: inactive (dead)
       Docs: man:systemd-homed.service(8)
             man:org.freedesktop.home1(5)

I edited my initial post with all the complete lines of my journalctl and my Xorg.log. There aren't any other lines in my journalctl after a failed attempt. These are the only lines created following a failed attempt to log in.

Thanks

Offline

#5 2022-03-28 06:30:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,705

Re: lxdm-session logout instantly

That's not your xorg log, but some lines from it.
Post the full log and the complete system journal - not some filter. If you knew what to filter for, you'd not be here.

Offline

Board footer

Powered by FluxBB