Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SDDM alway crashes at login
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Thu Dec 01, 2016 7:12 am    Post subject: SDDM alway crashes at login Reply with quote

Hello

I am having a strange problem: when I try to log in with my user account in sddm, the system freezes. This never happens though with another user account on my PC. No error mesages, no indication in the log...I hope, somebody can advise.
Here is the log from a failed start:
Code:
less /var/log/sddm.log
[08:53:28.994] (II) DAEMON: Initializing...
[08:53:28.996] (II) DAEMON: Starting...
[08:53:28.997] (II) DAEMON: Adding new display on vt 7 ...
[08:53:28.998] (II) DAEMON: Display server starting...
[08:53:28.998] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{9fda3664-0d39-4105-a4a0-c69fbacd382a} -background none -noreset -displayfd 18 vt7
[08:53:29.159] (II) DAEMON: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
[08:53:29.160] (II) DAEMON: Display server started.
[08:53:29.160] (II) DAEMON: Socket server starting...
[08:53:29.160] (II) DAEMON: Socket server started.
[08:53:29.161] (II) DAEMON: Greeter starting...
[08:53:29.161] (II) DAEMON: Adding cookie to "/var/run/sddm/{9fda3664-0d39-4105-a4a0-c69fbacd382a}"
[08:53:29.167] (II) HELPER: [PAM] Starting...
[08:53:29.167] (II) HELPER: [PAM] Authenticating...
[08:53:29.167] (II) HELPER: [PAM] returning.
[08:53:29.204] (II) DAEMON: Greeter session started successfully
[08:53:29.292] (II) DAEMON: Message received from greeter: Connect
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
The ^@ signs are part of the log, I just cut many off now.
Here is what it looks like for the other account that works flawlessly:
Code:
[08:54:04.993] (II) DAEMON: Starting...
[08:54:04.993] (II) DAEMON: Adding new display on vt 7 ...
[08:54:04.994] (II) DAEMON: Display server starting...
[08:54:04.994] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{677bc54b-7459-4868-a2ae-1f6356daddce} -background none -noreset -displayfd 18 vt7
[08:54:05.124] (II) DAEMON: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
[08:54:05.125] (II) DAEMON: Display server started.
[08:54:05.125] (II) DAEMON: Socket server starting...
[08:54:05.125] (II) DAEMON: Socket server started.
[08:54:05.126] (II) DAEMON: Greeter starting...
[08:54:05.126] (II) DAEMON: Adding cookie to "/var/run/sddm/{677bc54b-7459-4868-a2ae-1f6356daddce}"
[08:54:05.132] (II) HELPER: [PAM] Starting...
[08:54:05.132] (II) HELPER: [PAM] Authenticating...
[08:54:05.132] (II) HELPER: [PAM] returning.
[08:54:05.143] (II) DAEMON: Greeter session started successfully
[08:54:05.192] (II) DAEMON: Message received from greeter: Connect
[08:54:09.084] (II) DAEMON: Message received from greeter: Login
[08:54:09.084] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[08:54:09.084] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startkde"
[08:54:09.096] (II) HELPER: [PAM] Starting...
[08:54:09.096] (II) HELPER: [PAM] Authenticating...
[08:54:09.096] (II) HELPER: [PAM] returning.
[08:54:09.097] (II) DAEMON: Authenticated successfully
[08:54:09.106] (II) HELPER: Starting: "/usr/share/sddm/scripts/Xsession" "/usr/bin/startkde"
[08:54:09.106] (II) HELPER: Adding cookie to "/home/user2/.Xauthority"
[08:54:09.110] (II) DAEMON: Session started
[08:54:09.145] (II) HELPER: [PAM] Ended.
[08:54:09.146] (II) DAEMON: Auth: sddm-helper exited successfully
[08:54:09.146] (II) DAEMON: Greeter stopped.

Both users are members of the audio groups as recommended by the wiki.

Any ideas? The current workaround is to login as the other user (user2) and to switch over to my account afterwards. This way I am not having any problems, but it is not really the way it should be.

Lokesh
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
RAPHEAD
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2003
Posts: 134
Location: Germany

PostPosted: Thu Dec 01, 2016 8:00 am    Post subject: Reply with quote

