LinuxQuestions.org
Help answer threads with 0 replies.
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 07-08-2023, 08:14 AM   #1
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
My KDE and kernel-6.4.x


Starting a new thread so as not to mess up latest-kernel (original post #5670). Built 6.4.2 and KDE still has problems. As SCerovec had suggested in the latest-kernel thread (post #5679) I finally found some time to play a bit and tried running kde logged in as a new user while booted to 6.4.2. As a new user KDE appers to run fine so clearly there is something in my KDE user config files that is messed up. So far in trying to figure out what is messed up I renamed the .kde directory (in $HOME) to .kde-save and that had no effect. Not even running KDE on 6.3.12 that I am booted to now. Can anypne suggest what I might try to change to get KDE to run as my user with kernel 6.4.x? Thanks for any help.
 
Old 07-08-2023, 09:10 AM   #2
gateway2000
LQ Newbie
 
Registered: Sep 2022
Distribution: Slackware
Posts: 14

Rep: Reputation: 12
I would try backing up and recreating the ~/.config directory as well, as KDE config files are located there as well. If that were successful, either narrow down further which sub-directories are problematic or if it's not an issue, use the new ~/.config directory.
 
Old 07-08-2023, 10:10 AM   #3
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,517

Rep: Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341
Quote:
Originally Posted by 3rensho View Post
Starting a new thread so as not to mess up latest-kernel (original post #5670). Built 6.4.2 and KDE still has problems. As SCerovec had suggested in the latest-kernel thread (post #5679) I finally found some time to play a bit and tried running kde logged in as a new user while booted to 6.4.2. As a new user KDE appers to run fine so clearly there is something in my KDE user config files that is messed up. So far in trying to figure out what is messed up I renamed the .kde directory (in $HOME) to .kde-save and that had no effect. Not even running KDE on 6.3.12 that I am booted to now. Can anypne suggest what I might try to change to get KDE to run as my user with kernel 6.4.x? Thanks for any help.
The Plasma5 keeps its data on the folders: ~/.config and ~/.local , also some of its temporary files are kept on ~/.cache

For a "fresh" experience you should (re)move all of these 3 folders from your user account home.

The ~/.kde folder was used exclusively by the KDE4, so its removal has no effect for Plasma5.

Last edited by LuckyCyborg; 07-08-2023 at 10:14 AM.
 
2 members found this post helpful.
Old 07-08-2023, 06:39 PM   #4
scuzzy_dog
Member
 
Registered: Apr 2021
Location: Free State of Texas (somewhat free)
Posts: 108

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
The Plasma5 keeps its data on the folders: ~/.config and ~/.local , also some of its temporary files are kept on ~/.cache

For a "fresh" experience you should (re)move all of these 3 folders from your user account home.

The ~/.kde folder was used exclusively by the KDE4, so its removal has no effect for Plasma5.
lol - it's scattered all over the place now.

.kde does have a small amount of files in it too so prob want to delete that.

And also keep an eye on /tmp - I had KDE go crazy on me a few weeks back.

I hadn't changed any settings but it was acting stupid.

I have a .zip file which contains .local, .config, & .kde. I exited KDE to command line and unzipped the backup. It was still acting stupid. I can't remember what I deleted in /tmp but there was garbage there.

Once you've got things the way you want do something like

zip -r dot.kde-settings.zip .local .config .kde

You'll need it eventually.

I'm going back to KDE4. I've found no benefit of using 5 at all. It just pisses me off.
 
1 members found this post helpful.
Old 07-09-2023, 06:21 AM   #5
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
At run level 3 I commented out (labeled them as -save) everything in .config and .local that had "plasma" in their name. Also deleted everything with "plasma" in name in .cache. Reboot and still same problem with KDE. xfce runs fine which I am using now with kernel-6.4.2. Maybe my new favorite DE is xfce. Still can't understand why KDE runs great with any kernel-6.3.x and coughs blood with 6.4.x. If I go back to 6.3.x KDE runs fine with no changes at all to the system. All the same plasma files that don't like 6.4.x.

Edit: Forgot to add that when I boot 6.4.x to run level 3 there are two added lines just before the login prompt (that aren't there with 6.3.x) -

Code:
Sh: line1: fortune: command not found
Error: Can't open display

Last edited by 3rensho; 07-09-2023 at 06:40 AM. Reason: Added info
 
Old 07-09-2023, 07:15 AM   #6
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,559

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
Quote:
Originally Posted by 3rensho View Post
Code:
Sh: line1: fortune: command not found
Error: Can't open display
Okay, that's kind of odd, and makes me think something else is going on besides KDE and 6.4. (Are there any bug reports on the kernel mailing list about KDE and 6.4? It's not supposed to break user space, the full email I can't quote in a family-friendly area. )

There have been about 3-4 packages added to slackware-current in the past 6 months or so. Are you missing one?

Last edited by garpu; 07-09-2023 at 07:16 AM.
 
Old 07-09-2023, 08:31 AM   #7
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,811

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by 3rensho View Post
Forgot to add that when I boot 6.4.x to run level 3 there are two added lines just before the login prompt (that aren't there with 6.3.x) -

Code:
Sh: line1: fortune: command not found
Error: Can't open display
Have you edited files in /etc/rc.d? Like added something in rc.local?
 
Old 07-09-2023, 08:58 AM   #8
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Originally Posted by garpu View Post
Okay, that's kind of odd, and makes me think something else is going on besides KDE and 6.4. (Are there any bug reports on the kernel mailing list about KDE and 6.4? It's not supposed to break user space, the full email I can't quote in a family-friendly area. )

There have been about 3-4 packages added to slackware-current in the past 6 months or so. Are you missing one?
Yes, I check for updates every morning before I change to run level 4. There is a poltergeist somewhere
 
Old 07-09-2023, 10:24 AM   #9
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,517

Rep: Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341
Honestly, I for one I believe that if when using slackware-current, each time is updated the KDE Frameworks or KDE Plasma, one should start with a clean user home. This way I do and never I had problems like the one described in this thread.

Probably this idea will look disappointing for many, BUT you should NOT use -current for daily drive, right?

Last edited by LuckyCyborg; 07-09-2023 at 10:30 AM.
 
Old 07-09-2023, 10:41 AM   #10
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,517

Rep: Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341
Quote:
Originally Posted by scuzzy_dog View Post
I'm going back to KDE4. I've found no benefit of using 5 at all. It just pisses me off.
Then probably the best thing will be to learn to build your own KDE4 packages.

Because @BrunoLafleur does not offer binary packages for PBSLACKS and regarding myself, considering the place where I live, even I have the intention to maintain the kde4town for the foreseeable future, many things may happen suddenly with ending of me being in impossibility to make these kde4town packages public to the Slackers from this forum.

Last edited by LuckyCyborg; 07-09-2023 at 10:44 AM.
 
1 members found this post helpful.
Old 07-09-2023, 10:44 AM   #11
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,385

Rep: Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103
Quote:
Originally Posted by LuckyCyborg View Post
with ending of me being in impossibility to make these kde4town packages public to the Slackers from this forum.
I can handle this part ;-)
 
2 members found this post helpful.
Old 07-09-2023, 10:47 AM   #12
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 976

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by 3rensho View Post
Forgot to add that when I boot 6.4.x to run level 3 there are two added lines just before the login prompt (that aren't there with 6.3.x) -

Code:
Sh: line1: fortune: command not found
Error: Can't open display
To me it seems very odd that upgrading a kernel would break a userspace application like fortune.

The fortune command /usr/games/fortune comes from the bsd-games package. Did you for some reason remove that package when upgrading the kernel?

The /usr/games/fortune program should be found as /usr/games should be part of your PATH, it is set by the file /etc/profile.

Try the following:

Code:
fgrep games /etc/profile
Shoule give something like:

Code:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
Then try:

Code:
fgrep usr/games/fortune /var/log/packages/*
which should give something like:

Code:
/var/log/packages/bsd-games-2.17-x86_64-3:usr/games/fortune
And finally try:

Code:
ls -al /usr/games/fortune
Which should give something like:

Code:
-rwxr-xr-x 1 root root 27064 Feb 13  2021 /usr/games/fortune
The above is on Slackware 15.0, you might get different time stamps and versions if you are running current.

Once we can understand why a simple program like fortune has stopped working we might get a clue why a complex system like KDE has stopped working.

regards Henrik
 
Old 07-09-2023, 11:38 AM   #13
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,811

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
But why fortune and some X client were launched "just before the login prompt" of runlevel 3? I could understand it just after giving username and password, because only then a login shell would be launched, and .profile or .bash_profile would try to run fortune and some X program, not able to open display with no X server.

Last edited by Petri Kaukasoina; 07-09-2023 at 11:44 AM.
 
Old 07-09-2023, 11:47 AM   #14
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by LuckyCyborg View Post
many things may happen suddenly with ending of me being in impossibility to make these kde4town packages public to the Slackers from this forum.
I read the other day that the government tested disconnection from global web. Do you think it's going to happen for real anytime soon?
 
Old 07-09-2023, 03:34 PM   #15
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,517

Rep: Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341
Quote:
Originally Posted by giomat View Post
I read the other day that the government tested disconnection from global web.
In fact, they did tests like this since years ago.

Quote:
Originally Posted by giomat View Post
Do you think it's going to happen for real anytime soon?
Sincerely, I have no idea.

Last edited by LuckyCyborg; 07-09-2023 at 06:26 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: Rejoice KDE Lovers! MX Linux Joins the KDE Bandwagon and Now You Can Download MX Linux KDE Edition LXer Syndicated Linux News 0 08-20-2020 02:24 AM
LXer: KDE Frameworks 5.22.0 Released for KDE Plasma 5.6.4 and KDE Applications 16.04.1 LXer Syndicated Linux News 0 05-16-2016 05:34 AM
LXer: Manjaro Linux KDE 0.9.0 Pre4 Now Uses KDE Plasma 5.2.1 and KDE Applications 14.12.3 LXer Syndicated Linux News 0 03-15-2015 10:12 PM
KDE apps crash on Gnome, Gnome apps work on my KDE - Gnome/KDE integration Happy Gimper Linux - Software 0 03-18-2008 09:28 AM
Aborted KDE 3.5.1 Install while using KDE 3.4 and KDE and Gnome Won't Boot cheetahman SUSE / openSUSE 5 03-04-2006 11:03 AM

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

All times are GMT -5. The time now is 11:59 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