LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2021, 02:11 PM   #1
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Rep: Reputation: Disabled
Question xdm login manager, KDE 5 not starting and console login not possible after upgrade to the latest -current


Dear fellow Slackware users,

I just upgraded a number of my machines from -current (around mid-October 2020) to the latest -current.
I carefully followed the package removals and additions, and so removed any packages that were removed since then, and installed almost all of the packages that were added since then.

I don't know whether there already are any open threads about similar problems but, my problems are the following:
  • Earlier the login screen after X started was KDM, and for some reason it now reverted back to XDM. How could I change it back to KDM or something more aesthetic than XDM?
  • After successfully logging in, I get returned to XDM, so I believe that KDE5 is not able to start for some reason. I have looked in Xorg.0.log, messages and syslog, but I couldn't find anything that would tell me what is wrong. Although I have to admit that I may not have been thorough enough.

Any help is appreciated.

Last edited by wowbaggerHU; 01-02-2021 at 09:10 AM.
 
Old 01-01-2021, 02:29 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Did you deal with all the *.new files that were dropped in /etc/ ? Their modifications are essential.
 
1 members found this post helpful.
Old 01-01-2021, 02:33 PM   #3
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
KDM is gone with KDE4. So your choice would be sddm or xdm. If you got xdm, chances are you didn't install sddm.
Before you start in level mode 4, please log in in level 3 (console mode) as your user and run xwmconfig to select KDE5 as the default DE.
 
1 members found this post helpful.
Old 01-02-2021, 09:05 AM   #4
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Did you deal with all the *.new files that were dropped in /etc/ ? Their modifications are essential.
Hi AlienBob,

I checked my /etc with find and even with slackpkg new-config but there were no stale .new files.

Quote:
Originally Posted by gegechris99 View Post
KDM is gone with KDE4. So your choice would be sddm or xdm. If you got xdm, chances are you didn't install sddm.
Before you start in level mode 4, please log in in level 3 (console mode) as your user and run xwmconfig to select KDE5 as the default DE.
Hi gegechris99,

Thanks for the hints. KDE was selected as the default desktop environment.
After installing sddm, I ran a number of rounds with the error messages it presented (about missing dependencies*), but by now I eliminated them all, and SDDM starts up successfully, even the login seems to work, but KDE5 still won't start. Probably some additional dependency problems, but I can see no problem in /var/log/messages, /var/log/syslog or Xorg.0.log.

*: I don't understand, I colleted all removed and added packages from ChangeLog, but it still seems some were left out somehow...
 
Old 01-02-2021, 09:08 AM   #5
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: Disabled
Plus I just now stumbled on a new problem:

Console access doesn't seem to work: When I enter the username and press enter, I do not get the login prompt, the console just hangs for like 10 seconds, and a new login prompt is presented to me.
I believe it may be related to pam or elogind, but again I don't see any error messages in the usual places like messages and syslog.

It seems like I currently only have access to my machines via SSH :\
 
Old 01-02-2021, 10:06 AM   #6
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Most probably you still miss some mandatory dependencies. If you are using slackpkg to keep your system up to date, then I would suggest that you make a full installation as follows:
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
There have been many package additions and removals with the change of version of KDE and XFCE. Keeping track of them manually is error-prone.
After making sure that your system works with full installation, you can start removing those packages that you think are not needed by you. I know it's not an optimized way of working for you but we cannot help you further if we don't know if some mandatory packages are not installed.
 
1 members found this post helpful.
Old 01-02-2021, 10:14 AM   #7
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Could you check the ownership of your home folder ?
I had a weird change on an upgrade (that could be a local build) with a change to root owning a user folder.
 
Old 01-02-2021, 11:45 AM   #8
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Tonus View Post
Could you check the ownership of your home folder ?
I had a weird change on an upgrade (that could be a local build) with a change to root owning a user folder.
Hi,

Thanks for the idea, but my home folder's ownership and access rights are okay.
 
Old 01-02-2021, 12:06 PM   #9
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gegechris99 View Post
Most probably you still miss some mandatory dependencies. If you are using slackpkg to keep your system up to date, then I would suggest that you make a full installation as follows:
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
I went through the steps you recommended and the console login issue seems to be solved.
On the other hand, KDE5 still doesn't start up properly for some reason. I get kicked back to the login screen.
I tried logging in on the console and starting X from there. That way X and KDE5 started up, but the KDE panel looked rather messed up, and only one display was active and in use. When I closed X, I saw no error messages on the text console.
The latter (only one display being active) also is true for the login screen.

Edited to add
: by now it seems that I also have a nouveau bug/kernel driver traceback in dmesg with 5.10.4, but that does not seem to influence that I managed to get KDE5 running, when it is started from console, with startx.
If I try to log in via sddm, I still get kicked out right after login. So this seems to point somewhere other than KDE5.

Last edited by wowbaggerHU; 01-02-2021 at 12:28 PM.
 
Old 01-02-2021, 12:47 PM   #10
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
On the bottom left of the sddm screen, you have a section: "Desktop Session". IIRC, the default is "Plasma (Wayland)". Make sure to change it to "Plasma".
Also you can catch some error in syslog files (run as root):
Code:
cat /var/log/syslog
Regarding the messed-up panel, it could be due to some old KDE4 settings. When in console mode, I would suggest to back up your ~/.local and ~/.config directories and then delete them. Also it won't hurt to delete ~/.cache.

Last edited by gegechris99; 01-02-2021 at 12:48 PM. Reason: typo
 
1 members found this post helpful.
Old 01-02-2021, 01:04 PM   #11
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gegechris99 View Post
On the bottom left of the sddm screen, you have a section: "Desktop Session". IIRC, the default is "Plasma (Wayland)". Make sure to change it to "Plasma".
Yes that seems to have been it. Plasma (Wayland) was selected by default, and when I selected Plasma, it worked on all my three machines.
I don't know exactly why wayland was a problem... I have installed it beforehand, but login did with Plasma (Wayland) being selected.

Quote:
Originally Posted by gegechris99 View Post
Regarding the messed-up panel, it could be due to some old KDE4 settings. When in console mode, I would suggest to back up your ~/.local and ~/.config directories and then delete them. Also it won't hurt to delete ~/.cache.
Yes, that's probably it, I will have to purge my old KDE4 settings, but that task will remain for another day.

Merci beaucoup for your help!

Last edited by wowbaggerHU; 01-02-2021 at 01:05 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Xtreme Download Manager (XDM) 2015 Released, Amazing Development By Team, Install/Upgrade XDM LXer Syndicated Linux News 2 08-27-2015 07:29 AM
[SOLVED] xdm init script problem - /var/run/xdm.pid is gone ? Vilius Debian 2 09-16-2010 03:06 AM
[SOLVED] xdm init script problem - "invoke-rc.d xdm start" fails ? Vilius Debian 2 09-13-2010 12:15 AM
disabling XDM-AUTHORIZATION-1 in xdm shpenat Linux - Desktop 0 03-18-2009 09:11 AM
XDM opens XDM after login jpbarto Linux - Software 1 01-26-2004 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration