You are not logged in.

#1 2016-04-11 16:00:38

Peregrino69
Member
Registered: 2016-03-11
Posts: 99

How to disable auto logout?

Hi

My system is logging me out every so often, and I can't find a way to disable it. Halp pls.

Offline

#2 2016-04-11 16:43:51

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: How to disable auto logout?

Hey, I'm assuming you mean when your locked out, and lightdm is presenting you with the login screen again?

If that's what you mean , then as root, edit your /etc/lightdm-gtk-greeter.conf.bunsen   file.
Search for the line:

#screensaver-timeout =

I believe if you un-comment it, and set it to 0, it will be infinite.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#3 2016-04-11 18:13:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: How to disable auto logout?

Peregrino69 wrote:

My system is logging me out every so often

Please explain this in more detail.

Are you being logged out at random when you are doing stuff on the desktop or are you talking about the screen locker?

Offline

#4 2016-04-11 19:01:11

Peregrino69
Member
Registered: 2016-03-11
Posts: 99

Re: How to disable auto logout?

Horizon_Brave, screensaver-timeout is commented out. I don't have xscreensaver installed. $TMOUT isn't set, and there's no TMOUT statement in /etc/profile or profile.

HoaS, sorry... it's not random. Horizon_Brave got it right, after a time of inactivity I'm getting kicked back to the login screen. It looks like just a normal inactivity timeout, maybe around 10min.

That's a bummer, as I might be running a traffic trace or trailing syslog for a couple of hours. So I really need to get this disabled.

Offline

#5 2016-04-11 19:15:06

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: How to disable auto logout?

Try this:
https://forums.bunsenlabs.org/viewtopic … 969#p23969

Log out & back in again to effect the change.

Offline

#6 2016-04-11 20:17:33

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: How to disable auto logout?

Head_on_a_Stick wrote:

Try this:
https://forums.bunsenlabs.org/viewtopic … 969#p23969

Log out & back in again to effect the change.

Hmm, I saw that solution as well, but felt it may have been a bit heavy handed. Is that the only solution to keeping yourself logged in, by completely disabling light-locker?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#7 2016-04-12 01:08:16

Peregrino69
Member
Registered: 2016-03-11
Posts: 99

Re: How to disable auto logout?

Thanks guys. I went the easy way and purged light-locker. It's unnecessary in this setup. I'll check the other two in a virtual machine and post results, at which point I'll mark this solved as well smile

Offline

#8 2016-04-12 06:02:22

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: How to disable auto logout?

Peregrino69 wrote:

Horizon_Brave, screensaver-timeout is commented out.

yes, but H_B's advice was to UN-comment it, and set the value to 0.
then log out/in.

Offline

#9 2016-04-12 06:07:34

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,654
Website

Re: How to disable auto logout?

Before removing light-locker the first thing to try is make sure the settings for xfce4-power-manager ("Power Management" on the menu) are right for you. The tricky one is the  "Display" tab: it doesn't seem to be relevant but by default it will "Handle display power management" and turn everything off after 10~15 minutes. That, in turn, will trigger LightLocker. Just move all those sliders over to the left, ie "Never". That usually fixes it for me on new installs.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#10 2016-04-12 06:37:26

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: How to disable auto logout?

Peregrino69 wrote:

I went the easy way and purged light-locker. It's unnecessary in this setup.

To get the "Lock screen" menu entry working again, use:

sed -i 's/bl-lock/slock/' ~/.config/openbox/menu.xml && openbox --reconfigure

This will use slock instead -- to unlock the screen simply type your password and press return.

Offline

#11 2016-04-12 08:21:06

Peregrino69
Member
Registered: 2016-03-11
Posts: 99

Re: How to disable auto logout?

Thanks again guys. As this is a headless lab server, only remoting in, lockout is really irrelevant. But I'll definitely check the rest of the suggestions out and feed back smile

Offline

#12 2016-04-13 00:17:29

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: How to disable auto logout?

Speaking of which... where does light-locker keep it's conf file? Does it even use one?  Surely it must store it's configuration like timing somewhere, but I don't see anything but /usr/bin/light-locker, which is the binary itself.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#13 2016-04-13 05:34:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,654
Website

Re: How to disable auto logout?

You've checked out 'dpkg -L light-locker'?
That's the full list of what gets installed.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#14 2016-04-13 07:10:44

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: How to disable auto logout?

Horizon_Brave wrote:

where does light-locker keep it's conf file? Does it even use one?

No.

Some flags may be passed to it (presumably via the .desktop file) and some options may be enabled or disabled at compile time but otherwise it just kicks in after the X11 screensaver blanks the screen.

The Debian man page site is broken ATM so here is the upstream documentation:
https://github.com/the-cavalry/light-locker

Offline

Board footer

Powered by FluxBB