Auto log off doesn't work
-
@lebrun78 what time have you set? Anything below 5 minutes is invalid.
The message presented by the logs also says “Invalid time”
-
Thanks Tom,
Yes it’s working with 6 minutes.
Should it work with a linux client (fedora or centos) ? -
@lebrun78 it should yes.
-
@lebrun78 Do you see any issues logging users off on Linux machines? If not I’d mark this solved.
-
Hello,
on Fedora 25 - 26 and on CentOS-7, it doesn’t work.
The file fog.log does do contain the logout feature.
This file is:
[0_1519229981151_fog.log](Uploading 100%)
Thanks. -
@adrien17 the autologout module is contained in a different, user-specific, log
~/.fog_user.log
However, my gut reaction is that you’re missing the needed dependency for Linux autologout:
xprintidle
. Try installing that via your package manager (or even use a snapin to automate it!) (src: https://github.com/fogproject/fog-client#autologout). -
Hello,
I have installed libXScrnSaver-devel (by dnf) and xprintidle (by pip).
The file xprintidle.py is in /usr/lib64/python-2.7/site-packages.
But on the user log I have:
—AutoLogOut—
User ERROR: Unable to get user inactivity time
User ERROR: ApplicationName=‘xprintidle’, CommandLine=‘’, CurrentDirectory=‘’, Native error= Cannot find the specified fileI tried to install xprintidle under python3.5 by “pip3 install xprintidle” but this fails.
Thanks for all -
@adrien17 you need to install “xprintidle” from the package manager, exactly. The devel and python packages won’t work.
It’s in the Debian based repos by default, but you can still install it on REHL based systems (Fedora, CentOS,…). See https://ask.fedoraproject.org/en/question/96605/how-to-install-xprintidle-on-fedora-24/?answer=96623#post-id-96623 for a basic idea on how to do that.
-
Hello,
I have installed xprintidle by rpm. Now there is no more error in the user log; however, the auto-logout does not happen.
In the user config, I activate the screensaver, but not the suspend. -
@adrien17 I sent you a chat message earlier with some further debugging information. You should be able to see it in the little chat button next to your profile picture on the top navbar.