You are not logged in.

#1 2020-07-29 03:01:33

TheMohawkNinja
Member
Registered: 2017-07-11
Posts: 47

Getting kicked out on login

Hello,

I have a pretty new install of Arch (<1 month) that I am trying to mirror my Ubuntu setup for. Xserver and i3-gaps are installed and run on login (i3-gaps is executed from the ~.xinitrc file), however when I login to the non-root user ("terminus") where all of this is configured, the screen just goes black and I'm kicked back to the login screen (I am not using a greeter, so it's just the normal Arch login prompt).

I have already tried commenting out the "i3 &" line in my ~.xinitrc line, which did not resolve the issue.
I also deleted my .Xresources file in-case that was causing problems, however that did not resolve the issue either.

The "root" user (which I am using right now) only has Xserver running with its' default configuration and is not experiencing issues.

The logs are posted below, but I didn't see anything throwing major errors, so I'm not sure what's to blame.



/home/terminus/.xinirc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

i3 &

dmesg

[10214.907103] audit: type=1104 audit(1595990093.083:226): pid=2149 uid=0 auid=0 ses=15 msg='op=PAM:setcred grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="root" exe="/usr/bin/login" hostname=Archibald addr=? terminal=tty1 res=success'
[10214.908248] audit: type=1106 audit(1595990093.086:227): pid=2149 uid=0 auid=0 ses=15 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="root" exe="/usr/bin/login" hostname=Archibald addr=? terminal=tty1 res=success'
[10214.909545] audit: type=1131 audit(1595990093.086:228): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10214.916587] audit: type=1130 audit(1595990093.093:229): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10214.916590] audit: type=1131 audit(1595990093.093:230): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10214.917716] audit: type=1130 audit(1595990093.096:231): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10221.563887] audit: type=1100 audit(1595990099.739:232): pid=2852 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="terminus" exe="/usr/bin/login" hostname=Archibald addr=? terminal=tty1 res=success'
[10221.581245] audit: type=1101 audit(1595990099.759:233): pid=2852 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="terminus" exe="/usr/bin/login" hostname=Archibald addr=? terminal=tty1 res=success'
[10221.582003] audit: type=1103 audit(1595990099.759:234): pid=2852 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="terminus" exe="/usr/bin/login" hostname=Archibald addr=? terminal=tty1 res=success'
[10221.582058] audit: type=1006 audit(1595990099.759:235): pid=2852 uid=0 old-auid=4294967295 auid=1000 tty=tty1 old-ses=4294967295 ses=17 res=1
[10221.582062] audit: type=1300 audit(1595990099.759:235): arch=c000003e syscall=1 success=yes exit=4 a0=3 a1=7ffe904666f0 a2=4 a3=7ffe90466404 items=0 ppid=1 pid=2852 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=17 comm="login" exe="/usr/bin/login" key=(null)
[10221.582065] audit: type=1327 audit(1595990099.759:235): proctitle=2F62696E2F6C6F67696E002D70002D2D002020202020202020
[10221.593645] audit: type=1130 audit(1595990099.769:236): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10221.598118] audit: type=1101 audit(1595990099.776:237): pid=2857 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="terminus" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10221.598147] audit: type=1103 audit(1595990099.776:238): pid=2857 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="terminus" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[10221.598176] audit: type=1006 audit(1595990099.776:239): pid=2857 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=18 res=1
[10221.741164] radeon_dp_aux_transfer_native: 74 callbacks suppressed
[10229.550064] kauditd_printk_skb: 19 callbacks suppressed
[10229.550065] audit: type=1100 audit(1595990107.726:255): pid=2926 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="root" exe="/usr/bin/login" hostname=Archibald addr=? terminal=tty1 res=success'
[10229.567380] audit: type=1101 audit(1595990107.743:256): pid=2926 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="root" exe="/usr/bin/login" hostname=Archibald addr=? terminal=tty1 res=success'
[10229.567480] audit: type=1103 audit(1595990107.743:257): pid=2926 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_securetty,pam_tally2,pam_shells,pam_unix,pam_permit acct="root" exe="/usr/bin/login" hostname=Archibald addr=? terminal=tty1 res=success'
[10229.567579] audit: type=1006 audit(1595990107.746:258): pid=2926 uid=0 old-auid=4294967295 auid=0 tty=tty1 old-ses=4294967295 ses=19 res=1
[10229.567582] audit: type=1300 audit(1595990107.746:258): arch=c000003e syscall=1 success=yes exit=1 a0=3 a1=7fffe6298c00 a2=1 a3=7fffe6298917 items=0 ppid=1 pid=2926 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=19 comm="login" exe="/usr/bin/login" key=(null)[10229.567585] audit: type=1327 audit(1595990107.746:258): proctitle=2F62696E2F6C6F67696E002D70002D2D0020202020
[10229.580396] audit: type=1130 audit(1595990107.756:259): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10229.585071] audit: type=1101 audit(1595990107.763:260): pid=2930 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10229.585121] audit: type=1103 audit(1595990107.763:261): pid=2930 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[10229.585167] audit: type=1006 audit(1595990107.763:262): pid=2930 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=20 res=1
[10229.727835] radeon_dp_aux_transfer_native: 74 callbacks suppressed

