trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2018

Re: Re: Re: Remove session lock?

From: deloptes <deloptes@...>
Date: Sun, 08 Apr 2018 01:24:01 +0200
Thierry de Coulon wrote:

> On Saturday 07 April 2018 23.18:24 deloptes wrote:
>> Thierry de Coulon wrote:
>> > I don't use the screensaver. Nik mentioned kdesktop_lock as the
>> > problem.
>>
>> isn't it related - lock yes|no - screensaver yes|no
> 
> neither are set, but suspend does lock
> 

It might be worth a bug request, to at least clarify.

>> if it does not help kdesktop_lock shows following options
>>
>> --forcelock
>> --dontlock
>> --securedialog
>> --blank
>> --internal
>>
> 
> Interestingly:
> 
> /opt/trinity/bin/tdesktop_lock --forcelock
> 
> locks the desktop, which seems logic.
> 
> /opt/trinity/bin/tdesktop_lock --dontlock   ....
> 
> also locks the desktop!
> 
> So it really looks like the only way is to rename kdesktop_lock.
> On wheezy it does make it impossible to shutdown from GUI (suspend works,
> though). On Stretch it sends me back to the login screen.
> 

What if you rename to tdesktop_lock and create an executable bash script
with content

#!/bin/bash
tdesktop_lock --dontlock

try then 

killall -TERM tdesktop_lock
killall -TERM kdesktop_lock

regards