Score:0

'system program error detected' on startup, _usr_lib_xorg_Xorg.0.crash file in \var\crash can't be opened or removed

jp flag

I am running Ubuntu Studio 20.04.3 LTS with xfce, a fresh install since yesterday, and on every startup I get a "system program error detected" notification. There is one file in /var/crash named _usr_lib_xorg_Xorg.0.crash but when i try to open or remove this file i get a 'permission denied' message, as such:

$ cat _usr_lib_xorg_Xorg.0.crash 
cat: _usr_lib_xorg_Xorg.0.crash: Permission denied

I don't find any problems with my system's functioning sofar, but I would like to know what these 'errors' mean and how to deal with them.

waltinator avatar
it flag
The file in `/var/crash` is a text file. Read it to get some information.
Tony avatar
jp flag
I am aware it's supposed to be a text file. When i try to open it with a text editor i get a pop-up: "Failed to open the document. Failed to open file "/var/crash/_usr_lib_xorg.0.crash":open() failed: permission denied." When i try in the terminal: $ cat _usr_lib_xorg_Xorg.0.crash cat: _usr_lib_xorg_Xorg.0.crash: Permission denied
waltinator avatar
it flag
Preface your `cat` (or `less`) command with `sudo `, type your login password when prompted.
Tony avatar
jp flag
That works! Thanks (feel stupid for not thinking of this myself).
Score:0
vn flag

To read the crash file, you should use sudo, e.g. sudo cat /var/crash/_usr_lib_xorg.0.crash

If you would like to stop the notifications about a detected crash, you can simply delete the crash file: sudo rm /var/crash/_usr_lib_xorg.0.crash

This answer is taken from the OP's comment

David avatar
cn flag
I suggest killing off the crash system is not a good idea.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.