View previous topic :: View next topic |
Author |
Message |
Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Sun May 18, 2014 12:31 pm Post subject: time is wrong in gnome |
|
|
I am unable to set the time in gnome. When i change it as a local user, it takes the settings, but doesn't save them. The system never asks me for the root password. If I login as root, it's the same behavior.
Code: | May 18 08:29:51 ninapie gnome-session[603]: (gnome-settings-daemon:650): datetime-plugin-WARNING **: Could not get 'org.freedesktop.timedate1.set-timez
one' permission: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.timedate1.set-timezone is not registered
May 18 08:29:46 ninapie org.gnome.Shell.CalendarServer[620]: (gnome-shell-calendar-server:694): ShellCalendarServer-WARNING **: Error opening cal
endar 1376000301.1944.4@ninapie: Cannot open calendar: Failed to obtain an access token for 'Calendar': GDBus.Error:org.gnome.OnlineAccounts.Error.NotA
uthorized: No credentials found in the keyring
May 18 08:29:46 ninapie goa[720]: secret_password_lookup_sync() returned NULL [goautils.c:244, goa_utils_lookup_credentials_sync()]
May 18 08:29:46 ninapie org.gnome.OnlineAccounts[620]: 08:29:46.182:[2843]:[WARNING]: secret_password_lookup_sync() returned NULL [goautils.c:244, goa_
utils_lookup_credentials_sync()] |
Code: | 08:30:06^root@ninapie:~ > timedatectl
Local time: Sun 2014-05-18 08:31:05 EDT
Universal time: Sun 2014-05-18 12:31:05 UTC
RTC time: Sun 2014-05-18 12:31:02
Time zone: America/New_York (EDT, -0400)
NTP enabled: yes
NTP synchronized: no
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2014-03-09 01:59:59 EST
Sun 2014-03-09 03:00:00 EDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2014-11-02 01:59:59 EDT
Sun 2014-11-02 01:00:00 EST
08:31:05^root@ninapie:~ > |
_________________ cya |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Sun May 18, 2014 3:37 pm Post subject: |
|
|
Did you boot on Systemd? It's look like a Dbus permissions problem. The file /etc/dbus-1/system.d/org.freedesktop/timedate1.conf seem's to allow users to set the clock by default.
I use, with root permissions, the ntpdate command to set the system clock and hwclock -uw to set the hardware clock in UTC (recommanded). The /etc/conf.d/hwclock file have
for the system clock being set correctly at boot time from hardware clock according with the time zone of /etc/localtime. My .bashrc export the TZ environment variable to my localtime (America/Montreal).
Code: | export TZ='America/Montreal' |
_________________ Paul |
|
Back to top |
|
|
Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Mon May 19, 2014 2:12 am Post subject: |
|
|
Logicien wrote: | Did you boot on Systemd? It's look like a Dbus permissions problem. The file /etc/dbus-1/system.d/org.freedesktop/timedate1.conf seem's to allow users to set the clock by default.
I use, with root permissions, the ntpdate command to set the system clock and hwclock -uw to set the hardware clock in UTC (recommanded). The /etc/conf.d/hwclock file have
for the system clock being set correctly at boot time from hardware clock according with the time zone of /etc/localtime. My .bashrc export the TZ environment variable to my localtime (America/Montreal).
Code: | export TZ='America/Montreal' |
| My actual system clock is fine. It is gnome, that is showing the wrong one. I tried UTC and local, but neither one is making a difference.
I didn't try the variable export. _________________ cya |
|
Back to top |
|
|
greyspoke Apprentice
Joined: 08 Jan 2010 Posts: 171
|
Posted: Mon May 19, 2014 7:43 am Post subject: |
|
|
I have a possibly similar issue, recently arrived after an upgrade (or possibly the clocks going forward, though I think I would have noticed it before if that was the case). The clock works fine from the command line, "date" says exactly what it should. Which is that the system clock is set to UTC, time-zone set to London in the neighbouring country of England so it correctly adds an hour for daylight saving to give the actual time.
The hardware clock is updated to the system clock time at shutdown and the system clock is kept timely by NTP (by enabling ntpdate.service).
Gnome recognises all that stuff, says what the time zone is but the time display on the top thingy gives me UTC not UTC + 1. |
|
Back to top |
|
|
poncho Tux's lil' helper
Joined: 06 Mar 2011 Posts: 92
|
|
Back to top |
|
|
greyspoke Apprentice
Joined: 08 Jan 2010 Posts: 171
|
Posted: Mon May 19, 2014 10:29 am Post subject: |
|
|
Thanks poncho, that looks like it. |
|
Back to top |
|
|
Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Mon May 19, 2014 12:16 pm Post subject: |
|
|
worked _________________ cya |
|
Back to top |
|
|
greyspoke Apprentice
Joined: 08 Jan 2010 Posts: 171
|
Posted: Wed May 21, 2014 4:01 pm Post subject: |
|
|
I tried using the machine before downgrading timezone-data. Boy does that bug create havoc, internet slowed to a crawl and gentoo file manager had a nervous breakdown. Fortunate that the clock display alerted me that something was wrong, otherwise I would have been scratching my head (or even tearing my hair out). |
|
Back to top |
|
|
|