LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-12-2021, 02:09 AM   #1
Wloxen
LQ Newbie
 
Registered: May 2005
Location: Madrid, Spain
Distribution: Kubuntu, Gentoo, Debian
Posts: 14

Rep: Reputation: 2
KDE Plasma startup logs? (Plasma does not start)


Hi everyone,

What are the Plasma specific startup logs to look for problems in case of Plasma not starting?

When I introduce my (correct) password in the login manager the plasma session seems to start as always but it remains in a blank screen with a working mouse pointer (but it does not respond to any kind of clicking).

Except for that, the computer is working perfectly in all senses, accessible through local text consoles and SSH, with the CPU pretty idle, with all services working (even those started within the user session), etc. I can even use remotely the desktop applications perfectly from another GNU/Linux box through X and SSH.

This is Debian stable and it has been working perfectly as it is now literally for months, and nothing special occurred the last time I used it, which had an ordered shutdown as always.

The only other few times this happened to me was because of a full disk, and solved as easily as you can suppose. But this time that is not the case.

Any help to identify the logs to watch will be appreciated: Should it be in the X logs? Are there any specific ones to the Plasma session? I suppose these should be the more interesting but as KDE Plasma never failed to me I don't know which they are...

Thank you in advance.
 
Old 06-12-2021, 09:18 AM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554
Quote:
Originally Posted by Wloxen View Post
Any help to identify the logs to watch will be appreciated
This counts the number of times "plasma" (or "Plasma"/"PLASMA"/etc) occurs in files within the /var/log directory, removing the instances where that number is zero:
Code:
sudo grep -rci 'plasma' /var/log | grep -v ':0$'
 
1 members found this post helpful.
Old 06-13-2021, 01:32 AM   #3
Wloxen
LQ Newbie
 
Registered: May 2005
Location: Madrid, Spain
Distribution: Kubuntu, Gentoo, Debian
Posts: 14

Original Poster
Rep: Reputation: 2
Thank you for your interesting answer, boughtonp, but I've discovered only a few complaints of colord daemon, which in fact existed before the problem occurred.

Any more clues? Is there any kind of "main plasma session configuration file" that I could try to remove to "reset" the plasma for this user?
 
Old 06-13-2021, 02:36 AM   #4
lvm_
Member
 
Registered: Jul 2020
Posts: 946

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
On X11 check ~/.xsession-errors, don't know about wayland though.
 
1 members found this post helpful.
Old 06-13-2021, 06:15 AM   #5
Wloxen
LQ Newbie
 
Registered: May 2005
Location: Madrid, Spain
Distribution: Kubuntu, Gentoo, Debian
Posts: 14

Original Poster
Rep: Reputation: 2
Thank you for your reply. I've read "~/.xsession-errors" (which was 428 MB long!) and I've not seen nothing apparently bad.

This is very strange.

Anyway I've installed the LXQT Desktop Environment in parallel, so at least I can use the computer while I manage to fix KDE Plasma.
 
Old 06-13-2021, 09:03 AM   #6
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554

You can use the same technique to identify potentially interesting config files, e.g: "grep -rci 'plasma' ~/.config/ | grep -v ':0$'".

That returns a variety of results here, some might be relevant, but I have no idea whether renaming any of those files will help or hinder - maybe checking whether any have a recent modification date might give a clue as to whether something was changed?


Quote:
Thank you for your reply. I've read "~/.xsession-errors" (which was 428 MB long!) and I've not seen nothing apparently bad.
Backup/rotate that file so you've got an empty one, then logout and back in to see if anything new appears?

 
1 members found this post helpful.
Old 06-15-2021, 05:00 AM   #7
Wloxen
LQ Newbie
 
Registered: May 2005
Location: Madrid, Spain
Distribution: Kubuntu, Gentoo, Debian
Posts: 14

Original Poster
Rep: Reputation: 2
Thumbs up

Well, finally I could not find any clue in any log file, so I don't really know what happened, but I could solve the problem deleting (making a backup just in case...) the folder "~/.kde" of my user.

