Jump to content

Photo

Lock screen unlocks by itself sometimes

lockscreen

Best Answer ghoul, 20 June 2017 - 07:34 PM

My final working solution is using light-locker.

 

To make it work I had to put "dm-tool lock" into settings > screen > screen lock > use custom screenlock command.

Go to the full post


  • Please log in to reply
18 replies to this topic

#1 ghoul

ghoul

    Member

  • Members
  • 29 posts
  • LocationL'viv, Ukraine

Posted 09 February 2017 - 12:22 PM

Hi all,

 

I've noticed that my lock screen unlocks by itself sometimes. For example if I leave my laptop locked for a few hour it is often unlocked when I return to it.

 

I do not use autologin.

 

I'm the only person who knows my password.

 

Any suggestion how can I fix that?

Or at least where to look for hints/logs?

 

Thanks


I like bodhi. It is beautiful.




A big thank you to everyone who contributes to Bodhi Linux


#2 Jeff

Jeff

    Lead Developer

  • Developer
  • 12522 posts
  • LocationBloomington, IL

Posted 09 February 2017 - 02:28 PM

Can't say I've ever seen this. Anyone else able to reproduce this? Going to start locking my PCs on the regular when I walk away to see if they stay locked when I come back, but the few times I've had to do this at work I've never had an issue.



#3 Oblio

Oblio

    Bodhi Team

  • Team
  • 176 posts
  • LocationA desk in the Midwest

Posted 10 February 2017 - 02:21 PM

Hi all,

 

I've noticed that my lock screen unlocks by itself sometimes. For example if I leave my laptop locked for a few hour it is often unlocked when I return to it.

Do you have your system set to manually lock after a certain time or are you manually locking it when you leave your PC? 

 

I'll attempt to set my system up to replicate this, just let me know - thank you!


Xeon E3-1220 v3 3.1GHz Quad, ASRock Rack E3C224, 2x 8GB Kingston KVR16E11/8I DDR3-1600 ECC CL11 Intel Chips (Dual Channel), EVGA GeForce GTX 570, Samsung SM863 120GB OS SSD, 2x WD RED 3TB HDDs (Raid 0), Focusrite Scarlett 2i4, Antec Earthwatts EA-750 80 Plus Platinum 750w PSU - Bodhi 4.1.0 64

AMD Phenom II X4 940 3.0GHz Quad, Gigabyte GA-MA78GPM-DS2H, 2x 2GB Kingston KHX8500D2K2 DDR2-1066 (Dual Channel), EVGA GeForce GTX 570, Intel 30GB OS SDD, Seagate ST31000340AS 1TB HDD, Seagate STBD4000400 4TB HDD, EVGA 500w Bronze Plus 80+ PSU - Bodhi Linux 3.2.1 64


#4 Jeff

Jeff

    Lead Developer

  • Developer
  • 12522 posts
  • LocationBloomington, IL

Posted 10 February 2017 - 07:14 PM

I believe this issue is actually related to this crash that is causing most of our other headaches in this release: http://forums.bodhil...oksha-segfault/

Basically popups are causing the desktop to dump and the lock screen is basically a giant popup. The desktop crashes, which causes an auto restart, which removes the lock screen.



#5 ghoul

ghoul

    Member

  • Members
  • 29 posts
  • LocationL'viv, Ukraine

Posted 13 February 2017 - 03:13 PM

oblio2231 -  I manually lock my screen.

 

Jeff - thanks for pointing this out  :rolleyes:  I've disabled window geometry. Will report back here if the problem is solved.


I like bodhi. It is beautiful.


#6 -Alister-

-Alister-

    Member

  • Members
  • 1 posts

Posted 16 February 2017 - 03:19 PM

This issue has been happening to me also, quite often my system doesn't lock itself at all this has happened whenever i manually lock the screen.



#7 ghoul

ghoul

    Member

  • Members
  • 29 posts
  • LocationL'viv, Ukraine

Posted 23 February 2017 - 06:14 AM

After doing what Jeff suggested the problem did not happened in 10 days.

Marking this as solved.

BTW, I did not noticed any visual difference with those options disabled :)

 

Thanks, Jeff!


I like bodhi. It is beautiful.


#8 ghoul

ghoul

    Member

  • Members
  • 29 posts
  • LocationL'viv, Ukraine

Posted 24 March 2017 - 12:42 PM

