• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Auto log off doesn't work

Scheduled Pinned Locked Moved Unsolved
FOG Problems
5
11
898
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    lebrun78
    last edited by Feb 12, 2018, 5:25 PM

    Hello,
    I would like too test auto log off service but it doesn’ seem working.

    here are the log of the client:

    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:12 Client-Info Client Version: 0.11.12
     12/02/2018 18:12 Client-Info Client OS:      Windows
     12/02/2018 18:12 Client-Info Server Version: 1.4.4
     12/02/2018 18:12 Middleware::Response No Printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:12 Client-Info Client Version: 0.11.12
     12/02/2018 18:12 Client-Info Client OS:      Windows
     12/02/2018 18:12 Client-Info Server Version: 1.4.4
     12/02/2018 18:12 Middleware::Response Success
     12/02/2018 18:12 PowerManagement Calculating tasks to unschedule
     12/02/2018 18:12 PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:12 Client-Info Client Version: 0.11.12
     12/02/2018 18:12 Client-Info Client OS:      Windows
     12/02/2018 18:12 Client-Info Server Version: 1.4.4
     12/02/2018 18:12 Middleware::Response Success
    ------------------------------------------------------------------------------
    
     12/02/2018 18:12 Service Sleeping for 246 seconds
     12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&con
    e&json
     12/02/2018 18:16 Middleware::Response Success
     12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&mac
    1D&newService&json
     12/02/2018 18:16 Middleware::Authentication Waiting for authentication timeout to pass
     12/02/2018 18:16 Middleware::Communication Download: http://toto.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt
     12/02/2018 18:16 Data::RSA FOG Server CA cert found
     12/02/2018 18:16 Middleware::Authentication Cert OK
     12/02/2018 18:16 Middleware::Communication POST URL: http://toto.univ-rennes1.fr/fog/management/index.php?sub=requestClientInf
    ervice
     12/02/2018 18:16 Middleware::Response Success
     12/02/2018 18:16 Middleware::Authentication Authenticated
     12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&mac
    1D&newService&json
     12/02/2018 18:16 Middleware::Response Success
     12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/service/getversion.php?clientver&newService&js
     12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/service/getversion.php?newService&json
    
     12/02/2018 18:16 Service Creating user agent cache
     12/02/2018 18:16 Middleware::Response Invalid time
     12/02/2018 18:16 Middleware::Response No Printers
     12/02/2018 18:16 Middleware::Response Module is disabled globally on the FOG server
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:16 Client-Info Client Version: 0.11.12
     12/02/2018 18:16 Client-Info Client OS:      Windows
     12/02/2018 18:16 Client-Info Server Version: 1.4.4
     12/02/2018 18:16 Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:16 Client-Info Client Version: 0.11.12
     12/02/2018 18:16 Client-Info Client OS:      Windows
     12/02/2018 18:16 Client-Info Server Version: 1.4.4
     12/02/2018 18:16 Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:16 Client-Info Client Version: 0.11.12
     12/02/2018 18:16 Client-Info Client OS:      Windows
     12/02/2018 18:16 Client-Info Server Version: 1.4.4
     12/02/2018 18:16 Middleware::Response Success
     12/02/2018 18:16 HostnameChanger Checking Product Key Activation
     12/02/2018 18:16 HostnameChanger Already activated with correct key
     12/02/2018 18:16 HostnameChanger Checking Hostname
     12/02/2018 18:16 HostnameChanger Hostname is correct
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:16 Client-Info Client Version: 0.11.12
     12/02/2018 18:16 Client-Info Client OS:      Windows
     12/02/2018 18:16 Client-Info Server Version: 1.4.4
     12/02/2018 18:16 Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:16 Client-Info Client Version: 0.11.12
     12/02/2018 18:16 Client-Info Client OS:      Windows
     12/02/2018 18:16 Client-Info Server Version: 1.4.4
     12/02/2018 18:16 Middleware::Response No Printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:16 Client-Info Client Version: 0.11.12
     12/02/2018 18:16 Client-Info Client OS:      Windows
     12/02/2018 18:16 Client-Info Server Version: 1.4.4
     12/02/2018 18:16 Middleware::Response Success
     12/02/2018 18:16 PowerManagement Calculating tasks to unschedule
     12/02/2018 18:16 PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     12/02/2018 18:16 Client-Info Client Version: 0.11.12
     12/02/2018 18:16 Client-Info Client OS:      Windows
     12/02/2018 18:16 Client-Info Server Version: 1.4.4
     12/02/2018 18:16 Middleware::Response Success
    ------------------------------------------------------------------------------
    
     12/02/2018 18:16 Service Sleeping for 275 seconds```
    
    Could you help me.
    
    Would it work under linux ?
    
    Lebrun

    Fog Version: Fog 1.5.10
    Server OS: AlmaLinux release 8.8

    T 1 Reply Last reply Feb 12, 2018, 5:29 PM Reply Quote 0
    • T
      Tom Elliott @lebrun78
      last edited by Feb 12, 2018, 5:29 PM

      @lebrun78 what time have you set? Anything below 5 minutes is invalid.

      The message presented by the logs also says “Invalid time”

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • L
        lebrun78
        last edited by Feb 13, 2018, 8:50 AM

        Thanks Tom,
        Yes it’s working with 6 minutes.
        Should it work with a linux client (fedora or centos) ?

        Fog Version: Fog 1.5.10
        Server OS: AlmaLinux release 8.8

        T 1 Reply Last reply Feb 13, 2018, 9:03 AM Reply Quote 0
        • T
          Tom Elliott @lebrun78
          last edited by Feb 13, 2018, 9:03 AM

          @lebrun78 it should yes.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Feb 13, 2018, 1:11 PM

            @lebrun78 Do you see any issues logging users off on Linux machines? If not I’d mark this solved.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • A
              adrien17
              last edited by Feb 21, 2018, 4:20 PM

              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.

              1 Reply Last reply Reply Quote 0
              • J
                Joe Schmitt Senior Developer
                last edited by Joe Schmitt Feb 21, 2018, 11:16 AM Feb 21, 2018, 5:12 PM

                @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).

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                1 Reply Last reply Reply Quote 1
                • A
                  adrien17
                  last edited by Feb 23, 2018, 3:27 PM

                  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 file

                  I tried to install xprintidle under python3.5 by “pip3 install xprintidle” but this fails.
                  Thanks for all

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer
                    last edited by Joe Schmitt Feb 23, 2018, 11:25 AM Feb 23, 2018, 5:25 PM

                    @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.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    1 Reply Last reply Reply Quote 0
                    • A
                      adrien17
                      last edited by Feb 26, 2018, 5:00 PM

                      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.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joe Schmitt Senior Developer
                        last edited by Mar 1, 2018, 6:11 PM

                        @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.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        207

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project