You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Cinnamon 4.8.6
* Arch Linux
*AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx, amdgpu
* 64 bit
* Log file... This is kind of the issue
Issue
It's useful to have access to a logfile for debugging in the case of Cinnamon crashing, but it seems that this logging doesn't happen when using startx/xinit, while it works upon testing with lightdm (and I suspect it will work with compliant display managers. I noticed this yesterday, seeing that xsession-errors had not been modified since October 2020.
This is also important because Melange only shows the log from the latest start, onwards, so it can't be used to trace a crash. IT seems like Dbus is used to view the log though Melange.
The Cjs messages e.t.c. (the normal things that you'd see in the log file) are instead printed out to the startx terminal, probably on stderr, considering these 2 suspicious environment variables are set when running cinnamon though startx:
Issue
It's useful to have access to a logfile for debugging in the case of Cinnamon crashing, but it seems that this logging doesn't happen when using startx/xinit, while it works upon testing with lightdm (and I suspect it will work with compliant display managers. I noticed this yesterday, seeing that
xsession-errors
had not been modified since October 2020.This is also important because Melange only shows the log from the latest start, onwards, so it can't be used to trace a crash. IT seems like Dbus is used to view the log though Melange.
The Cjs messages e.t.c. (the normal things that you'd see in the log file) are instead printed out to the startx terminal, probably on stderr, considering these 2 suspicious environment variables are set when running cinnamon though startx:
These environment variables are set by cinnamon in src/main.c, but they are NOT set at all when launching through lightdm. Weird.
My workaround for now is to redirect the output of startx like so, in my
.profile
:It does seem like the information I would find in
.xsession-errors
normally, gets printed in my new file. I tested with a Forced crash through MelangeThis is my .xinitrc:
I have played around with the aforementioned environment variables:
Steps to reproduce
Expected behaviour
Cinnamon logs to the .xsession-errors file as normal
Other information
I originally opened a thread about this in the Cinnamon subsection of the Linux Mint forums
The text was updated successfully, but these errors were encountered: