You are not logged in.

#1 2025-01-08 13:31:34

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

[Solved] Fresh Arch install with existing Home not starting greeter

After booting I don't get a greeter, only a black screen.
Though I can switch to a different session via ctrl + alt + F# where I get a greeter, but login doesn't work. Screen goes black and for a few seconds then returns to login screen.
To get into GUI I login into tty and a run "startplasma-wayland" which starts KDE without any issues.

I have looked throught the journal logs but not found any error that could be connected to the greeter or login. Hoping anyone here can tell me something...

Journal boot log

Last edited by Zaphod42 (2025-01-08 21:59:53)

Offline

#2 2025-01-08 15:47:00

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,219

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Please post the *full* journal log from the last boot. There's a whole lot missing from the start. Run journalctl -b as root.

Edit: also, I recommend clicking the report link at the bottom and ask a moderator to move the post to Newbie Corner

Last edited by twelveeighty (2025-01-08 15:48:48)

Offline

#3 2025-01-08 15:55:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,901

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Moving to NC as noted above

Online

#4 2025-01-08 16:00:16

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Offline

#5 2025-01-08 16:19:18

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [Solved] Fresh Arch install with existing Home not starting greeter

That's still not a complete journal, bu oh, well…

This is weird:

Jan 08 16:54:35 heartofgold sddm-greeter-qt6[1167]: Loading file:///usr/share/sddm/themes/breeze/Main.qml...
Jan 08 16:54:35 heartofgold sddm-greeter-qt6[1167]: The theme "Arch" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.

You seem to load the breeze theme but then sddm complains about some Arch theme?

Jan 08 16:54:05 heartofgold sddm[801]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Jan 08 16:54:05 heartofgold sddm[801]: Display server started.
Jan 08 16:54:05 heartofgold sddm[801]: Reading from "/usr/local/share/wayland-sessions/plasma.desktop"
Jan 08 16:54:05 heartofgold sddm[801]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
Jan 08 16:54:05 heartofgold sddm[801]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1
Jan 08 16:54:05 heartofgold sddm-helper[882]: [PAM] Starting...
Jan 08 16:54:05 heartofgold sddm-helper[882]: [PAM] Authenticating...
Jan 08 16:54:05 heartofgold sddm-helper[882]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: pam_sm_authenticate
Jan 08 16:54:05 heartofgold sddm-helper[882]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: Couldn't get password (it is empty)
Jan 08 16:54:05 heartofgold sddm-helper[882]: [PAM] Preparing to converse...
Jan 08 16:54:05 heartofgold sddm-helper[882]: [PAM] Conversation with 1 messages
Jan 08 16:54:05 heartofgold sddm-helper[882]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: Empty or missing password, doing nothing
Jan 08 16:54:05 heartofgold sddm-helper[882]: [PAM] returning.
Jan 08 16:54:05 heartofgold sddm[801]: Authentication for user  "zaphod"  successful
Jan 08 16:54:05 heartofgold sddm-helper[882]: pam_kwallet5(sddm-autologin:setcred): pam_kwallet5: pam_sm_setcred
Jan 08 16:54:05 heartofgold sddm-helper[882]: pam_unix(sddm-autologin:session): session opened for user zaphod(uid=1000) by zaphod(uid=0)
Jan 08 16:54:05 heartofgold systemd-logind[745]: New session 2 of user zaphod.
Jan 08 16:54:05 heartofgold systemd[1]: Started Session 2 of User zaphod.

You're using SDDM autologin? What if you disable that?

Jan 08 16:54:05 heartofgold sddm-helper[882]: pam_kwallet5(sddm-autologin:session): pam_kwallet5: pam_sm_open_session
Jan 08 16:54:05 heartofgold sddm-helper[882]: pam_kwallet5(sddm-autologin:session): pam_kwallet5: open_session called without kwallet5_key

You also have some pam module to unlock kwallet? Which will require you  to issue a password? What doesn't happen on autologins?

Offline

#6 2025-01-08 16:45:07

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