Probably some lib inconsistency -- try a
Code:
revdep-rebuild
and see what it yields.
Also have you all the installed QT packages from the same version series and have you selected your GPU deliberately?
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Fri Dec 02, 2016 7:12 am    Post subject: Reply with quote

RAPHEAD wrote:
Probably some lib inconsistency -- try a
Code:
revdep-rebuild
and see what it yields.

I have no clue what this means, but here is the output:
Code:
sudo revdep-rebuild
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]                 

 * Dynamic linking on your system is consistent... All done.

RAPHEAD wrote:
Also have you all the installed QT packages from the same version series and have you selected your GPU deliberately?
I don't know whetether these were all packages, but at least I can provide the list:
Code:
sudo eix -I -c qt
[I] app-eselect/eselect-qtgraphicssystem (1.1.1@14.11.2016): Utility to change the active Qt Graphics System
[I] dev-libs/libdbusmenu-qt (0.9.3_pre20140619-r1@24.11.2016): A library providing Qt implementation of DBusMenu specification
[I] dev-libs/sni-qt (0.2.6-r1@24.11.2016): A Qt plugin which turns all QSystemTrayIcon into StatusNotifierItems
[I] dev-qt/qt3support (4.8.6-r1(4)@24.11.2016): The Qt3Support module for the Qt toolkit
[I] dev-qt/qtchooser (0_p20151008@14.11.2016): Qt4/Qt5 version chooser
[I] dev-qt/qtconcurrent (5.6.1(5)@16.11.2016): Multi-threading concurrence support library for the Qt5 framework
[I] dev-qt/qtcore (4.8.6-r2(4)@24.11.2016 5.6.1(5)@14.11.2016): Cross-platform application development framework
[I] dev-qt/qtdbus (4.8.6-r1(4)@24.11.2016 5.6.1(5)@14.11.2016): Qt5 module for inter-process communication over the D-Bus protocol
[I] dev-qt/qtdeclarative (4.8.6-r1(4)@16.11.2016 5.6.1-r1(5)@14.11.2016): The QML and Quick modules for the Qt5 framework
[I] dev-qt/qtgraphicaleffects (5.6.1(5)@16.11.2016): Set of QML types for adding visual effects to user interfaces
[I] dev-qt/qtgui (4.8.6-r4(4)@24.11.2016 5.6.1(5)@14.11.2016): The GUI module and platform plugins for the Qt5 framework
[I] dev-qt/qtimageformats (5.6.1(5)@17.11.2016): Additional format plugins for the Qt image I/O system
[I] dev-qt/qtnetwork (5.6.1(5)@14.11.2016): Network abstraction library for the Qt5 framework
[I] dev-qt/qtopengl (4.8.6-r1(4)@16.11.2016 5.6.1(5)@16.11.2016): OpenGL support library for the Qt5 framework (deprecated)
[I] dev-qt/qtpaths (5.6.1(5)@16.11.2016): Command line client to QStandardPaths
[I] dev-qt/qtprintsupport (5.6.1(5)@16.11.2016): Printing support library for the Qt5 framework
[I] dev-qt/qtquickcontrols (5.6.1(5)@16.11.2016): Set of controls used in conjunction with Qt Quick to build complete interfaces
[I] dev-qt/qtscript (4.8.6-r2(4)@24.11.2016 5.6.1(5)@14.11.2016): Application scripting library for the Qt5 framework (deprecated)
[I] dev-qt/qtsql (4.8.6-r1(4)@24.11.2016 5.6.1(5)@16.11.2016): SQL abstraction library for the Qt5 tooolkit
[I] dev-qt/qtsvg (4.8.6-r1(4)@16.11.2016 5.6.1(5)@14.11.2016): SVG rendering library for the Qt5 framework
[I] dev-qt/qttest (4.8.6-r1(4)@16.11.2016 5.6.1(5)@14.11.2016): Unit testing library for the Qt5 framework
[U] dev-qt/qttranslations (4.8.6-r1(4)@14.11.2016 -> 4.8.6-r1(4) 5.6.1(5/5.6)^t): Translation files for the Qt5 framework
[I] dev-qt/qtwayland (5.6.1(5)@16.11.2016): Wayland platform plugin for Qt
[I] dev-qt/qtwebkit (4.8.6-r1(4)@24.11.2016 5.6.1(5)@16.11.2016): WebKit rendering library for the Qt5 framework (deprecated)
[I] dev-qt/qtwidgets (5.6.1(5)@14.11.2016): Set of components for creating classic desktop-style UIs for the Qt5 framework
[I] dev-qt/qtx11extras (5.6.1(5)@14.11.2016): Linux/X11-specific support library for the Qt5 framework
[I] dev-qt/qtxml (5.6.1(5)@14.11.2016): Implementation of SAX and DOM for the Qt5 framework
[I] dev-qt/qtxmlpatterns (4.8.6-r1(4)@24.11.2016 5.6.1(5)@14.11.2016): XPath, XQuery, XSLT, and XML Schema validation library for the Qt5 framework
[I] kde-frameworks/bluez-qt (5.26.0(5)@16.11.2016): Qt wrapper for Bluez 5 DBus API
[I] kde-frameworks/networkmanager-qt (5.26.0-r2(5)@16.11.2016): NetworkManager bindings for Qt
[I] sys-auth/polkit-qt (0.112.0-r1@14.11.2016): PolicyKit Qt4 API wrapper library


