Login keeps reseting

I can’t seam to login into my pc the login screen keeps reseting and not leting me in.

It maybe is Pams foult with the new update, but i can’t tell because journalctl is confusing to me.

Welcome to the forum! :slight_smile:

It is quite possible that you’ve been bitten by that.

Try booting up from the USB key or optical disk that you used for installing. Then, open up a terminal and issue the following command… :arrow_down:

su -

Enter the password, and then issue the following command… :arrow_down:

manjaro-chroot -a

Then you can look for any .pacnew files under /etc/pam.d/, and tend to them as needed.

When you’re done, just enter… :arrow_down:

exit
systemctl reboot

:crossed_fingers:

there isn’t .pacnew file or any hiden .files in /etc/pam.d/

What about the obvious then, i.e. …

  • Mistyped the password?
  • Caps Lock and/or Num Lock?
  • Different keyboard layout/model?

when put in a wrong password it tells me its wrong, but when its right the screen goes black for a second then the mouse apears and then its right back at the login screen.

I looked at the journalctl and its giving me errors from sddm, sddm-greeter and sddm-helper
saying
Qoblject: Cannot create childern for a parent that is in difreant thread
and other stuff like virtualkeybord plugin is not isntalt ext.
Could this have samthing to do as to why i cant load in to my system.

That is possible. Are you using apparmor by any chance?

i have never used it. When i type aa-status it says:
apparmor module is loaded.
apparmor filesystem is not mounted.

I can’t check if ts running beacause chroot ignores the “systemctl status apparmor” command

Alright i tryied “systemctl status apparmor" again in the comand line at boot, heres what i got:
Loaded: loaded (/usr/lib/systemd/system/apparmor.service;enabled; vendor preset: disavled)
Active: Inactive (dead)

and aa-status has all zeros in frotn of profiles and processes

If I just copy paste all journalctl errors and ohter things i think might be relevent in here, would that be helpfull figuring out my problem?
I honestlly don’t know what else to do at this point.

1 Like

It might at least shed a bit of light on the situation. :thinking:

Loading file:///usr/share/sddm/themes/breath2/Main.qml...
 sddm-greeter[1042]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is QGuiApplication(0x7ffff0de1530), parent's thread is QThread(0x557ab9462cf0), current thread is QThread(0x557ab959a080)
 sddm-greeter[1042]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is QGuiApplication(0x7ffff0de1530), parent's thread is QThread(0x557ab9462cf0), current thread is QThread(0x557ab959a080)
 sddm-greeter[1042]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is QGuiApplication(0x7ffff0de1530), parent's thread is QThread(0x557ab9462cf0), current thread is QThread(0x557ab959a080)
sddm-greeter[1042]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is QGuiApplication(0x7ffff0de1530), parent's thread is QThread(0x557ab9462cf0), current thread is QThread(0x557ab959a080)
 sddm-greeter[1042]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
ModemManager[754]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:20:01.0/0000:22:00.0': not supported by any plugin
 ModemManager[754]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:20:04.0/0000:25:00.0': not supported by any plugin
dbus-daemon[687]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' requested by ':1.28' (uid=968 pid=1042 comm="/usr/bin/sddm-greeter --socket /tmp/sddm-:0-fCzZsd>
systemd[1]: Starting Disk Manager...
udisksd[1067]: udisks daemon version 2.9.0 starting
dbus-daemon[687]: [system] Successfully activated service 'org.freedesktop.UDisks2'
 systemd[1]: Started Disk Manager.
 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=udisks2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
dbus-daemon[687]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.28' (uid=968 pid=1042 comm="/usr/bin/sddm-greeter --socket /tmp/sddm-:0-fCzZsd" >
audit: BPF prog-id=12 op=LOAD
audit: BPF prog-id=13 op=LOAD
systemd[1]: Starting Daemon for power management...
 dbus-daemon[687]: [system] Successfully activated service 'org.freedesktop.UPower'
