x11: Close session when opening a file or browsing the web

13 réponses [Dernière contribution]
augustoborin
Hors ligne
A rejoint: 08/29/2016

Hello, I could not solve the problem of the other topic that I opened in this forum, but I decided to install the trisquel 11 even though in my t400 with libreboot the trisquel 10 had no encryption activated by default.
I noticed that when I open a file in the libreoffice impress or when I will send an email at icedove the session closes itself and goes back to the login screen. It is not only a problem in this file, it has already happened to be using abrowser and close as well.

Here is what I have done and did not solve:

I tried to change the default kernel
I installed openbox and changed the marco in the dconf editor
I started the session with the openbox and still had this problem
I disabled the pulseaudio because in the log there appeared an error
I installed the libgl1-amber-dri package suggested in a forum of the xdg-desktop-portal-gtk error.service
I installed xserver-xorg-hwe-18.04
I couldn't find this module to activate (module-x11-xsmp): https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/650

logs:
Syslog:
https://bin.disroot.org/?c67357928319ed1d#6HzmruBQacQyjDFUi9viBKwMySqk66kGyH7QTqfuakMs

kernel:
https://bin.disroot.org/?c24ecd9aefbbf7fa#FsgUgLvQKphX2rMdG37HqwqPvnXXWTfve2Tqvkgy8LyK

augustoborin
Hors ligne
A rejoint: 08/29/2016

I solved the question. It is a problem in mate desktop or xorg with intel graphics cards.

The solution is to create a file called 20-intel.conf and upload it to the /etc/X11/xorg.conf.d folder with the following lines:

Section "Device
Identifier "Intel Graphics"
Driver "Intel
Option "TearFree" "true
EndSection

Avron

I am a translator!

Hors ligne
A rejoint: 08/18/2020

I have a similar problem sometimes but I have a GeForce GT 710 working with nouveau.

Are there similar tricks for other kinds of graphics, like mine?

I cannot say whether the cause was the same but with nabia, I had regularly the screen frozen, sometimes I could ssh to the computer, sometimes I could not, when I could it was possible to kill the mate session but usually the computer was not working well anymore until reboot. So aramo is working much better.

Ark74

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/15/2009

What kernel version are you using on aramo?

Avron

I am a translator!

Hors ligne
A rejoint: 08/18/2020

The default from Trisquel repository.

"uname -a" says Linux 5.15.0-71-generic #78+11.0trisquel19 SMP Thu Apr 27 07:15:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Ark74

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/15/2009

You might like to test if the 5.19 hwe update might help.

https://trisquel.info/en/wiki/update-linux-libre-kernel

Avron

I am a translator!

Hors ligne
A rejoint: 08/18/2020

Thanks, I installed it and will see.

If the problem still occurs, is there a chance that the problem will not occur if using wayland instead of X11? This could be one motivation for me to switch to gnome 3.

Ark74

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/15/2009

There seems to be a issue with the default configuration on xorg shipped by trisquel with some intel models, not all seem to have the same issue. It may take a bit of time, but hopefully there will be some fix sooner than later.

Regards.

libredrs

I am a member!

Hors ligne
A rejoint: 01/29/2012

I've also run into the exact Icedove and abrowser issues with two different librebooted T400s.

I'll give your solution a try.

Thanks.

libredrs

I am a member!

Hors ligne
A rejoint: 01/29/2012

Everything now seems to be working well on both T400s.

Thanks again!

augustoborin
Hors ligne
A rejoint: 08/29/2016

Great!

Ardea
Hors ligne
A rejoint: 05/16/2022

Many thanks for sharing this solution. It has solved the problem for me also.

Lugodunos
Hors ligne
A rejoint: 05/28/2022

Hi,
Thank you augustoborin, it works with my ThinkPad X200 (that uses MATE), I just had to redo my screens configuration.

zoroastro
Hors ligne
A rejoint: 05/24/2014

Hello

I just tried your solution by now. I hope it helps me to stop these sessions closing.

Thank you