To reiterate: sddm login works flawlessly with a non-admin user, the trouble is only with my account. I doubt this is due to a systemwide problem. These are the corresponding groups for both users (user1 is mine, user2 the other):
Code:
sudo groups user2
audio nopasswdlogin user2
user1@Gentoo ~ $ groups
lp wheel audio users lpadmin portage nopasswdlogin user1


What else can I check?
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
RAPHEAD
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2003
Posts: 134
Location: Germany

PostPosted: Fri Dec 02, 2016 9:39 am    Post subject: Reply with quote

Add yourself to the video group
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Fri Dec 02, 2016 4:45 pm    Post subject: Reply with quote

RAPHEAD wrote:
Add yourself to the video group

Did it. Please note that user2 is not in the video group and still it worked for that user. It is now getting to the vodoo approach...

Results:
1) reboot: crash at login
2) shutdown, waited 3 sec, start: login succesfully
3) reboot again: crash at login
4) shutdown, waited 3 sec, start: login succesfully

"crash" means system frozen, the sddm password field is becomes grey, mouse pointer still moveable but esle nothing happens

I see a number of problems with sddm on this forum, does not appear to be the very best window manager....
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Sun Dec 04, 2016 1:27 pm    Post subject: Reply with quote

Lokesh wrote:
To reiterate: sddm login works flawlessly with a non-admin user

What does that mean? You want to login with root?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Sun Dec 04, 2016 2:47 pm    Post subject: Reply with quote

asturm wrote:
What does that mean? You want to login with root?

Of course not. An admin user for me is listed in the sudoers file.
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Sun Dec 04, 2016 6:37 pm    Post subject: Reply with quote

As it stands the best solution would be the MS Window approach: Re-install the entire system hoping that the problem will be gone. :(
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 730
Location: S.O. France

PostPosted: Sun Dec 04, 2016 6:41 pm    Post subject: Reply with quote

No
Lokesh wrote:
Unfortunately, it is back to the situation as before: Icannot boot and then login into my account. I always have to login as user2 after boot, then switch over to my account. It is ridiculous, never heard of such a stupid thing before.

The best approach is to clean your profile because with a new user it work.
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Sun Dec 04, 2016 6:54 pm    Post subject: Reply with quote

sebB wrote:
No
The best approach is to clean your profile because with a new user it work.
Forgive a noob, what do you mean? Profiles specific for a user? I do not recall having ever heard about that, please specify. I mean other than assignments to certain groups, there are no differences between in regard to the system, right?
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 730
Location: S.O. France

PostPosted: Mon Dec 05, 2016 8:14 am    Post subject: Reply with quote

You say that this work with user2 and no with user1? Correct me if I'm wrong.
I suppose there is a problem with user1 profile.

So recreate user1.
Log as root
Code:
userdel user1
rm -r /home/user1
useradd -m -G users,wheel,audio -s /bin/bash user1
passwd user1

Doing this, you will lose all your config and files of user1.
Make a backup before
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Mon Dec 05, 2016 3:11 pm    Post subject: Reply with quote

Thanks a million to sebB, your comments put me on the right track.

I narrowed the troubleshooter down to the .config/kwinrc file in the home directory. Within this file there were two lines
Code:
Backend=XRender
Enabled=true
that caused the crash.

I just deleted the lines and the problem is gone.

Cheers
Lokesh
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum