Hello,
we are using HP T620 with ThinPro 5.2 to connect to our Citrix environment.
We have two commands set in registry
- Shutdown Command after session logoff
- Shutdown Command in case of inactivaty before user log in
To 1)
We have set following registry value (command):
sudo halt
to the registry key:
root/ConnectionType/xen/connections/<UUID>/ afterStoppedCommand
The command works, but now everytime we want to restart or logoff the local user, this command will be execute and the device turns off.
To 2)
We have set following registry value (command):
bash -c "(sleep 300; wmctrl -lx | grep process-connection.Process-connection > /dev/null && sudo halt)&"
to the registry key:
root/ConnectionType/xen/connections/<UUID>/ beforeStartingCommand
This command works too, but this has an impact on our device status in HPDM. So every device which shuts down after five minutes is still ONLINE on our HPDM.
Any one has got similar functions and perhaps another solution?
Kind regards
Lukas