You are not logged in.

#1 2018-03-22 19:32:40

bugaboo
Member
Registered: 2016-09-12
Posts: 16

Plasma hangs on logon. Sddm-helper exited with 1

After upgrade, when I enter my password the screen freezes with the exception of mouse movement. Toggling to VT also works. Output of journalctl:

Mar 22 15:10:15 mhaha sddm[892]: Message received from greeter: Connect
Mar 22 15:10:23 mhaha sddm[892]: Message received from greeter: Login
Mar 22 15:10:23 mhaha sddm[892]: Reading from "/usr/share/xsessions/plasma.desktop"
Mar 22 15:10:23 mhaha sddm[892]: Reading from "/usr/share/xsessions/plasma.desktop"
Mar 22 15:10:23 mhaha sddm[892]: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startkde"
Mar 22 15:10:23 mhaha sddm-helper[924]: [PAM] Starting...
Mar 22 15:10:23 mhaha sddm-helper[924]: [PAM] Authenticating...
Mar 22 15:10:23 mhaha sddm-helper[924]: [PAM] Preparing to converse...
Mar 22 15:10:23 mhaha sddm-helper[924]: [PAM] Conversation with 1 messages
Mar 22 15:10:23 mhaha sddm-helper[924]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
Mar 22 15:10:23 mhaha sddm-helper[924]: [PAM] returning.
Mar 22 15:10:23 mhaha sddm[892]: Authenticated successfully
Mar 22 15:10:23 mhaha sddm-helper[924]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Mar 22 15:10:23 mhaha sddm-helper[924]: pam_unix(sddm:session): session opened for user bugaboo by (uid=0)
Mar 22 15:10:23 mhaha sddm-helper[924]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Mar 22 15:10:23 mhaha sddm-helper[924]: pam_kwallet5(sddm:session): pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Mar 22 15:10:23 mhaha sddm-helper[924]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startkde\""
Mar 22 15:10:23 mhaha sddm-helper[924]: pam_unix(sddm:session): session closed for user bugaboo
Mar 22 15:10:23 mhaha sddm[892]: Auth: sddm-helper exited successfully
Mar 22 15:10:23 mhaha sddm-helper[924]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Mar 22 15:10:23 mhaha sddm[892]: Greeter stopped.
Mar 22 15:10:23 mhaha sddm-helper[924]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Mar 22 15:10:23 mhaha sddm[892]: Session started
Mar 22 15:10:23 mhaha sddm-helper[924]: [PAM] Closing session
Mar 22 15:10:23 mhaha sddm-helper[924]: [PAM] Ended.
Mar 22 15:10:23 mhaha sddm[892]: Auth: sddm-helper exited with 1

I tried removing /var/lib/sddm/.cache and I removed everything in my home folder, but it didn't resolve the issue. At the same time I can login under another user without any problem.

UPD:
All I have to do to reproduce freeze is change user's shell to zsh. Creating new user and doing "chsh -s /bin/zsh" results in freezing upon logon attempt.

Last edited by bugaboo (2018-03-23 08:35:09)

Offline

#2 2018-03-23 00:09:45

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: Plasma hangs on logon. Sddm-helper exited with 1

Hi,
I was having the same problem, but journalctl was pointing to kactivitymanagerd. So I just renamed .local/share/kactivitymanagerd/ logged out and in and it worked. Hope this helps.

Offline

#3 2018-03-23 02:10:33

bugaboo
Member
Registered: 2016-09-12
Posts: 16

Re: Plasma hangs on logon. Sddm-helper exited with 1

dicaiopolis wrote:

Hi,
I was having the same problem, but journalctl was pointing to kactivitymanagerd. So I just renamed .local/share/kactivitymanagerd/ logged out and in and it worked. Hope this helps.

As I mentioned I did rm -rf ~/* and it didn't help.

Offline

#4 2018-03-23 04:03:58

bugaboo
Member
Registered: 2016-09-12
Posts: 16

Re: Plasma hangs on logon. Sddm-helper exited with 1

I found that when I change my shell from zsh to bash everything works fine. And if I change it back to zsh it freezes again.
I am speechless.

Offline

#5 2018-03-23 07:25:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Plasma hangs on logon. Sddm-helper exited with 1

~/.zshrc and ~/.zprofile?
But I'll take a limb and say you're using OMZ?

Offline

#6 2018-03-23 08:28:17

bugaboo
Member
Registered: 2016-09-12
Posts: 16

Re: Plasma hangs on logon. Sddm-helper exited with 1

seth wrote:

~/.zshrc and ~/.zprofile?
But I'll take a limb and say you're using OMZ?

I don't use oh-my-zsh if that's what you meant. Also, freeze is there for a separate user, for which zshrc and zprofile were created by default script. As for my main user account I deleted everything in home, including .zshrc and .zprofile and freeze is still there. I also tried reinstalling zsh to no avail.

Offline

#7 2018-03-23 11:28:10

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Plasma hangs on logon. Sddm-helper exited with 1

Something weird in /etc/profile?
Do you change the shell via chsh or by symlinking /bin/sh ?

What's the shebang in /usr/bin/startkde?

Offline

#8 2018-03-26 02:21:25

bugaboo
Member
Registered: 2016-09-12
Posts: 16

Re: Plasma hangs on logon. Sddm-helper exited with 1

seth wrote:

Something weird in /etc/profile?
Do you change the shell via chsh or by symlinking /bin/sh ?

What's the shebang in /usr/bin/startkde?

/etc/profile:

# /etc/profile

# Set our umask
umask 022

# Append our default paths
appendpath () {
    case ":$PATH:" in
        *:"$1":*)
            ;;
        *)
            PATH="${PATH:+$PATH:}$1"
    esac
}

appendpath '/usr/local/sbin'
appendpath '/usr/local/bin'
appendpath '/usr/bin'
unset appendpath

export PATH

# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
        for profile in /etc/profile.d/*.sh; do
                test -r "$profile" && . "$profile"
        done
        unset profile
fi

# Source global bash config
if test "$PS1" && test "$BASH" && test -z ${POSIXLY_CORRECT+x} && test -r /etc/bash.bashrc; then
        . /etc/bash.bashrc
fi

# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP

# Man is much better than us at figuring this out
unset MANPATH

I change via chsh.
The shebang in startkde is #!/bin/sh

Offline

#9 2018-03-26 07:11:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Plasma hangs on logon. Sddm-helper exited with 1

Suspicious things would rather to be found in /etc/profile.d/*
Please look at them yourself first, at least ensure they're not regular scripts shipped by some core repo package.

Offline

Board footer

Powered by FluxBB