You are not logged in.

#1 2021-07-15 08:14:13

Abraxasu
Member
Registered: 2021-07-15
Posts: 4

I get logged out of my desktop environment when using second screen

Yesterday after rebooting my laptop I found that any time I opened an internet browser or graphically intensive application on my external monitor it would immediately log me out of my desktop environment and kill all running applications.

I can still run terminal emulators, file explorers and the like, but videos, code editors, and browsers when opened on my external monitor immediately log me out. Even if I move an application running on my laptop screen to the second screen it will then log me out.

I thought it might be to do with nvidia drivers and a recent system upgrade, so I tried rolling back the kernel and nvidia drivers to an earlier version but that has not worked.

Any advice would be mightily appreciated.

Offline

#2 2021-07-15 08:43:16

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,957
Website

Re: I get logged out of my desktop environment when using second screen

How about you share some specifics

Offline

#3 2021-07-15 08:55:39

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,678
Website

Re: I get logged out of my desktop environment when using second screen

We had somebody with similar issues in the German forum [1].
Are you by any chance using the proprietary Nvidia driver?
If so, check your journal for XServer crashes and consider using nouveau until Nvidia fixes the issue.

[1] https://bbs.archlinux.de/viewtopic.php?id=34073


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#4 2021-07-15 08:59:55

Abraxasu
Member
Registered: 2021-07-15
Posts: 4

Re: I get logged out of my desktop environment when using second screen

I'm not really sure which specifics would be helpful.

My desktop environment is i3wm.

I was using the latest packages for archlinux-lts and the linux kernel as well as the latest nvidia drivers. I then downgraded them to a set of drivers from a few months ago based on this forum thread: https://bbs.archlinux.org/viewtopic.php?id=265563 which ended up not doing much.

I am now in the process of trying to revert my packages back to an archived version from a month ago, but considering that downgrading those specific packages didn't make a difference I think it's unlikely to make much of a difference.

What I found strange was that my system started off crashing due to using too much RAM, then when I restarted it the problem began. I'm not sure if that was due to me having run system upgrades before that or if it was due to the crash itself.

Offline

#5 2021-07-15 09:06:45

Abraxasu
Member
Registered: 2021-07-15
Posts: 4

Re: I get logged out of my desktop environment when using second screen

"Are you by any chance using the proprietary Nvidia driver?
If so, check your journal for XServer crashes and consider using nouveau until Nvidia fixes the issue."

Yeah I am using the Nvidia driver. I will give this a try and report back. Thanks!

Last edited by Abraxasu (2021-07-15 09:07:07)

Offline

#6 2021-07-15 10:16:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,324

Re: I get logged out of my desktop environment when using second screen

If using nouveau isn't possible you can also downgrade the xorg-server(-common) packages to 1.20.11

Offline

#7 2021-07-15 13:52:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,431

Re: I get logged out of my desktop environment when using second screen

Offline

#8 2021-07-16 08:08:15

Abraxasu
Member
Registered: 2021-07-15
Posts: 4

Re: I get logged out of my desktop environment when using second screen

For now I seem to have solved the problem by temporarily downgrading xorg-server and xorg-server-common to version 1.20.11. Thanks for the help everyone!

Offline

Board footer

Powered by FluxBB