Hi Andreas, Re Problem 1:
When you type "date", does it give you something other than GMT or UTC at the end of the resulting line? I get "Sun Jan 26 21:14:11 GMT 2014". Now, this happens to be correct for my timezone anyway as I'm in the UK.
I'm guessing that you should get CET. I don't know this for sure, but it could be that OTC is set to have the BIOS time as UTC. It will then add an hour to the BIOS time to give you CET. Because your BIOS time is already 1 hour ahead of UTC, this would result in the offset you are seeing. I can't recall seeing anything OTC-specific relating to this but I do know that both Mageia (the distro I normally use) and Ubuntu use UTC hardware clock by default. Unfortunately, Windows doesn't use UTC by default so you will have an annoyance if you boot the machine into Windows. This may be useful: http://askubuntu.com/questions/169376/clock-time-is-off-by-4-hours.
Re Problem 2:As shutdown uses wall, and this is not trapped by the GUI, you don't get a message on the display. For an immediate shutdown, this has been suggested: "|zenity --warning --text "Shutdown imminent" --display=:0|; |shutdown -h now|". This isn't any use to you though, as the timing comes from shutdown. Hopefully someone else on the list can come up with a solution - all I can think of at the moment is running a script via cron, and I don't know whether it is possible to create an OTC application to do that.
All the best, Mark On 26/01/14 17:38, Andreas Mayer wrote:
Hello, two things with automatic shutdown. Problem 1: After a lot of testing I realized, that the time of the thinclient ist not right. It is one hour ahead. I use OTC minerva, in "Standorte" I have "Zeitzone Europe/Berlin". When I open a Terminal and write "date" I see that the time is one hour ahead. BIOS time is set correctly. Problem 2: Is it possible, that a User sees a Message that the Client will be Shut down? Thanks, Andreas ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ The Open Source Thin Client Solution http://openthinclient.org openthinclient-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openthinclient-user
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ The Open Source Thin Client Solution http://openthinclient.org openthinclient-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openthinclient-user