You seem to load the breeze theme but then sddm complains about some Arch theme?

I had a theme called Arch installed but not selected, deleted all of them now.

I don't know about that wallet, I have the kwallet subsystem disabled; kwalletmanager isn't installed - I installed it just now to see if it displays any wallets but nothing; disabled kwallet again and uninstalled kwalletmanager

Turning autologin off displays the greeter at startup, but logging in still doesn't start a Plasma Wayland session.

Offline

#7 2025-01-08 16:59:53

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [Solved] Fresh Arch install with existing Home not starting greeter

https://wiki.archlinux.org/title/KDE_Wa … figure_PAM

pacman -Qikk pam pambase sddm

And please post the journal of the failed interactive login.

Offline

#8 2025-01-08 17:27:15

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

I checked the wiki and uncommented the two lines mentioned in my sddm config
Here is the output of the command:

pacman -Qikk pam pambase sddm
Name            : pam
Version         : 1.7.0-1
Description     : PAM (Pluggable Authentication Modules) library
Architecture    : x86_64
URL             : http://linux-pam.org
Licenses        : GPL-2.0-only
Groups          : None
Provides        : libpam.so=0-64  libpamc.so=0-64  libpam_misc.so=0-64
Depends On      : audit  glibc  libaudit.so=1-64  libcrypt.so=2-64  libnsl  libtirpc  libxcrypt  pambase  systemd-libs
Optional Deps   : None
Required By     : cifs-utils  freerdp2  kbd  kscreenlocker  kwallet-pam  lib32-pam  libcap  openssh  polkit  sddm  shadow  sudo  systemd  util-linux
Optional For    : openvpn
Conflicts With  : None
Replaces        : None
Installed Size  : 3.34 MiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Mon 18 Nov 2024 12:58:13 PM CET
Install Date    : Mon 16 Dec 2024 08:58:58 PM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

pam: 605 total files, 0 altered files
Name            : pambase
Version         : 20230918-2
Description     : Base PAM configuration for services
Architecture    : any
URL             : https://www.archlinux.org
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : pam
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 2.68 KiB
Packager        : David Runge <dvzrv@archlinux.org>
Build Date      : Thu 15 Aug 2024 10:00:08 AM CEST
Install Date    : Mon 16 Dec 2024 08:58:58 PM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

pambase: 8 total files, 0 altered files
Name            : sddm
Version         : 0.21.0-5
Description     : QML based X11 and Wayland display manager
Architecture    : x86_64
URL             : https://github.com/sddm/sddm
Licenses        : GPL-2.0-only
Groups          : None
Provides        : display-manager
Depends On      : bash  gcc-libs  glibc  libxau  libxcb  pam  qt6-base  qt6-declarative  systemd-libs  ttf-font  xorg-server  xorg-xauth
Optional Deps   : qt5-declarative: for using Qt5 themes [installed]
Required By     : sddm-kcm
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 5.27 MiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Sat 04 Jan 2025 04:38:51 PM CET
Install Date    : Mon 06 Jan 2025 10:48:47 PM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

backup file: sddm: /etc/pam.d/sddm (Modification time mismatch)
backup file: sddm: /etc/pam.d/sddm (Size mismatch)
backup file: sddm: /etc/pam.d/sddm (SHA256 checksum mismatch)
sddm: 251 total files, 0 altered files

And here is log of the failed login