systemd[1]: Started Daemon for power management.
audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=upower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 05 16:21:00  sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/Main.qml:408:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>
Sep 05 16:21:00 sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instea>
Sep 05 16:21:00 sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instea>
Sep 05 16:21:00 sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instea>
Sep 05 16:21:00 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/VirtualKeyboard.qml:22:1: Type InputPanel unavailable
Sep 05 16:21:00 sddm-greeter[1042]: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:127:5: Type Keyboard unavailable
Sep 05 16:21:00 sddm-greeter[1042]: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
Sep 05 16:21:00  sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/Login.qml:84:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>
Sep 05 16:21:00  udisksd[1067]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Sep 05 16:21:00  sddm-greeter[1042]: file:///usr/lib/qt/qml/org/kde/plasma/components/Button.qml:52: ReferenceError: PlasmaCore is not defined
Sep 05 16:21:00 sddm-greeter[1042]: Adding view for "HDMI-A-0" QRect(0,0 1920x1080)
Sep 05 16:21:00  sddm-greeter[1042]: QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.29'
Sep 05 16:21:00  sddm-greeter[1042]: Message received from daemon: Capabilities
Sep 05 16:21:00  sddm-greeter[1042]: Message received from daemon: HostName
Sep 05 16:21:01  systemd[1]: systemd-rfkill.service: Succeeded.
Sep 05 16:21:01  audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 05 16:21:02  kernel: logitech-hidpp-device 0003:046D:4016.0005: HID++ 2.0 device connected.
Sep 05 16:21:03 z-ms7b89 upowerd[1082]: treating change event as add on /sys/devices/pci0000:00/0000:00:07.1/0000:29:00.3/usb3/3-1/3-1:1.2/0003:046D:C52B.0003/0003:046D:4016.0005/power_supply/hidpp_battery_0
Sep 05 16:21:04  sddm-greeter[1042]: <input>:406:376: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04  sddm-greeter[1042]: <input>:407:126: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04  sddm-greeter[1042]: <input>:408:126: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04 sddm-greeter[1042]: <input>:408:385: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04 sddm-greeter[1042]: <input>:409:125: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04  sddm-greeter[1042]: <input>:410:124: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04 sddm-greeter[1042]: <input>:411:125: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04 sddm-greeter[1042]: <input>:411:371: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04  sddm-greeter[1042]: <input>:411:619: Could not add child element to parent element because the types are incorrect.
Sep 05 16:21:04  sddm-greeter[1042]: Reading from "/usr/share/xsessions/plasma.desktop"
Sep 05 16:21:04  sddm[788]: Message received from greeter: Login
Sep 05 16:21:04  sddm[788]: Reading from "/usr/share/xsessions/plasma.desktop"
Sep 05 16:21:04  sddm[788]: Reading from "/usr/share/xsessions/plasma.desktop"
Sep 05 16:21:04  sddm[788]: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11"
Sep 05 16:21:04 sddm-helper[1134]: [PAM] Starting...
Sep 05 16:21:04 sddm-helper[1134]: [PAM] Authenticating...
Sep 05 16:21:04  sddm-helper[1134]: [PAM] Preparing to converse...
Sep 05 16:21:04  sddm-helper[1134]: [PAM] Conversation with 1 messages
Sep 05 16:21:04  sddm-helper[1134]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
Sep 05 16:21:04  audit[1134]: USER_AUTH pid=1134 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:authentication grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="" exe="/usr/lib/sddm/sddm-helper" >
Sep 05 16:21:04  sddm-helper[1134]: [PAM] returning.
Sep 05 16:21:04 kernel: kauditd_printk_skb: 11 callbacks suppressed
Sep 05 16:21:04  kernel: audit: type=1100 audit(1599315664.100:68): pid=1134 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:authentication grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="z" exe=>
Sep 05 16:21:04 audit[1134]: USER_ACCT pid=1134 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="z" exe="/usr/lib/sddm/sddm-hel>
Sep 05 16:21:04  sddm[788]: Authenticated successfully
Sep 05 16:21:04 sddm-greeter[1042]: Message received from daemon: LoginSucceeded
Sep 05 16:21:04  sddm-helper[1134]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Sep 05 16:21:04 audit[1134]: CRED_ACQ pid=1134 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="z" exe="/usr/lib/sddm/sddm-helper" hostname>
Sep 05 16:21:04  kernel: audit: type=1101 audit(1599315664.104:69): pid=1134 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="">
Sep 05 16:21:04  kernel: audit: type=1103 audit(1599315664.104:70): pid=1134 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="z" exe="/usr/l>
Sep 05 16:21:04 kernel: audit: type=1006 audit(1599315664.104:71): pid=1134 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=2 res=1
Sep 05 16:21:04  sddm-helper[1134]: pam_unix(sddm:session): session opened for user z by (uid=0)
 systemd[1]: Created slice User Slice of UID 1000.
