AutoLogOut on Windows 10 - Service seems to hang
-
Server
- FOG Version: 1.4.1
- OS: CentOS 6.8
Client
- Service Version: 0.11.12
- OS: Windows 10
Description
I’m having an issue with the client not logging me out on Windows 10. The .fog_user log has stalled at the last attempt to logout but there are no error messages. The other log file (fog) is still updating. Here are the last lines of the fog_user log.
`------------------------------------------------------------------------------
----------------------------------AutoLogOut----------------------------------6/23/2017 8:52 PM Client-Info Client Version: 0.11.12
6/23/2017 8:52 PM Client-Info Client OS: Windows
6/23/2017 8:52 PM Client-Info Server Version: 1.4.1
6/23/2017 8:52 PM Middleware::Response Success
6/23/2017 8:52 PM Bus Emmiting message on channel: Notification
6/23/2017 8:52 PM Power Creating shutdown request
6/23/2017 8:52 PM Power Parameters: /l
------------------------------------------------------------------------------`If I restart the service, the fog_user log starts logging again until the next time it tries to log out.
-
@88fingerslukee There was a bug fix in relation to this very thing in 0.11.12
https://news.fogproject.org/fog-client-v0-11-12-released/
It may be that you have some kind of edge case. I’ll investigate.
In the mean time, do you have any systems where it does work correctly? Look at what’s different about those and this one. -
Awesome thanks.
Is there a more detailed log that I can provide?
-
We believe this to be a bug, so moving it to bug reports.
-
@88fingerslukee Sorry for not getting back to you on this for so long. Somehow we must have overlooked this one.
Do you still have that issue? Is it only with one or a couple of clients or do you have this reproducibly on all your clients happening. I don’t think there is any more log that you could provide. But the questions above would definitely help us.
-
@sebastian-roth said in AutoLogOut on Windows 10 - Service seems to hang:
@88fingerslukee Sorry for not getting back to you on this for so long. Somehow we must have overlooked this one.
Do you still have that issue? Is it only with one or a couple of clients or do you have this reproducibly on all your clients happening. I don’t think there is any more log that you could provide. But the questions above would definitely help us.
Yes, still having it. Don’t know about other clients because I only have this one on Windows 10 as a test case.
-
@88fingerslukee said in AutoLogOut on Windows 10 - Service seems to hang:
Don’t know about other clients because I only have this one on Windows 10 as a test case.
What I meant was “other machines” or do you only have one single PC?
-
@sebastian-roth said in AutoLogOut on Windows 10 - Service seems to hang:
@88fingerslukee said in AutoLogOut on Windows 10 - Service seems to hang:
Don’t know about other clients because I only have this one on Windows 10 as a test case.
What I meant was “other machines” or do you only have one single PC?
I have a bunch of Windows 7 machines that work just fine. It seems to be isolated to Windows 10.
-
Has anybody fixed this yet?
-
Pinging the creator of the fog client @joe-schmitt to look at it.
-
@Wayne-Workman thanks for pinging me about this. @88fingerslukee I’ll need to reproduce this issue before being able to properly address it; hopefully it should not take long.
-
@88fingerslukee, @Wayne-Workman helped me out with testing; we are unable to recreate this issue on Windows 10. Do you perhaps have a custom antivirus running, or some GPO policies?
-
@joe-schmitt said in AutoLogOut on Windows 10 - Service seems to hang:
@Wayne-Workman thanks for pinging me about this. @88fingerslukee I’ll need to reproduce this issue before being able to properly address it; hopefully it should not take long.
I run Avast Business Antivirus on the workstations. Both Windows 7 and Windows 10. It obviously doesn’t affect the Windows 7 machines.
I also have GPOs. How do you want me to give you that information?
-
@88fingerslukee after double checking, the FOG Client does not force log offs; this means that any other user process can stop the log off. This indicates the problem is likely another program on the computer, that or a GPO policy is blocking it.
Could you try running:
shutdown.exe /l
manually on a problematic machine and see what happens?However, ultimately I would recommend using GPO to handle inactivity log outs. There are some known restrictions with the log out module (https://github.com/fogproject/fog-client#autologout)
-
@joe-schmitt said in AutoLogOut on Windows 10 - Service seems to hang:
@88fingerslukee after double checking, the FOG Client does not force log offs; this means that any other user process can stop the log off. This indicates the problem is likely another program on the computer, that or a GPO policy is blocking it.
Could you try running:
shutdown.exe /l
manually on a problematic machine and see what happens?This command works and logs me out. For some reason it isn’t happening automatically
However, ultimately I would recommend using GPO to handle inactivity log outs. There are some known restrictions with the log out module (https://github.com/fogproject/fog-client#autologout)
Can you tell me how I would do inactivity logouts via GPO? The reason I use Fog for this purpose is because there was never any other way to do this.