Jan 08 18:17:10 heartofgold sddm-greeter-qt6[857]: file:///usr/share/sddm/themes/breeze/Main.qml:230:17 Parameter "username" is not declared. Injection of parameters into signal handlers is de
precated. Use JavaScript functions with formal parameters instead.
Jan 08 18:17:10 heartofgold sddm-greeter-qt6[857]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
Jan 08 18:17:10 heartofgold sddm[765]: Message received from greeter: Login
Jan 08 18:17:10 heartofgold sddm[765]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
Jan 08 18:17:10 heartofgold sddm[765]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1
Jan 08 18:17:10 heartofgold sddm-helper[943]: [PAM] Starting...
Jan 08 18:17:10 heartofgold sddm-helper[943]: [PAM] Authenticating...
Jan 08 18:17:10 heartofgold sddm-helper[943]: [PAM] Preparing to converse...
Jan 08 18:17:10 heartofgold sddm-helper[943]: [PAM] Conversation with 1 messages
Jan 08 18:17:10 heartofgold sddm-helper[943]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Jan 08 18:17:10 heartofgold sddm-helper[943]: [PAM] returning.
Jan 08 18:17:10 heartofgold sddm[765]: Authentication for user  "zaphod"  successful
Jan 08 18:17:10 heartofgold sddm-greeter-qt6[857]: Message received from daemon: LoginSucceeded
Jan 08 18:17:10 heartofgold sddm-helper[943]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jan 08 18:17:10 heartofgold sddm-helper[943]: pam_unix(sddm:session): session opened for user zaphod(uid=1000) by zaphod(uid=0)
Jan 08 18:17:10 heartofgold systemd-logind[707]: New session 3 of user zaphod.
Jan 08 18:17:10 heartofgold systemd[1]: Started Session 3 of User zaphod.
Jan 08 18:17:10 heartofgold sddm-helper[943]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Jan 08 18:17:10 heartofgold sddm-helper[844]: [PAM] Closing session
Jan 08 18:17:10 heartofgold sddm-helper[844]: pam_unix(sddm-greeter:session): session closed for user sddm
Jan 08 18:17:10 heartofgold sddm-helper[844]: [PAM] Ended.
Jan 08 18:17:10 heartofgold sddm[765]: Auth: sddm-helper exited successfully
Jan 08 18:17:10 heartofgold sddm[765]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Jan 08 18:17:10 heartofgold systemd[1]: session-c1.scope: Deactivated successfully.
Jan 08 18:17:10 heartofgold systemd[1]: session-c1.scope: Consumed 451ms CPU time, 245.7M memory peak.
Jan 08 18:17:10 heartofgold systemd-logind[707]: Session c1 logged out. Waiting for processes to exit.
Jan 08 18:17:10 heartofgold systemd-logind[707]: Removed session c1.
Jan 08 18:17:10 heartofgold sddm-helper[965]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Jan 08 18:17:10 heartofgold sddm-helper[943]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Jan 08 18:17:10 heartofgold sddm-helper[967]: Jumping to VT 1
Jan 08 18:17:10 heartofgold sddm-helper[967]: VT mode didn't need to be fixed
Jan 08 18:17:10 heartofgold sddm[765]: Session started true
Jan 08 18:17:10 heartofgold kernel: usb 1-3: 3:1: cannot get freq at ep 0x84
Jan 08 18:17:10 heartofgold kernel: usb 1-3: 3:1: cannot get freq at ep 0x84
Jan 08 18:17:11 heartofgold wpa_supplicant[761]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-85 noise=9999 txrate=58500
Jan 08 18:17:11 heartofgold wireplumber[779]: default: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Jan 08 18:17:11 heartofgold kernel: Bluetooth: hci0: Device setup in 20431306 usecs
Jan 08 18:17:11 heartofgold kernel: Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
Jan 08 18:17:12 heartofgold bluetoothd[706]: Battery Provider Manager created
Jan 08 18:17:12 heartofgold kernel: Bluetooth: hci0: AOSP extensions version v1.00
Jan 08 18:17:12 heartofgold kernel: Bluetooth: hci0: AOSP quality report is supported
Jan 08 18:17:12 heartofgold kernel: Bluetooth: MGMT ver 1.23
Jan 08 18:17:12 heartofgold kernel: NET: Registered PF_ALG protocol family
Jan 08 18:17:12 heartofgold kernel: Bluetooth: RFCOMM TTY layer initialized
Jan 08 18:17:12 heartofgold kernel: Bluetooth: RFCOMM socket layer initialized
Jan 08 18:17:12 heartofgold kernel: Bluetooth: RFCOMM ver 1.11
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/ldac
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSink/aptx_hd
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/aptx_hd
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSink/aptx
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/aptx
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSink/aac
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/aac
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSink/opus_g
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/opus_g
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/faststream
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/faststream_duplex
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSink/opus_05
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/opus_05
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Jan 08 18:17:12 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Jan 08 18:17:13 heartofgold systemd[766]: Starting sandboxed app permission store...
Jan 08 18:17:13 heartofgold systemd[766]: Started sandboxed app permission store.
Jan 08 18:17:14 heartofgold wpa_supplicant[761]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-82 noise=9999 txrate=58500
Jan 08 18:17:17 heartofgold wpa_supplicant[761]: wlan0: SME: Trying to authenticate with 38:10:d5:40:4c:01 (SSID='abc-Router' freq=2437 MHz)
Jan 08 18:17:17 heartofgold kernel: wlan0: disconnect from AP 38:10:d5:40:4c:02 for new auth to 38:10:d5:40:4c:01
Jan 08 18:17:17 heartofgold sddm-helper[943]: [PAM] Closing session
Jan 08 18:17:17 heartofgold sddm-helper[943]: pam_unix(sddm:session): session closed for user zaphod
Jan 08 18:17:17 heartofgold sddm-helper[943]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Jan 08 18:17:17 heartofgold sddm-helper[943]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jan 08 18:17:17 heartofgold sddm-helper[943]: [PAM] Ended.
Jan 08 18:17:17 heartofgold sddm[765]: Auth: sddm-helper exited with 64
Jan 08 18:17:17 heartofgold sddm[765]: Socket server stopping...
Jan 08 18:17:17 heartofgold sddm[765]: Socket server stopped.
Jan 08 18:17:17 heartofgold sddm[765]: Display server stopping...
Jan 08 18:17:17 heartofgold systemd-logind[707]: Session 3 logged out. Waiting for processes to exit.
Jan 08 18:17:17 heartofgold sddm[765]: Display server stopped.
Jan 08 18:17:17 heartofgold sddm[765]: Running display stop script  QList("/usr/share/sddm/scripts/Xstop")
Jan 08 18:17:17 heartofgold kernel: wlan0: authenticate with 38:10:d5:40:4c:01 (local address=78:46:5c:91:9e:0b)
Jan 08 18:17:17 heartofgold NetworkManager[705]: <info>  [1736356637.5547] device (wlan0): supplicant interface state: completed -> authenticating
Jan 08 18:17:17 heartofgold NetworkManager[705]: <info>  [1736356637.5547] device (p2p-dev-wlan0): supplicant management interface state: completed -> authenticating
Jan 08 18:17:17 heartofgold kernel: wlan0: send auth to 38:10:d5:40:4c:01 (try 1/3)
Jan 08 18:17:17 heartofgold sddm[765]: Removing display SDDM::Display(0x55b8f22cdef0) ...
Jan 08 18:17:17 heartofgold sddm[765]: Adding new display...
Jan 08 18:17:17 heartofgold sddm[765]: Loaded empty theme configuration
Jan 08 18:17:17 heartofgold sddm[765]: Xauthority path: "/run/sddm/xauth_nhffPf"
Jan 08 18:17:17 heartofgold sddm[765]: Using VT 2
Jan 08 18:17:17 heartofgold sddm[765]: Display server starting...
Jan 08 18:17:17 heartofgold sddm[765]: Writing cookie to "/run/sddm/xauth_nhffPf"
Jan 08 18:17:17 heartofgold sddm[765]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_nhffPf -noreset -displayfd 18
Jan 08 18:17:17 heartofgold wpa_supplicant[761]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jan 08 18:17:17 heartofgold kernel: xhci_hcd 0000:16:00.0: xHC error in resume, USBSTS 0x401, Reinit