journalctl

Jul 28 22:34:53 Archibald audit[2149]: CRED_DISP pid=2149 uid=0 auid=0 ses=15 msg='op=PAM:setcred grantors=pam_securetty,pam_t>
Jul 28 22:34:53 Archibald kernel: audit: type=1104 audit(1595990093.083:226): pid=2149 uid=0 auid=0 ses=15 msg='op=PAM:setcred>
Jul 28 22:34:53 Archibald kernel: audit: type=1106 audit(1595990093.086:227): pid=2149 uid=0 auid=0 ses=15 msg='op=PAM:session>
Jul 28 22:34:53 Archibald kernel: audit: type=1131 audit(1595990093.086:228): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='>
Jul 28 22:34:53 Archibald kernel: audit: type=1130 audit(1595990093.093:229): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='>
Jul 28 22:34:53 Archibald kernel: audit: type=1131 audit(1595990093.093:230): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='>
Jul 28 22:34:53 Archibald kernel: audit: type=1130 audit(1595990093.096:231): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='>
Jul 28 22:34:53 Archibald audit[2149]: USER_END pid=2149 uid=0 auid=0 ses=15 msg='op=PAM:session_close grantors=pam_loginuid,p>
Jul 28 22:34:53 Archibald audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd>
Jul 28 22:34:53 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="system>
Jul 28 22:34:53 Archibald audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd>
Jul 28 22:34:53 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="system>
Jul 28 22:34:53 Archibald systemd[1]: getty@tty1.service: Succeeded.
Jul 28 22:34:53 Archibald login[2149]: pam_unix(login:session): session closed for user root
Jul 28 22:34:53 Archibald systemd[1]: session-15.scope: Succeeded.
Jul 28 22:34:53 Archibald systemd-logind[372]: Session 15 logged out. Waiting for processes to exit.
Jul 28 22:34:53 Archibald systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 8.
Jul 28 22:34:53 Archibald systemd[1]: Stopped Getty on tty1.
Jul 28 22:34:53 Archibald systemd[1]: Started Getty on tty1.
Jul 28 22:34:53 Archibald systemd-logind[372]: Removed session 15.
Jul 28 22:34:59 Archibald audit[2852]: USER_AUTH pid=2852 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication gran>
Jul 28 22:34:59 Archibald kernel: audit: type=1100 audit(1595990099.739:232): pid=2852 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:34:59 Archibald audit[2852]: USER_ACCT pid=2852 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors>
Jul 28 22:34:59 Archibald audit[2852]: CRED_ACQ pid=2852 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam>
Jul 28 22:34:59 Archibald audit[2852]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=3 a1=7ffe904666f0 a2=4 a3=7ffe904>
Jul 28 22:34:59 Archibald audit: PROCTITLE proctitle=2F62696E2F6C6F67696E002D70002D2D002020202020202020
Jul 28 22:34:59 Archibald login[2852]: pam_unix(login:session): session opened for user terminus by LOGIN(uid=0)
Jul 28 22:34:59 Archibald kernel: audit: type=1101 audit(1595990099.759:233): pid=2852 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:34:59 Archibald kernel: audit: type=1103 audit(1595990099.759:234): pid=2852 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:34:59 Archibald kernel: audit: type=1006 audit(1595990099.759:235): pid=2852 uid=0 old-auid=4294967295 auid=1000 tty>
Jul 28 22:34:59 Archibald kernel: audit: type=1300 audit(1595990099.759:235): arch=c000003e syscall=1 success=yes exit=4 a0=3 >
Jul 28 22:34:59 Archibald kernel: audit: type=1327 audit(1595990099.759:235): proctitle=2F62696E2F6C6F67696E002D70002D2D002020>
Jul 28 22:34:59 Archibald systemd[1]: Created slice User Slice of UID 1000.
Jul 28 22:34:59 Archibald systemd[1]: Starting User Runtime Directory /run/user/1000...
Jul 28 22:34:59 Archibald systemd-logind[372]: New session 17 of user terminus.
Jul 28 22:34:59 Archibald systemd[1]: Finished User Runtime Directory /run/user/1000.
Jul 28 22:34:59 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 c>
Jul 28 22:34:59 Archibald kernel: audit: type=1130 audit(1595990099.769:236): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='>
Jul 28 22:34:59 Archibald systemd[1]: Starting User Manager for UID 1000...
Jul 28 22:34:59 Archibald audit[2857]: USER_ACCT pid=2857 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors>
Jul 28 22:34:59 Archibald audit[2857]: CRED_ACQ pid=2857 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? a>
Jul 28 22:34:59 Archibald audit[2857]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=8 a1=7ffd0b27a740 a2=4 a3=7ffd0b2>
Jul 28 22:34:59 Archibald audit: PROCTITLE proctitle="(systemd)"
Jul 28 22:34:59 Archibald systemd[2857]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[syste>
Jul 28 22:34:59 Archibald systemd[2857]: pam_unix(systemd-user:session): session opened for user terminus by (uid=0)
Jul 28 22:34:59 Archibald audit[2857]: USER_START pid=2857 uid=0 auid=1000 ses=18 msg='op=PAM:session_open grantors=pam_loginu>
Jul 28 22:34:59 Archibald kernel: audit: type=1101 audit(1595990099.776:237): pid=2857 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:34:59 Archibald kernel: audit: type=1103 audit(1595990099.776:238): pid=2857 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:34:59 Archibald kernel: audit: type=1006 audit(1595990099.776:239): pid=2857 uid=0 old-auid=4294967295 auid=1000 tty>
Jul 28 22:34:59 Archibald audit: BPF prog-id=21 op=LOAD
Jul 28 22:34:59 Archibald audit[2857]: SYSCALL arch=c000003e syscall=321 success=yes exit=8 a0=5 a1=7ffed85b7fd0 a2=70 a3=55cd>
Jul 28 22:34:59 Archibald audit: PROCTITLE proctitle="(systemd)"
Jul 28 22:34:59 Archibald audit: BPF prog-id=21 op=UNLOAD
Jul 28 22:34:59 Archibald systemd[2857]: Reached target Paths.
Jul 28 22:34:59 Archibald systemd[2857]: Reached target Timers.
Jul 28 22:34:59 Archibald systemd[2857]: Starting D-Bus User Message Bus Socket.
Jul 28 22:34:59 Archibald systemd[2857]: Listening on GnuPG network certificate management daemon.
Jul 28 22:34:59 Archibald systemd[2857]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jul 28 22:34:59 Archibald systemd[2857]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jul 28 22:34:59 Archibald systemd[2857]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jul 28 22:34:59 Archibald systemd[2857]: Listening on GnuPG cryptographic agent and passphrase cache.
Jul 28 22:34:59 Archibald systemd[2857]: Listening on p11-kit server.
Jul 28 22:34:59 Archibald systemd[2857]: Listening on D-Bus User Message Bus Socket.
Jul 28 22:34:59 Archibald systemd[2857]: Reached target Sockets.
Jul 28 22:34:59 Archibald systemd[2857]: Reached target Basic System.
Jul 28 22:34:59 Archibald systemd[2857]: Reached target Main User Target.
Jul 28 22:34:59 Archibald systemd[2857]: Startup finished in 26ms.
Jul 28 22:34:59 Archibald systemd[1]: Started User Manager for UID 1000.
Jul 28 22:34:59 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd>
Jul 28 22:34:59 Archibald systemd[1]: Started Session 17 of user terminus.
Jul 28 22:34:59 Archibald audit[2852]: USER_START pid=2852 uid=0 auid=1000 ses=17 msg='op=PAM:session_open grantors=pam_loginu>
Jul 28 22:34:59 Archibald audit[2852]: CRED_REFR pid=2852 uid=0 auid=1000 ses=17 msg='op=PAM:setcred grantors=pam_securetty,pa>
Jul 28 22:34:59 Archibald login[2852]: LOGIN ON tty1 BY terminus
Jul 28 22:34:59 Archibald kernel: radeon_dp_aux_transfer_native: 74 callbacks suppressed
Jul 28 22:35:00 Archibald systemd[2857]: Started D-Bus User Message Bus.
Jul 28 22:35:01 Archibald audit[2852]: CRED_DISP pid=2852 uid=0 auid=1000 ses=17 msg='op=PAM:setcred grantors=pam_securetty,pa>
Jul 28 22:35:01 Archibald login[2852]: pam_unix(login:session): session closed for user terminus
Jul 28 22:35:01 Archibald audit[2852]: USER_END pid=2852 uid=0 auid=1000 ses=17 msg='op=PAM:session_close grantors=pam_loginui>
Jul 28 22:35:01 Archibald systemd[1]: getty@tty1.service: Succeeded.
Jul 28 22:35:01 Archibald audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd>
Jul 28 22:35:01 Archibald systemd[1]: session-17.scope: Succeeded.
Jul 28 22:35:01 Archibald systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 9.
Jul 28 22:35:01 Archibald systemd-logind[372]: Session 17 logged out. Waiting for processes to exit.
Jul 28 22:35:01 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="system>
Jul 28 22:35:01 Archibald audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd>
Jul 28 22:35:01 Archibald systemd[1]: Stopped Getty on tty1.
Jul 28 22:35:01 Archibald systemd[1]: Started Getty on tty1.
Jul 28 22:35:01 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="system>
Jul 28 22:35:01 Archibald systemd-logind[372]: Removed session 17.
Jul 28 22:35:03 Archibald systemd[1]: Stopping User Manager for UID 0...
Jul 28 22:35:03 Archibald systemd[2153]: Stopped target Main User Target.
Jul 28 22:35:03 Archibald systemd[2153]: Stopping Accessibility services bus...
Jul 28 22:35:03 Archibald systemd[2153]: Stopping D-Bus User Message Bus...
Jul 28 22:35:03 Archibald systemd[2153]: dbus.service: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Stopped D-Bus User Message Bus.
Jul 28 22:35:03 Archibald systemd[2153]: at-spi-dbus-bus.service: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Stopped Accessibility services bus.
Jul 28 22:35:03 Archibald systemd[2153]: Stopped target Basic System.
Jul 28 22:35:03 Archibald systemd[2153]: Stopped target Paths.
Jul 28 22:35:03 Archibald systemd[2153]: Stopped target Sockets.
Jul 28 22:35:03 Archibald systemd[2153]: Stopped target Timers.
Jul 28 22:35:03 Archibald systemd[2153]: dbus.socket: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Closed D-Bus User Message Bus Socket.
Jul 28 22:35:03 Archibald systemd[2153]: dirmngr.socket: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Closed GnuPG network certificate management daemon.
Jul 28 22:35:03 Archibald systemd[2153]: gpg-agent-browser.socket: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jul 28 22:35:03 Archibald systemd[2153]: gpg-agent-extra.socket: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jul 28 22:35:03 Archibald systemd[2153]: gpg-agent-ssh.socket: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jul 28 22:35:03 Archibald systemd[2153]: gpg-agent.socket: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Closed GnuPG cryptographic agent and passphrase cache.
Jul 28 22:35:03 Archibald systemd[2153]: p11-kit-server.socket: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Closed p11-kit server.
Jul 28 22:35:03 Archibald systemd[2153]: Reached target Shutdown.
Jul 28 22:35:03 Archibald systemd[2153]: systemd-exit.service: Succeeded.
Jul 28 22:35:03 Archibald systemd[2153]: Finished Exit the Session.
Jul 28 22:35:03 Archibald systemd[2153]: Reached target Exit the Session.
Jul 28 22:35:03 Archibald systemd[2154]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[syste>
Jul 28 22:35:03 Archibald audit[2154]: CRED_DISP pid=2154 uid=0 auid=0 ses=16 msg='op=PAM:setcred grantors=? acct="root" exe=">
Jul 28 22:35:03 Archibald audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" ex>
Jul 28 22:35:03 Archibald systemd[1]: user@0.service: Succeeded.
Jul 28 22:35:03 Archibald systemd[1]: Stopped User Manager for UID 0.
Jul 28 22:35:03 Archibald systemd[1]: Stopping User Runtime Directory /run/user/0...
Jul 28 22:35:03 Archibald systemd[2857]: run-user-0.mount: Succeeded.
Jul 28 22:35:03 Archibald systemd[1]: run-user-0.mount: Succeeded.
Jul 28 22:35:03 Archibald systemd[1]: user-runtime-dir@0.service: Succeeded.
Jul 28 22:35:03 Archibald systemd[1]: Stopped User Runtime Directory /run/user/0.
Jul 28 22:35:03 Archibald audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm=>
Jul 28 22:35:03 Archibald systemd[1]: Removed slice User Slice of UID 0.
Jul 28 22:35:07 Archibald audit[2926]: USER_AUTH pid=2926 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication gran>
Jul 28 22:35:07 Archibald kernel: kauditd_printk_skb: 19 callbacks suppressed
Jul 28 22:35:07 Archibald kernel: audit: type=1100 audit(1595990107.726:255): pid=2926 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:35:07 Archibald audit[2926]: USER_ACCT pid=2926 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors>
Jul 28 22:35:07 Archibald kernel: audit: type=1101 audit(1595990107.743:256): pid=2926 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:35:07 Archibald kernel: audit: type=1103 audit(1595990107.743:257): pid=2926 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:35:07 Archibald kernel: audit: type=1006 audit(1595990107.746:258): pid=2926 uid=0 old-auid=4294967295 auid=0 tty=tt>
Jul 28 22:35:07 Archibald kernel: audit: type=1300 audit(1595990107.746:258): arch=c000003e syscall=1 success=yes exit=1 a0=3 >
Jul 28 22:35:07 Archibald kernel: audit: type=1327 audit(1595990107.746:258): proctitle=2F62696E2F6C6F67696E002D70002D2D002020>
Jul 28 22:35:07 Archibald audit[2926]: CRED_ACQ pid=2926 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam>
Jul 28 22:35:07 Archibald audit[2926]: SYSCALL arch=c000003e syscall=1 success=yes exit=1 a0=3 a1=7fffe6298c00 a2=1 a3=7fffe62>
Jul 28 22:35:07 Archibald audit: PROCTITLE proctitle=2F62696E2F6C6F67696E002D70002D2D0020202020
Jul 28 22:35:07 Archibald login[2926]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Jul 28 22:35:07 Archibald systemd[1]: Created slice User Slice of UID 0.
Jul 28 22:35:07 Archibald systemd[1]: Starting User Runtime Directory /run/user/0...
Jul 28 22:35:07 Archibald systemd-logind[372]: New session 19 of user root.
Jul 28 22:35:07 Archibald systemd[1]: Finished User Runtime Directory /run/user/0.
Jul 28 22:35:07 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm>
Jul 28 22:35:07 Archibald kernel: audit: type=1130 audit(1595990107.756:259): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='>
Jul 28 22:35:07 Archibald systemd[1]: Starting User Manager for UID 0...
Jul 28 22:35:07 Archibald audit[2930]: USER_ACCT pid=2930 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors>
Jul 28 22:35:07 Archibald audit[2930]: CRED_ACQ pid=2930 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? a>
Jul 28 22:35:07 Archibald audit[2930]: SYSCALL arch=c000003e syscall=1 success=yes exit=1 a0=8 a1=7ffd0b27a740 a2=1 a3=7ffd0b2>
Jul 28 22:35:07 Archibald audit: PROCTITLE proctitle="(systemd)"
Jul 28 22:35:07 Archibald systemd[2930]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[syste>
Jul 28 22:35:07 Archibald systemd[2930]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Jul 28 22:35:07 Archibald audit[2930]: USER_START pid=2930 uid=0 auid=0 ses=20 msg='op=PAM:session_open grantors=pam_loginuid,>
Jul 28 22:35:07 Archibald kernel: audit: type=1101 audit(1595990107.763:260): pid=2930 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:35:07 Archibald kernel: audit: type=1103 audit(1595990107.763:261): pid=2930 uid=0 auid=4294967295 ses=4294967295 ms>
Jul 28 22:35:07 Archibald kernel: audit: type=1006 audit(1595990107.763:262): pid=2930 uid=0 old-auid=4294967295 auid=0 tty=(n>
Jul 28 22:35:07 Archibald audit: BPF prog-id=22 op=LOAD
Jul 28 22:35:07 Archibald audit[2930]: SYSCALL arch=c000003e syscall=321 success=yes exit=8 a0=5 a1=7ffe1c7ab630 a2=70 a3=5590>
Jul 28 22:35:07 Archibald audit: PROCTITLE proctitle="(systemd)"
Jul 28 22:35:07 Archibald audit: BPF prog-id=22 op=UNLOAD
Jul 28 22:35:07 Archibald audit: BPF prog-id=23 op=LOAD
Jul 28 22:35:07 Archibald audit[2930]: SYSCALL arch=c000003e syscall=321 success=yes exit=8 a0=5 a1=7ffe1c7ab700 a2=70 a3=5590>
Jul 28 22:35:07 Archibald audit: PROCTITLE proctitle="(systemd)"
Jul 28 22:35:07 Archibald audit: BPF prog-id=23 op=UNLOAD
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Paths.
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Timers.
Jul 28 22:35:07 Archibald systemd[2930]: Starting D-Bus User Message Bus Socket.
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG network certificate management daemon.
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG cryptographic agent and passphrase cache.
Jul 28 22:35:07 Archibald systemd[2930]: Listening on p11-kit server.
Jul 28 22:35:07 Archibald systemd[2930]: Listening on D-Bus User Message Bus Socket.
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Sockets.
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Basic System.
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Main User Target.
Jul 28 22:35:07 Archibald systemd[2930]: Startup finished in 25ms.
Jul 28 22:35:07 Archibald systemd[1]: Started User Manager for UID 0.
Jul 28 22:35:07 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" e>
Jul 28 22:35:07 Archibald systemd[1]: Started Session 19 of user root.
Jul 28 22:35:07 Archibald audit[2926]: USER_START pid=2926 uid=0 auid=0 ses=19 msg='op=PAM:session_open grantors=pam_loginuid,>
Jul 28 22:35:07 Archibald audit[2926]: CRED_REFR pid=2926 uid=0 auid=0 ses=19 msg='op=PAM:setcred grantors=pam_securetty,pam_t>
Jul 28 22:35:07 Archibald login[2926]: ROOT LOGIN ON tty1
Jul 28 22:35:07 Archibald kernel: radeon_dp_aux_transfer_native: 74 callbacks suppressed
Jul 28 22:35:08 Archibald systemd[2930]: Started D-Bus User Message Bus.
Jul 28 22:35:11 Archibald systemd[1]: Stopping User Manager for UID 1000...
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Main User Target.
Jul 28 22:35:11 Archibald systemd[2857]: Stopping D-Bus User Message Bus...
Jul 28 22:35:11 Archibald systemd[2857]: dbus.service: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped D-Bus User Message Bus.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Basic System.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Paths.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Sockets.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Timers.
Jul 28 22:35:07 Archibald audit[2930]: SYSCALL arch=c000003e syscall=321 success=yes exit=8 a0=5 a1=7ffe1c7ab700 a2=70 a3=5590>
Jul 28 22:35:07 Archibald audit: PROCTITLE proctitle="(systemd)"
Jul 28 22:35:07 Archibald audit: BPF prog-id=23 op=UNLOAD
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Paths.
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Timers.
Jul 28 22:35:07 Archibald systemd[2930]: Starting D-Bus User Message Bus Socket.
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG network certificate management daemon.
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jul 28 22:35:07 Archibald systemd[2930]: Listening on GnuPG cryptographic agent and passphrase cache.
Jul 28 22:35:07 Archibald systemd[2930]: Listening on p11-kit server.
Jul 28 22:35:07 Archibald systemd[2930]: Listening on D-Bus User Message Bus Socket.
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Sockets.
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Basic System.
Jul 28 22:35:07 Archibald systemd[2930]: Reached target Main User Target.
Jul 28 22:35:07 Archibald systemd[2930]: Startup finished in 25ms.
Jul 28 22:35:07 Archibald systemd[1]: Started User Manager for UID 0.
Jul 28 22:35:07 Archibald audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" e>
Jul 28 22:35:07 Archibald systemd[1]: Started Session 19 of user root.
Jul 28 22:35:07 Archibald audit[2926]: USER_START pid=2926 uid=0 auid=0 ses=19 msg='op=PAM:session_open grantors=pam_loginuid,>
Jul 28 22:35:07 Archibald audit[2926]: CRED_REFR pid=2926 uid=0 auid=0 ses=19 msg='op=PAM:setcred grantors=pam_securetty,pam_t>
Jul 28 22:35:07 Archibald login[2926]: ROOT LOGIN ON tty1
Jul 28 22:35:07 Archibald kernel: radeon_dp_aux_transfer_native: 74 callbacks suppressed
Jul 28 22:35:08 Archibald systemd[2930]: Started D-Bus User Message Bus.
Jul 28 22:35:11 Archibald systemd[1]: Stopping User Manager for UID 1000...
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Main User Target.
Jul 28 22:35:11 Archibald systemd[2857]: Stopping D-Bus User Message Bus...
Jul 28 22:35:11 Archibald systemd[2857]: dbus.service: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped D-Bus User Message Bus.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Basic System.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Paths.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Sockets.
Jul 28 22:35:11 Archibald systemd[2857]: Stopped target Timers.
Jul 28 22:35:11 Archibald systemd[2857]: dbus.socket: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Closed D-Bus User Message Bus Socket.
Jul 28 22:35:11 Archibald systemd[2857]: dirmngr.socket: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Closed GnuPG network certificate management daemon.
Jul 28 22:35:11 Archibald systemd[2857]: gpg-agent-browser.socket: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jul 28 22:35:11 Archibald systemd[2857]: gpg-agent-extra.socket: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jul 28 22:35:11 Archibald systemd[2857]: gpg-agent-ssh.socket: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jul 28 22:35:11 Archibald systemd[2857]: gpg-agent.socket: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Closed GnuPG cryptographic agent and passphrase cache.
Jul 28 22:35:11 Archibald systemd[2857]: p11-kit-server.socket: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Closed p11-kit server.
Jul 28 22:35:11 Archibald systemd[2857]: Reached target Shutdown.
Jul 28 22:35:11 Archibald systemd[2857]: systemd-exit.service: Succeeded.
Jul 28 22:35:11 Archibald systemd[2857]: Finished Exit the Session.
Jul 28 22:35:11 Archibald systemd[2857]: Reached target Exit the Session.
Jul 28 22:35:11 Archibald systemd[2858]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[syste>
Jul 28 22:35:11 Archibald systemd[1]: user@1000.service: Succeeded.
Jul 28 22:35:11 Archibald audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd">
Jul 28 22:35:11 Archibald systemd[1]: Stopped User Manager for UID 1000.
Jul 28 22:35:11 Archibald systemd[1]: Stopping User Runtime Directory /run/user/1000...
Jul 28 22:35:11 Archibald systemd[2930]: run-user-1000.mount: Succeeded.
Jul 28 22:35:11 Archibald systemd[1]: run-user-1000.mount: Succeeded.
Jul 28 22:35:11 Archibald systemd[1]: user-runtime-dir@1000.service: Succeeded.
Jul 28 22:35:11 Archibald systemd[1]: Stopped User Runtime Directory /run/user/1000.
Jul 28 22:35:11 Archibald audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 co>
Jul 28 22:35:11 Archibald systemd[1]: Removed slice User Slice of UID 1000.
Jul 28 22:35:23 Archibald dbus-daemon[2986]: [session uid=0 pid=2986] Activating via systemd: service name='org.a11y.Bus' unit>
Jul 28 22:35:23 Archibald systemd[2930]: Starting Accessibility services bus...
Jul 28 22:35:23 Archibald dbus-daemon[2986]: [session uid=0 pid=2986] Successfully activated service 'org.a11y.Bus'
Jul 28 22:35:23 Archibald systemd[2930]: Started Accessibility services bus.

Please let me know if other logs are required! Since the issue was still persisting after commenting out the line executing i3-gaps, I have omitted those logs, since that should have eliminated i3-gaps as a potential cause.

Thank you,

Offline

#2 2020-07-29 04:02:33

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: Getting kicked out on login

Why are you running X as root?
And why your .xinitrc has so many newlines?

There is rootless X which can be used instead these days with xorg-xinit or sx...

Is there a specific reason for running X as root?


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2020-07-29 04:44:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Getting kicked out on login

You're backgrounding your WM, so xorg has nothing running in the foreground and exits.

Offline

#4 2020-07-30 01:06:47

TheMohawkNinja
Member
Registered: 2017-07-11
Posts: 47

Re: Getting kicked out on login

Scimmia wrote:

You're backgrounding your WM, so xorg has nothing running in the foreground and exits.

Ay, that fixed it. Thank you!

Offline

Board footer

Powered by FluxBB