systemd[1]: Starting User Runtime Directory /run/user/1000.
systemd-logind[695]: New session 2 of user
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/Main.qml:377: TypeError: Cannot read property 'smallSpacing' of null
 sddm-greeter[1042]: file:///usr/lib/qt/qml/org/kde/plasma/workspace/components/BatteryIcon.qml:42: TypeError: Cannot call method 'roundToIconSize' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/Battery.qml:27: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:34: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:36: TypeError: Cannot read property 'largeSpacing' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:37: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:34: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:36: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:37: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:34:  sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:36: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:37: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:34: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:36: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/ActionButton.qml:37: sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/SessionManagementScreen.qml:82: TypeError: Cannot read property 'gridUnit' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/SessionManagementScreen.qml:111: TypeError: Cannot read property 'smallSpacing' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/SessionManagementScreen.qml:97: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/SessionManagementScreen.qml:98: TypeError: Cannot read property 'gridUnit' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/SessionManagementScreen.qml:88: TypeError: Cannot read property 'gridUnit' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/UserList.qml:25: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/UserList.qml:26: TypeError: Cannot read property 'gridUnit' of null
 sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:51: TypeError: Cannot read property 'iconSizes' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:114: TypeError: Cannot read property 'iconSizes' of null
audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
 sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:49: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:51: TypeError: Cannot read property 'iconSizes' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:114: TypeError: Cannot read property 'iconSizes' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:49: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:51: TypeError: Cannot read property 'iconSizes' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:114: TypeError: Cannot read property 'iconSizes' of null
 sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:49: TypeError: Cannot read property 'smallSpacing' of null
 sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ButtonStyle.qml:96: TypeError: Cannot read property 'iconSizes' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ButtonStyle.qml:41: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:90: TypeError: Cannot read property 'iconSizes' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:90: TypeError: Cannot read property 'iconSizes' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/UserDelegate.qml:39: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/UserDelegate.qml:70: TypeError: Cannot read property 'gridUnit' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/components/UserDelegate.qml:45: TypeError: Cannot read property 'longDuration' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/private/TextFieldFocus.qml:93: TypeError: Cannot read property 'longDuration' of null
sddm-greeter[1042]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/private/ButtonShadow.qml:130: TypeError: Cannot read property 'longDuration' of null
 sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/Main.qml:226: TypeError: Cannot read property 'longDuration' of null
sddm-greeter[1042]: file:///usr/share/sddm/themes/breath2/Main.qml:382: TypeError: Cannot read property 'longDuration' of null
systemd[1]: Finished User Runtime Directory /run/user/1000.
systemd[1]: Starting User Manager for UID 1000...

Loading file:///usr/share/sddm/themes/breath2/Main.qml.. 
sddm-greeter[1042]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is QGuiApplication(0x7ffff0de1530), parent's thread is QThread(0x557ab9462cf0), current thread is QThread(0x557ab959a080)
 sddm-greeter[1042]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is QGuiApplication(0x7ffff0de1530), parent's thread is QThread(0x557ab9462cf0), current thread is QThread(0x557ab959a080)
 sddm-greeter[1042]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is QGuiApplication(0x7ffff0de1530), parent's thread is QThread(0x557ab9462cf0), current thread is QThread(0x557ab959a080)
 sddm-greeter[1042]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is QGuiApplication(0x7ffff0de1530), parent's thread is QThread(0x557ab9462cf0), current thread is QThread(0x557ab959a080)
sddm-greeter[1042]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.

I’ve edited your post to make it more readable. When inserting terminal output, then please use the </> button in the editor toolbar to format your post. It really makes a difference. :slight_smile:

1 Like

I went looking for pacnew files and i think they might be somthing importat
/etc/shadow.pacnew
/etc/fonts/fonts.conf.pacnew
/etc/security/limits.d/10-gcr.conf.pacnew

Delete /etc/shadow.pacnew - if you overwrite your existing /etc/shadow all your accounts passwords and related information will be lost.

1 Like

Nop that didn’t fix it, still getting black screen when trying to log in

I probably should have mentioned that i used time shift to se if the bug was still there.
It is.

shadow.service: Failed with result 'exit-code'

That suggests that there’s a problem with logind, and thus with systemd.

I don’t know whether it’ll make a difference, but it could be related to systemd-homed, which is new, and which I’ve masked on my system.

sudo systemctl disable --now systemd-homed.service
sudo systemctl mask systemd-homed.service
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Created symlink /etc/systemd/system/systemd-homed.service -> /dev/null.

this is what i got