Offline

#9 2025-01-08 17:56:35

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Post /etc/pam.d/sddm
Can you log into plasma/X11?

Jan 08 18:17:10 heartofgold kernel: usb 1-3: 3:1: cannot get freq at ep 0x84
Jan 08 18:17:10 heartofgold kernel: usb 1-3: 3:1: cannot get freq at ep 0x84

What is that device?

Offline

#10 2025-01-08 18:10:30

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

That device would be my motherboard's wifi-card (M.2 I believe). Works fine though

sddm:

#%PAM-1.0

auth        include     system-login
-auth       optional    pam_gnome_keyring.so
auth       optional    pam_kwallet5.so

account     include     system-login

password    include     system-login
-password   optional    pam_gnome_keyring.so    use_authtok

session     optional    pam_keyinit.so          force revoke
session     include     system-login
-session    optional    pam_gnome_keyring.so    auto_start
session    optional    pam_kwallet5.so         auto_start

If I login into an X11 session I get a blackscreen with my mouse cursor still visible, stays like that indefinitely

Jan 08 19:01:22 heartofgold sddm-greeter-qt6[1056]: Reading from "/usr/share/xsessions/plasmax11.desktop"
Jan 08 19:01:22 heartofgold sddm[765]: Message received from greeter: Login
Jan 08 19:01:22 heartofgold sddm[765]: Reading from "/usr/share/xsessions/plasmax11.desktop"
Jan 08 19:01:22 heartofgold sddm[765]: Session "/usr/share/xsessions/plasmax11.desktop" selected, command: "/usr/bin/startplasma-x11" for VT 2
Jan 08 19:01:22 heartofgold sddm-helper[22994]: [PAM] Starting...
Jan 08 19:01:22 heartofgold sddm-helper[22994]: [PAM] Authenticating...
Jan 08 19:01:22 heartofgold sddm-helper[22994]: [PAM] Preparing to converse...
Jan 08 19:01:22 heartofgold sddm-helper[22994]: [PAM] Conversation with 1 messages
Jan 08 19:01:22 heartofgold sddm-helper[22994]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Jan 08 19:01:22 heartofgold sddm-helper[22994]: [PAM] returning.
Jan 08 19:01:22 heartofgold sddm[765]: Authentication for user  "zaphod"  successful
Jan 08 19:01:22 heartofgold sddm-helper[22994]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jan 08 19:01:22 heartofgold sddm-greeter-qt6[1056]: Message received from daemon: LoginSucceeded
Jan 08 19:01:22 heartofgold sddm-helper[22994]: pam_unix(sddm:session): session opened for user zaphod(uid=1000) by zaphod(uid=0)
Jan 08 19:01:22 heartofgold systemd-logind[707]: New session 5 of user zaphod.
Jan 08 19:01:22 heartofgold systemd[1]: Started Session 5 of User zaphod.
Jan 08 19:01:22 heartofgold sddm-helper[22994]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Jan 08 19:01:22 heartofgold sddm-helper[1055]: [PAM] Closing session
Jan 08 19:01:22 heartofgold sddm-helper[1055]: pam_unix(sddm-greeter:session): session closed for user sddm
Jan 08 19:01:22 heartofgold sddm-helper[1055]: [PAM] Ended.
Jan 08 19:01:22 heartofgold sddm[765]: Auth: sddm-helper exited successfully
Jan 08 19:01:22 heartofgold systemd-logind[707]: Session c2 logged out. Waiting for processes to exit.
Jan 08 19:01:22 heartofgold sddm[765]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Jan 08 19:01:22 heartofgold systemd[1]: session-c2.scope: Deactivated successfully.
Jan 08 19:01:22 heartofgold systemd[1]: session-c2.scope: Consumed 663ms CPU time, 186.1M memory peak.
Jan 08 19:01:22 heartofgold systemd-logind[707]: Removed session c2.
Jan 08 19:01:22 heartofgold sddm-helper[23001]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Jan 08 19:01:22 heartofgold sddm-helper[22994]: Writing cookie to "/tmp/xauth_NGIwYT"
Jan 08 19:01:22 heartofgold sddm-helper[22994]: Starting X11 session: "" "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
Jan 08 19:01:22 heartofgold sddm[765]: Session started true
Jan 08 19:01:25 heartofgold wireplumber[779]: spa.bluez5.midi: org.bluez.GattManager1.RegisterApplication() failed: GDBus.Error:org.bluez.Error.AlreadyExists: Already Exists
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/ldac
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSink/aptx_hd
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/aptx_hd
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSink/aptx
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/aptx
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSink/aac
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/aac
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSink/opus_g
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/opus_g
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/faststream
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/faststream_duplex
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSink/opus_05
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/opus_05
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Jan 08 19:01:25 heartofgold bluetoothd[706]: Endpoint registered: sender=:1.167 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Jan 08 19:01:26 heartofgold systemd[766]: Starting sandboxed app permission store...
Jan 08 19:01:26 heartofgold systemd[766]: Started sandboxed app permission store.
Jan 08 19:01:32 heartofgold systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Jan 08 19:01:32 heartofgold systemd[1]: Stopping User Manager for UID 970...
Jan 08 19:01:32 heartofgold systemd[847]: Activating special unit Exit the Session...
Jan 08 19:01:32 heartofgold systemd[847]: Stopped target Bluetooth.
Jan 08 19:01:32 heartofgold systemd[847]: Stopped target Main User Target.
Jan 08 19:01:32 heartofgold systemd[847]: Stopped target Basic System.
Jan 08 19:01:32 heartofgold systemd[847]: Stopped target Paths.
Jan 08 19:01:32 heartofgold systemd[847]: Stopped Submitting pending crash events (file monitor).
Jan 08 19:01:32 heartofgold systemd[847]: Stopped target Sockets.
Jan 08 19:01:32 heartofgold systemd[847]: Stopped target Sound Card.
Jan 08 19:01:32 heartofgold systemd[847]: Stopped target Timers.
Jan 08 19:01:32 heartofgold systemd[847]: Closed GnuPG network certificate management daemon.
Jan 08 19:01:32 heartofgold systemd[847]: Closed Socket to launch DrKonqi for a systemd-coredump crash.
Jan 08 19:01:32 heartofgold systemd[847]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jan 08 19:01:32 heartofgold systemd[847]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jan 08 19:01:32 heartofgold systemd[847]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jan 08 19:01:32 heartofgold systemd[847]: Closed GnuPG cryptographic agent and passphrase cache.
Jan 08 19:01:32 heartofgold systemd[847]: Closed GnuPG public key management service.
Jan 08 19:01:32 heartofgold systemd[847]: Closed p11-kit server.
Jan 08 19:01:32 heartofgold systemd[847]: Closed PipeWire PulseAudio.
Jan 08 19:01:32 heartofgold systemd[847]: Closed PipeWire Multimedia System Sockets.
Jan 08 19:01:32 heartofgold dbus-broker[862]: Dispatched 347 messages @ 1(±2)μs / message.
Jan 08 19:01:32 heartofgold systemd[847]: Stopping D-Bus User Message Bus...
Jan 08 19:01:32 heartofgold systemd[847]: Stopped D-Bus User Message Bus.
Jan 08 19:01:32 heartofgold systemd[847]: Removed slice User Core Session Slice.
Jan 08 19:01:32 heartofgold systemd[847]: Closed D-Bus User Message Bus Socket.
Jan 08 19:01:32 heartofgold systemd[847]: Removed slice User Application Slice.
Jan 08 19:01:32 heartofgold systemd[847]: Reached target Shutdown.
Jan 08 19:01:32 heartofgold systemd[847]: Finished Exit the Session.
Jan 08 19:01:32 heartofgold systemd[847]: Reached target Exit the Session.
Jan 08 19:01:32 heartofgold (sd-pam)[849]: pam_unix(systemd-user:session): session closed for user sddm
Jan 08 19:01:32 heartofgold systemd[1]: user@970.service: Deactivated successfully.
Jan 08 19:01:32 heartofgold systemd[1]: Stopped User Manager for UID 970.
Jan 08 19:01:32 heartofgold systemd[1]: Stopping User Runtime Directory /run/user/970...
Jan 08 19:01:32 heartofgold systemd[1]: run-user-970.mount: Deactivated successfully.
Jan 08 19:01:32 heartofgold systemd[1]: user-runtime-dir@970.service: Deactivated successfully.
Jan 08 19:01:32 heartofgold systemd[1]: Stopped User Runtime Directory /run/user/970.
Jan 08 19:01:32 heartofgold systemd[1]: Removed slice User Slice of UID 970.
Jan 08 19:01:32 heartofgold systemd[1]: user-970.slice: Consumed 1.224s CPU time, 265.8M memory peak.
Jan 08 19:01:32 heartofgold systemd-logind[707]: Removed session 2.

