Immense growing of .xsession-errors

Hello,

the file .xsession-errors ist growing and growing … today it has been 32gb. After a restart the file is not emptied.

How can I prevent this file to eat all my disk-space and what is running wrong in my system that there are so many messages in this log-file.

The content is mainly of messages like this:

kdeinit5: PID 2096 terminated.
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/actions/16/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/apps/16/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/appscol/16/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/categories/16/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/devices/16/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/emblems/16/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/status/16/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/actions/22/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/apps/22/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/appscol/22/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/categories/22/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/devices/22/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/emblems/22/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/status/22/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/actions/24/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/apps/24/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/appscol/24/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/categories/24/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/devices/24/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/emblems/24/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/status/24/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/actions/32/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/apps/32/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/appscol/32/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/categories/32/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/devices/32/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/emblems/32/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/status/32/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/actions/48/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/apps/48/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/appscol/48/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/categories/48/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/devices/48/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/emblems/48/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/status/48/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/actions/64/"
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/Obsidian/status/64/"
Icon theme "Ambiant-MATE" not found.
Icon theme "Mint-X" not found.
Icon theme "Faenza-Dark" not found.
Icon theme "KFaenza" not found.
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 35357, resource id: 50335269, major code: 3 (GetWindowAttributes), minor code: 0
sonnet.core: Missing trigrams for languages: QSet("de_BE", "de_LU", "en_GB", "en_AU", "en_CA")
kdeinit5: PID 2239 terminated.
kdeinit5: PID 2240 terminated.
kdeinit5: PID 2234 terminated.
kdeinit5: PID 2238 terminated.
using... PackageKit::Transaction(0x555f8f1d2900) "/2201_dcbbcebb"
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 40488, resource id: 50334060, major code: 3 (GetWindowAttributes), minor code: 0

(firefox:3316): Gtk-WARNING **: 22:09:40.607: Theme parsing error: <data>:1:34: Expected ')' in color definition

(firefox:3316): Gtk-WARNING **: 22:09:40.607: Theme parsing error: <data>:1:77: Expected ')' in color definition
Sandbox: seccomp sandbox violation: pid 3479, tid 3479, syscall 315, args 3479 140313464471040 56 0 140313468392640 140313464471040.
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 45091, resource id: 50336200, major code: 3 (GetWindowAttributes), minor code: 0
Sandbox: seccomp sandbox violation: pid 3540, tid 3540, syscall 315, args 3540 140542478731456 56 0 140542478405344 140542478731456.
using... PackageKit::Transaction(0x555f8f232cb0) "/2202_abebdaab"
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 51185, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.svg: <input>:693: Could not resolve property: #linearGradient4403
qt.svg: <input>:693: Could not resolve property: #radialGradient4241
kdeinit5: PID 1963 terminated.
kdeinit5: PID 2115 terminated.
kdeinit5: PID 2101 terminated.
kdeinit5: PID 2098 terminated.
kdeinit5: PID 2113 terminated.

Thx in advance!

Dieter

another huge amount of error messages are like this

kdeinit5: PID 3904 terminated.
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
kdeinit5: PID 2091 terminated.
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)
qt.svg: Cannot read file '/home/pfiff/systemdplot.svg', because: Vorzeitiges Ende des Dokuments. (line 1)

What does this means? And how to stop it?

The systemdplot.svg means the file is corrupt or at least qt.svg thinks it is. You can get rid of this error by disabling previews or removing the file.

The first log looks like excessive logging because of a invalid line in the Obsidian icon theme.
You can avoid it by fixing the theme or using a different theme. (fixing tip: It mentions the fixed term I would search in the icon theme directories index.theme file for the fixed type and remove it and see if it fixes the issue - Do not forget to backup the file up just in case)

In general the logging might be filling the space in your home as it logs everything running on your X-Server including Plasma and all applications. This is a default setting that granted in your case can lead to excessive logging which is not intended.
You can clean the file regulary if you don’t experience issues with applications and need a log for this.
Easist would be to executing the terminal command
echo > ~/.xsession-errors
as this command just overwrites the file without the necessity to read the file first.

If you want to disable the logging completely you can of course change Xorgs ERRFILE location to /dev/null
To do so edit /etc/X11/Xsession and replace

ERRFILE=$HOME/.xsession-errors
with
ERRFILE=/dev/null

After a restart it should not log into the ~/.xsession-errors file anymore.

Of course there are multiple other ways to deal with it. Like creating a cron job that checks the file size and clears the file after it reached a specific file size. Or just remove the head and keep a bit of the end of the file.
This is a bit more advanced and not sure if you want it. If you do please tell me and I can instruct you how to do it.

Hello,

and thank you for the informations.
I’m really astonished how much errors i can find in this file. One can think the whole desktop enviroment is buggy :slight_smile:
I try now a script executed with the shutdown.

#!/bin/bash
echo > ~/.xsession-errors

Does that make sense?

Ciao!

Dieter

Yes. Thats a good idea

Hi,

something is really going wrong with my system. In roundabout three hours the .xsession-error-file is growing from zero to 440MB.

xsession-errors

Here you can see the whole file. Hopefully you have an idea to fix this problem.

Thx in advance!

Dieter

From analyzing the .xsession-errors you are playing kpat and that solver has a bug that logs excessively.
See this bug report: https://bugs.kde.org/show_bug.cgi?id=407854

As it is not solved yet I would suggest to deactivate the solver (“Löser” in german) under settings.