Still happens to me :(

Despite of disabling those settings.

 

It is not so frequent now, but still the screen sometimes unlocks by itself :(


I like bodhi. It is beautiful.


#9 Jeff

Jeff

    Lead Developer

  • Developer
  • 12522 posts
  • LocationBloomington, IL

Posted 24 March 2017 - 12:47 PM

Those settings won't change this (at least they shouldn't in theory). The lock screen uses the same EFL technology that the popups use that are causing crashes.

 

Honestly - I don't have the exp with C to chase down this issue without spending a lot of time. It could be an issue in the Moksha source itself or in the upstream EFL release, most likely the latter since this was not happening in previous Bodhi releases - but it doesn't make this any less frustrating.



#10 ghoul

ghoul

    Member

  • Members
  • 29 posts
  • LocationL'viv, Ukraine

Posted 12 April 2017 - 08:26 AM

Hi,

 

is it possible to do any of the following:

  1. Force lock screen after E17 crashes?
  2. Use alternate lock screen app?

Any of the above effectively solves the problem :)

 

Thanks!


I like bodhi. It is beautiful.


#11 Randy

Randy

    Bodhi-Care

  • Members
  • 649 posts
  • LocationFort Wayne, IN USA

Posted 12 April 2017 - 09:12 AM

You could try xscreensaver instead. It has settings to lock the screen. There are also other screen locking packages in the repo. You could try one of those. I have also tried light-locker and it works.


Randy Fry



Linux Addict!

#12 audiofumes

audiofumes

    Member

  • Members
  • 3 posts

Posted 10 May 2017 - 06:19 PM

Just moved to 4.1.0 recently and noticed the problem after a manual screen lock.  I was able to recreate the problem and time it and it seems to auto-unlock after 5 minutes consistently.   The screen does a complete refresh that looks like a crash recovery.  I applied Jeff's geometry work-around suggestion and the lock stayed until I manually unlocked (approx 10 minutes).  After unlocking the screen did the complete  desktop / window refresh dance.  I'll try the work-around on another laptop and monitor...



#13 audiofumes

audiofumes

    Member

  • Members
  • 3 posts

Posted 11 May 2017 - 12:35 PM

Update: left two laptops locked via manual screen lock overnight - both with the geometry setting change.  One unlocked itself at some point, the other was still on the lock screen but keyboard input unavailable.  Ended up using CTRL-Alt-F1 and restarted lightdm.  Note these are both dual screen laptops one with an external monitor and the latter one docked.



#14 ghoul

ghoul

    Member

  • Members
  • 29 posts
  • LocationL'viv, Ukraine

Posted 12 May 2017 - 05:10 PM

I'm currently trying solution with light-locker, as suggested by Randy.

Will report my results. But I need at least a week for testing this.


I like bodhi. It is beautiful.


#15 Randy

Randy

    Bodhi-Care

  • Members
  • 649 posts
  • LocationFort Wayne, IN USA

Posted 14 May 2017 - 10:14 PM

There seems to be a ton of setting for screen lock in Enlightenment. We have settings for locking applications, unlocking applications, screen lock, and screen blanking.  

 

I am using light-locker and it locks when lid closes as well as when screen blanks with timer. These are my screen lock settings ( my machine is a Dell xps laptop). 

 

 

 

7UaTKnH.png

 

 

 

 

zCyIwMW.png

 

 

 

JWtQBNL.png

 

 

 

zF1Cilm.png

 

 

 

Here are my blanking settings...

 

8JFftOq.png

 

 

hUmEEXJ.png

 

Here are my lock application settings...

 

sBV396c.png

 

 

Screen Unlock Applications...

 

Dbslwcf.png

 

 

 

In summary, My box is set to lock via the blanking settings after 90 minutes without suspend on a/c power, and to lock and suspend on lid close. 

 

This works without fail and never unlocks on it's own.  Funny, I barely use any of the screen lock settings.


Randy Fry



Linux Addict!

#16 audiofumes

audiofumes

    Member

  • Members
  • 3 posts

Posted 18 May 2017 - 06:53 PM

I'm going to try Randy's suggestion as well.



#17 ghoul

ghoul

    Member

  • Members
  • 29 posts
  • LocationL'viv, Ukraine

Posted 20 June 2017 - 07:34 PM   Best Answer

My final working solution is using light-locker.

 

To make it work I had to put "dm-tool lock" into settings > screen > screen lock > use custom screenlock command.


I like bodhi. It is beautiful.


#18 Jeff

Jeff

    Lead Developer

  • Developer
  • 12522 posts
  • LocationBloomington, IL

Posted 20 June 2017 - 09:48 PM

FYI this should now be solved using the latest EFL version in the stable repos. 



#19 ghoul

ghoul

    Member

  • Members
  • 29 posts
  • LocationL'viv, Ukraine

Posted 21 June 2017 - 04:28 PM

Thanks, Jeff!
 

I always try too keep my system up to date. So, maybe the problem was indeed fixed in EFL (and not by light-locker workaround).


I like bodhi. It is beautiful.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users