Offline

#11 2025-01-08 20:16:49

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,219

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Since you mention "on existing /home" in your title, can you try creating a new (test) user and logging in as that new user?

Offline

#12 2025-01-08 20:46:34

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

It does indeed work with a new user.

Offline

#13 2025-01-08 20:52:07

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [Solved] Fresh Arch install with existing Home not starting greeter

https://wiki.archlinux.org/title/KDE#Un … lution_set but there's no indication of KDE starting at all in your previous journal.

Possibly something in your shell rc (~/.bash*, ~/.zsh*)?

Edit: oh and when logging in on the console you actually end up in your $HOME, can see and write files there?

Last edited by seth (2025-01-08 20:52:56)

Offline

#14 2025-01-08 21:33:38

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

So I did some testing, seems to be an issue with zsh for some reason. I have added the default .zshrc and added "exec zsh" to the top of (default) .bashrc in the new user. Login via greeter does not work. If I remove "exec zsh" it does work.
Very weird, since zsh works perfectly fine when logging in to tty. (I do end up in my home)

Offline

#15 2025-01-08 21:44:09

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Aha! The default shell was set to bash, after switching it to zsh login via greeter now works!
Thanks everyone!

Offline

#16 2025-01-08 21:55:54

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [Solved] Fresh Arch install with existing Home not starting greeter

