Thank for the comments.

Now, I remember why I turned off the screen lock at my office.
Because when I logged in through remmina (from home), if the 
remote X terminal screen locks on, then I could not login any more into
my session. I had to kill it from another session.
It is why I though that when I log remotely, there is probably an
environment variable which has a different value (compared to a 
straight login). I could test
this variable through a .bashrc and decide to active or not the 
screen lock.
It looks like some thing which makes sense to me.

Thank.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


> Sent: Thursday, June 09, 2016 at 8:15 PM
> From: "Samuel Sieb" <sam...@sieb.net>
> To: "Community support for Fedora users" <users@lists.fedoraproject.org>
> Subject: Re: screen lock
>
> On 06/09/2016 11:11 AM, Rick Stevens wrote:
> > On 06/09/2016 10:57 AM, Samuel Sieb wrote:
> >> On 06/09/2016 10:48 AM, Patrick Dupre wrote:
> >>> However, I would like that the lock be activated only when I login from
> >>> my desk, and not when I login remotely by using remmina.
> >>> It is possible to set up something ?
> >>>
> >> I don't think so.  Why would there be a difference?  When you're using
> >> remmina, you're still using the local desktop screen as if you were
> >> actually there.
> >
> > Are you, though? Isn't that a forwarded X connection? If so, the system
> > might not honor the screen locks and such since you're not using the
> > local keyboard/mouse. This is just a guess, mind you.
> 
> I was assuming the typical case where you're using vino for screen 
> sharing.  In that case, it is screen-scraping the X server, so you see 
> what is displayed on your monitor.  That's why I need to remember to 
> turn off my monitors when I leave work, so anyone walking by can't see 
> what I'm doing. :-)
> 
> If what Patrick is doing is something different than that, then the 
> options might be different as well.
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to