Everything works again and apparently nothing has changed, although that is a configurations file folder for KDE and its default applications, so expect some configuration reset if you follow this advice (although I haven't noticed any by now).

Regards.
 
Old 06-15-2021, 06:37 AM   #8
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554

Run a tool like Meld to compare the old folder and new folder and highlight the differences - that'll allow you to restore any changes you wanted and potentially identify any oddities that might have caused it.

 
Old 06-15-2021, 01:45 PM   #9
Wloxen
LQ Newbie
 
Registered: May 2005
Location: Madrid, Spain
Distribution: Kubuntu, Gentoo, Debian
Posts: 14

Original Poster
Rep: Reputation: 2
Nice idea!

I've compared the contents of the old .kde with those of the new one, in which there has only been recreated two files. The only interesting differences are that in the newer file "kdeglobals" do not appear these values:

[$Version]
update_info=kded.upd:kde3.0,kdeui.upd:kde4/migrate_from_kde3_icon_theme
[General]
XftAntialias=true
XftHintStyle=hintmedium
XftSubPixel=none

So they must be the problematic ones. The first seems a good candidate... although I have not made any KDE update recently.

Maybe this helps someone else.
 
Old 06-18-2021, 03:58 AM   #10
Wloxen
LQ Newbie
 
Registered: May 2005
Location: Madrid, Spain
Distribution: Kubuntu, Gentoo, Debian
Posts: 14

Original Poster
Rep: Reputation: 2
Forget my last message, the problem is not solved.

It's even stranger now (or maybe this happened before too): the first time I login in Plasma the problem is still the same, but if then I kill Xorg then I can login normally into Plasma...
 
Old 06-18-2021, 07:27 AM   #11
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554

If you haven't already, search the KDE Plasma issue tracker to see if anyone else has the same issue - and if not it's probably something to raise one for.

 
Old 09-30-2021, 07:28 AM   #12
Wloxen
LQ Newbie
 
Registered: May 2005
Location: Madrid, Spain
Distribution: Kubuntu, Gentoo, Debian
Posts: 14

Original Poster
Rep: Reputation: 2
After many, many tries the only certainty I got is that it was a profile problem, since a new user did not showed this behaviour. I tested deleting and copying files and folders of an empty profile, which sometimes solved the problem. At the end, the problem seems now finally isolated and resolved by deleting the folder «~/.config/plasma-workspace». This deleted folder has not been recreated in the last log-ins, so maybe it is and old configuration folder now deprecated... I don't know.

It seems a solution, but not a good explanation of the problem, since the only contents of that folder was an empty "shutdown" folder and an "env" folder who contained a symbolic link to a custom application initialization script which was created many months before the problem appeared (the script exists and worked and works flawlessly as always). Remember that the strangest thing of this issue is that Plasma has always worked, but it only did it after killing a first failed session.

I expect this serves as a solution for someone in the future.
 
Old 09-30-2021, 08:32 AM   #13
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554

What did the developers of KDE Plasma say?

(You know, the ones with intimate knowledge of all its config folders, current and previous, and who might even be able to provide an actual fix, not a workaround, if they are told about the problem.)

 
  


Reply

Tags
debian 10, logs, plasma



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: Solus Readies KDE Plasma Edition Testing ISO with Latest KDE Plasma 5.14 Desktop LXer Syndicated Linux News 0 10-25-2018 03:03 PM
LXer: KDE Plasma 5.13 Desktop Reaches End of Life, KDE Plasma 5.14 Arrives October 9 LXer Syndicated Linux News 0 09-15-2018 10:30 PM
XRDP Login Issue, logs into XTERM instead of KDE PLASMA 5 sapper6fd Linux - Newbie 0 08-05-2016 03:49 AM
Back up logs file and create a script showing the backed up logs and the running logs Billy_6052 Programming 5 12-13-2014 02:32 AM
kde4 on karmic: plasma-desktop doesn't start by itself after removing plasma-netbook eantoranz Linux - Software 8 10-10-2009 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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