You are not logged in.

#1 2017-10-12 09:11:44

Scriptor
Member
Registered: 2011-01-16
Posts: 146

[SOLVED]Gnome session closed when turning off screen

Hello,

I am having a problem when turning off my screen (and only my screen). When turning it back on, I realise that my session is closed (not locked, as if I disconnected), and I need to log in again. I am using gdm as my display manager, and gnome shell as my desktop environment. I went into the settings, and didn't find anything that could be related to my problem.

Note: I never had this problem before. It seems to be coming from a recent update of gnome-shell or gdm.

Thank you very much in advance.

P.S: My computer is not a laptop

Last edited by Scriptor (2017-10-12 14:38:47)

Offline

#2 2017-10-12 10:39:32

headkase
Member
Registered: 2011-12-06
Posts: 2,005

Re: [SOLVED]Gnome session closed when turning off screen

Do you mean turning off your screen with the power button on it logs you out?  Or do you mean putting the screen in some kind of power-saving mode?  Is your connection HDMI?  I believe those will tell the computer when they are turned off.  If you're VGA or DVI then I wouldn't think so.  DisplayPort I don't know about.

Offline

#3 2017-10-12 11:22:26

Scriptor
Member
Registered: 2011-01-16
Posts: 146

Re: [SOLVED]Gnome session closed when turning off screen

Hello,

Thank you for your answer. So, my connection is HDMI, and when I turn off my screen.

Thank you in advance.

Offline

#4 2017-10-12 14:29:51

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

Re: [SOLVED]Gnome session closed when turning off screen

Check jour journal - gnome-shell probably crashed.

Offline

#5 2017-10-12 14:38:25

Scriptor
Member
Registered: 2011-01-16
Posts: 146

Re: [SOLVED]Gnome session closed when turning off screen

So, I tried to check my journal. For that I turned off my screen again, and when turning it back on, it was completely normal (my session was not closed). I have no idea how or why. The only reason I might find, is that I changed (for another reason) my /etc/X11/corg.conf.d/20-intel.conf:

Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option      "AccelMethod"  "sna"
EndSection

I only changed the AccelMethod.

Thank you very much for all your help. I am marking this post as solved, but if anyone had an idea, it would be very welcomed.

Offline

Board footer

Powered by FluxBB