By default shell you mean your login shell or /bin/sh?
Why would an (unconfigured) bash cause problems?

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

#17 2025-01-08 21:59:25

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

The login shell, I ran chsh -s /usr/bin/zsh to fix it.
I wish I knew why it did cause issues when logging in via the greeter...

Offline

#18 2025-01-08 22:19:46

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Anything special in the ~/.bash* of your main user?

Offline

#19 2025-01-10 13:34:36

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Nope. I did try to comment out a few things, but onlyt when I removed exec zsh did it start working.
Seems like a bug potentially?

#
# ~/.bashrc
#

# If not running interactively, don't do anything
exec zsh

[[ $- != *i* ]] && return

alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '

# Added by LM Studio CLI (lms)
export PATH="$PATH:/home/zaphod/.cache/lm-studio/bin"
export QT_QPA_PLATFORM=wayland

Offline

#20 2025-01-10 14:24:55

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [Solved] Fresh Arch install with existing Home not starting greeter

"exec zsh" in your bashrc isn't a good idea anyway since whatever that bashrc is executing is replaced by a standard zsh
Does this mean that this was there before for your main user?

Offline

#21 2025-01-10 14:25:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,901

Re: [Solved] Fresh Arch install with existing Home not starting greeter

absolutely normal behaviour. an exec will replace the running process (i.e. your login shell parsing that as well as many other filea) with the process you're execing which will be a random zsh instance that doesn't parse the rest of the stuff.

that exec zsh line has no business being there

FFFF5

Last edited by V1del (2025-01-10 14:25:47)

Online

#22 2025-01-10 14:38:18

Zaphod42
Member
Registered: 2024-12-16
Posts: 13

Re: [Solved] Fresh Arch install with existing Home not starting greeter

Interesting. Good to know. I don't even remember where that comes from...

Offline

Board footer

Powered by FluxBB