Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: how sync bios time with xfce time? (Read 1396 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

how sync bios time with xfce time?

timeset-gui install error
Code: [Select]
home:[freeartist-artix]:~$ yay -S timeset-gui
AUR Explicit (1): timeset-gui-2.5-1
AUR Dependency (3): gksu-2.0.2-6, libgksu-2.0.12-9, gconf-3.2.6+11+g07808097-10
Sync Dependency (1): libgnome-keyring-1:3.12.0+r14+g23438cc-1
Sync Make Dependency (3): gtk-doc-1.34.0-1, gobject-introspection-1.80.1-3, gnome-common-3.18.0-4.1
:: PKGBUILD up to date, skipping download: timeset-gui
:: PKGBUILD up to date, skipping download: gksu
:: PKGBUILD up to date, skipping download: libgksu
:: PKGBUILD up to date, skipping download: gconf
  4 gconf                                    (Build Files Exist)
  3 timeset-gui                              (Build Files Exist)
  2 gksu                                     (Build Files Exist)
  1 libgksu                                  (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/4): /home/freeartist-artix/.cache/yay/gconf
HEAD is now at 59d9b4e Tidy up package() and fix the wildcard
Removing gconf/
Removing src/
:: Deleting (2/4): /home/freeartist-artix/.cache/yay/timeset-gui
HEAD is now at d1ee3d4 update to version 2.5
Removing 2.5.tar.gz
Removing src/
:: Deleting (3/4): /home/freeartist-artix/.cache/yay/gksu
HEAD is now at 8ab6f11 Fixed errors raised by "-Werror=format-security"
Removing gksu-2.0.2.tar.gz
Removing src/
:: Deleting (4/4): /home/freeartist-artix/.cache/yay/libgksu
HEAD is now at b4271bb fix security format problems
Removing libgksu-2.0.12.tar.gz
Removing src/
  4 gconf                                    (Build Files Exist)
  3 timeset-gui                              (Build Files Exist)
  2 gksu                                     (Build Files Exist)
  1 libgksu                                  (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: timeset-gui 2.5-1 (Sat 11 May 2024 11:07:23 UTC)
==> Retrieving sources...
  -> Downloading 2.5.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 95722    0 95722    0     0   113k      0 --:--:-- --:--:-- --:--:--  324k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha1sums...
    2.5.tar.gz ... Passed
==> Making package: gksu 2.0.2-6 (Sat 11 May 2024 11:07:25 UTC)
==> Retrieving sources...
  -> Downloading gksu-2.0.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  457k  100  457k    0     0   312k      0  0:00:01  0:00:01 --:--:--  312k
  -> Found gksu-2.0.2-gksu_gksu.c.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    gksu-2.0.2.tar.gz ... Passed
    gksu-2.0.2-gksu_gksu.c.patch ... Passed
==> Making package: libgksu 2.0.12-9 (Sat 11 May 2024 11:07:29 UTC)
==> Retrieving sources...
  -> Downloading libgksu-2.0.12.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   332  100   332    0     0    933      0 --:--:-- --:--:-- --:--:--   935
100  466k  100  466k    0     0   254k      0  0:00:01  0:00:01 --:--:--  427k
  -> Found libgksu-2.0.0-fbsd.patch
  -> Found libgksu-2.0.12-automake-1.11.2.patch
  -> Found libgksu-2.0.12-fix-make-3.82.patch
  -> Found libgksu-2.0.12-notests.patch
  -> Found libgksu-2.0.12-revert-forkpty.patch
  -> Found libgksu-2.0.7-libs.patch
  -> Found libgksu-2.0.7-polinguas.patch
  -> Found libgksu-2.0.12-security-format.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
    libgksu-2.0.12.tar.gz ... Passed
    libgksu-2.0.0-fbsd.patch ... Passed
    libgksu-2.0.12-automake-1.11.2.patch ... Passed
    libgksu-2.0.12-fix-make-3.82.patch ... Passed
    libgksu-2.0.12-notests.patch ... Passed
    libgksu-2.0.12-revert-forkpty.patch ... Passed
    libgksu-2.0.7-libs.patch ... Passed
    libgksu-2.0.7-polinguas.patch ... Passed
    libgksu-2.0.12-security-format.patch ... Passed
==> Making package: gconf 3.2.6+11+g07808097-10 (Sat 11 May 2024 11:07:32 UTC)
==> Retrieving sources...
  -> Cloning gconf git repo...
Cloning into bare repository '/home/freeartist-artix/.cache/yay/gconf/gconf'...
remote: Enumerating objects: 21531, done.
remote: Total 21531 (delta 0), reused 0 (delta 0), pack-reused 21531
Receiving objects: 100% (21531/21531), 10.88 MiB | 7.32 MiB/s, done.
Resolving deltas: 100% (17681/17681), done.
  -> Found 01_xml-gettext-domain.patch
  -> Found gconf-reload.patch
  -> Found gconf-merge-schema
  -> Found gconfpkg
  -> Found gconf-install.hook
  -> Found gconf-remove.hook
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    gconf ... Skipped
    01_xml-gettext-domain.patch ... Passed
    gconf-reload.patch ... Passed
    gconf-merge-schema ... Passed
    gconfpkg ... Passed
    gconf-install.hook ... Passed
    gconf-remove.hook ... Passed
:: Remove make dependencies after install? [y/N]
:: (1/4) Parsing SRCINFO: timeset-gui
:: (2/4) Parsing SRCINFO: gksu
:: (3/4) Parsing SRCINFO: libgksu
:: (4/4) Parsing SRCINFO: gconf
resolving dependencies...
looking for conflicting packages...

Packages (32) autoconf-archive-1:2023.02.20-2  docbook-xml-4.5-9.1  docbook-xsl-1.79.2-7.1  glib2-docs-2.80.0-4  itstool-1:2.0.7-2  mallard-ducktype-1.0.2-11  python-autocommand-2.2.2-6
              python-fastjsonschema-2.19.1-3  python-inflect-7.2.1-2  python-jaraco.context-4.3.0-4  python-jaraco.functools-4.0.1-1  python-jaraco.text-3.12.0-3  python-lxml-5.1.0-3
              python-mako-1.3.3-2  python-markdown-3.6-3  python-markupsafe-2.1.5-2  python-more-itertools-10.2.0-2  python-ordered-set-4.1.0-5  python-packaging-23.2-3
              python-platformdirs-4.2.0-3  python-pygments-2.17.2-3  python-setuptools-1:69.0.3-6  python-tomli-2.0.1-4  python-trove-classifiers-2024.4.10-1  python-typeguard-4.2.1-2
              python-typing_extensions-4.11.0-1  python-validate-pyproject-0.16-1  yelp-tools-42.1-1  yelp-xsl-42.1-1  gnome-common-3.18.0-4.1  gobject-introspection-1.80.1-3
              gtk-doc-1.34.0-1

Total Download Size:    11.17 MiB
Total Installed Size:  130.91 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 glib2-docs-2.80.0-4-x86_64.pkg.tar.zst failed to download
 Total ( 1/32)                                                                          11.2 MiB   222 KiB/s 00:52 [####################################################################] 100%
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.clarkson.edu : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from ftp.ntua.gr : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from ftp.sh.cvut.cz : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.group.one : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from artix.cccp.io : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from ftp.crifo.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.opensrv.org : Could not resolve host: mirror.opensrv.org
warning: fatal error from mirror.opensrv.org, skipping for the remainder of this transaction
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from quantum-mirror.hu : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.netcologne.de : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.redcorelinux.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.pascalpuffke.de : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from ftp.uni-bayreuth.de : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from artix.unixpeople.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror1.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from eu-mirror.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from tools.sphnet.in : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from ftp.cc.uoc.gr : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from ftp.ntua.gr : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.qontinuum.space : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from artix.sakamoto.pl : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from hitman.go.ro : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from ftp.ludd.ltu.se : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from artix.kurdy.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from artist.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.vinehost.net : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from artix.wheaton.edu : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.clarkson.edu : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.rit.edu : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.ocf.berkeley.edu : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from www.nylxs.com : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from us-mirror.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from gnlug.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.csclub.uwaterloo.ca : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror1.cl.netactuate.com : Failed to connect to mirror1.cl.netactuate.com port 443 after 10002 ms: Timeout was reached
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.aliyun.com : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.nju.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.albony.xyz : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.funami.tech : Failed to connect to mirror.funami.tech port 443 after 10001 ms: Timeout was reached
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.freedif.org : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.cloud.tencent.com : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirrors.nguyenhoang.cloud : The requested URL returned error: 404
error: failed retrieving file 'glib2-docs-2.80.0-4-x86_64.pkg.tar.zst' from mirror.aarnet.edu.au : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
 -> Failed to install layer, rolling up to next layer.error:error installing repo packages
resolving dependencies...
looking for conflicting packages...

Packages (33) autoconf-archive-1:2023.02.20-2  docbook-xml-4.5-9.1  docbook-xsl-1.79.2-7.1  glib2-docs-2.80.0-4  itstool-1:2.0.7-2  mallard-ducktype-1.0.2-11  python-autocommand-2.2.2-6
              python-fastjsonschema-2.19.1-3  python-inflect-7.2.1-2  python-jaraco.context-4.3.0-4  python-jaraco.functools-4.0.1-1  python-jaraco.text-3.12.0-3  python-lxml-5.1.0-3
              python-mako-1.3.3-2  python-markdown-3.6-3  python-markupsafe-2.1.5-2  python-more-itertools-10.2.0-2  python-ordered-set-4.1.0-5  python-packaging-23.2-3
              python-platformdirs-4.2.0-3  python-pygments-2.17.2-3  python-setuptools-1:69.0.3-6  python-tomli-2.0.1-4  python-trove-classifiers-2024.4.10-1  python-typeguard-4.2.1-2
              python-typing_extensions-4.11.0-1  python-validate-pyproject-0.16-1  yelp-tools-42.1-1  yelp-xsl-42.1-1  gnome-common-3.18.0-4.1  gobject-introspection-1.80.1-3
              gtk-doc-1.34.0-1  libgnome-keyring-1:3.12.0+r14+g23438cc-1

Total Download Size:    11.30 MiB
Total Installed Size:  132.03 MiB

:: Proceed with installation? [Y/n]

-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)


Re: how sync bios time with xfce time?

Reply #2
@Ambie  Thanks!

Code: [Select]
pacman -S ntp-openrc
rc-update add ntpd default
rc-service ntpd start

UPD
after reboot time wrong again
-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)

Re: how sync bios time with xfce time?

Reply #3
First set the time to be within the 1000 seconds range:
Code: [Select]
sudo date -s <hh:mm:ss> 
Example
Code: [Select]
sudo date -s 09:31:59

Then to set the time online:

Code: [Select]
sudo ntpd -q

https://www.metaltoad.com/blog/ntp-out-sync

**************

Code: [Select]
sudo pacman -S ntp-openrc
Code: [Select]
sudo rc-service ntp-client start
Code: [Select]
sudo rc-update add ntp-client default

https://forum.artixlinux.org/index.php/topic,1794.0.html

***********

Re: how sync bios time with xfce time?

Reply #4
Thanks, working
-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)

Re: how sync bios time with xfce time?

Reply #5
After reboot
Code: [Select]
ntp-client       | * Setting clock via the NTP client 'ntpdate' ...
avahi-daemon     | * Starting avahi-daemon ...
netmount         | * Mounting network filesystems ...
 [ ok ]
ntp-client       |Exiting, name server cannot be used: Temporary failure in name resolution (-3) * Failed to set clock
 [ !! ]
ntp-client       | * ERROR: ntp-client failed to start
 [ ok ]
conflict with ntpd?
Code: [Select]
home:[root]:/home/freeartist-artix# rc-status
Runlevel: default
 acpid                                                                                                                                                                                    [  started 00:05:33 (0) ]
 dbus                                                                                                                                                                                     [  started 00:05:34 (0) ]
 connmand                                                                                                                                                                                 [  started 00:05:33 (0) ]
 bluetoothd                                                                                                                                                                               [  started 00:05:33 (0) ]
 ntp-client                                                                                                                                                                                           [  stopped  ]
 cronie                                                                                                                                                                                   [  started 00:05:33 (0) ]
 cupsd                                                                                                                                                                                    [  started 00:05:33 (0) ]
 netmount                                                                                                                                                                                             [  started  ]
 lightdm                                                                                                                                                                                  [  started 00:05:32 (0) ]
 ntpd                                                                                                                                                                                     [  started 00:05:42 (0) ]
 local                                                                                                                                                                                                [  started  ]
 agetty.tty5                                                                                                                                                                              [  started 00:05:26 (0) ]
 agetty.tty2                                                                                                                                                                              [  started 00:05:26 (0) ]
 agetty.tty6                                                                                                                                                                              [  started 00:05:26 (0) ]
 agetty.tty4                                                                                                                                                                              [  started 00:05:26 (0) ]
 agetty.tty1                                                                                                                                                                              [  started 00:05:26 (0) ]
 agetty.tty3                                                                                                                                                                              [  started 00:05:26 (0) ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 avahi-daemon                                                                                                                                                                             [  started 00:05:33 (0) ]
Dynamic Runlevel: manual
 openrc-settingsd                                                                                                                                                                                     [  started  ]
home:[root]:/home/freeartist-artix#
-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)

 

Re: how sync bios time with xfce time?

Reply #6
After reboot

Code: [Select]
ntp-client       |Exiting, name server cannot be used: Temporary failure in name resolution (-3) * Failed to set clock
 [ !! ]

"Your ntp servers may need updating in your /etc/ntp.conf file (one of many NTP server lists)." :
https://www.metaltoad.com/blog/ntp-out-sync
https://support.ntp.org/Servers/NTPPoolServers

Re: how sync bios time with xfce time?

Reply #7
tintin, it is possible that your ntp-client is starting before your network connection is established, which could cause the name resolution error.

At this page, it details "The Depend Function"

Does your ntp-client.conf file contain this:
Code: [Select]
depend() {
before cron portmap
after net
use dns logger
}

and your ntpd.conf contain:
Code: [Select]
depend() {
use net dns logger
after ntp-client
}

?

Re: how sync bios time with xfce time?

Reply #8
something with DNS?

my current configs
Code: [Select]
# /etc/conf.d/ntp-client

# Command to run to set the clock initially
# Most people should just leave this line alone ...
# however, if you know what you're doing, and you
# want to use ntpd to set the clock, change this to 'ntpd'
NTPCLIENT_CMD="ntpdate"

# Options to pass to the above command
# This default setting should work fine but you should
# change the default 'pool.ntp.org' to something closer
# to your machine.  See http://www.pool.ntp.org/ or
# try running `netselect -s 3 pool.ntp.org`.
NTPCLIENT_OPTS="-s -b -u \
        0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org \
        2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"

# If you use hostnames above, then you should depend on dns
# being up & running before we try to run.  Otherwise, you
# can disable this.
rc_use="dns"

Code: [Select]
# /etc/conf.d/ntpd

# Options to pass to the ntpd process
# Most people should leave this line alone ...
# however, if you know what you're doing, feel free to tweak
NTPD_OPTS="-g -u ntp:ntp"


-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)

Re: how sync bios time with xfce time?

Reply #9
"Your ntp servers may need updating in your /etc/ntp.conf file (one of many NTP server lists)." :
https://www.metaltoad.com/blog/ntp-out-sync
https://support.ntp.org/Servers/NTPPoolServers
time after boot desktop time is correct but every boot log i see error
Code: [Select]
ntp-client       |Exiting, name server cannot be used: Temporary failure in name resolution (-3) * Failed to set clock
-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)

Re: how sync bios time with xfce time?

Reply #10
yes problem seems with sync time but why xfce show correct time?
-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)

Re: how sync bios time with xfce time?

Reply #11
deepforest

is it possible, as I mentioned above, that net is not required in your ntp init files?  If net is not required/connected at the runlevel that ntp starts, it will initially fail to find a network server.  If this is the case, and the services required for ntp to run properly do not start until your user/login runlevel, ntp will run correctly after this run level has been reached. i.e. the ntp service will not update before xfce starts and the network is up

What are the services  enabled on your different runlevels and, as mentioned above, do you have the correct required resources under a depend section in the init files?

You also may need to enable the UEFI network stack in your BIOS, this will allow network access before you reach the later runlevels.

Could you please let us know what your runlevels/service configurations are, what depends are listed in the init files, and enable the network stack function in your BIOS, then try to reproduce the issue?

Re: how sync bios time with xfce time?

Reply #12
old bios here no UEFI
Code: [Select]
home:[freeartist-artix]:~$ rc-status
Runlevel: default
 metalog                                                                                                                                                                                  [  started 00:01:18 (0) ]
 acpid                                                                                                                                                                                    [  started 00:01:16 (0) ]
 dbus                                                                                                                                                                                     [  started 00:01:18 (0) ]
 connmand                                                                                                                                                                                 [  started 00:01:16 (0) ]
 bluetoothd                                                                                                                                                                               [  started 00:01:16 (0) ]
 ntp-client                                                                                                                                                                                           [  stopped  ]
 cronie                                                                                                                                                                                   [  started 00:01:16 (0) ]
 cupsd                                                                                                                                                                                    [  started 00:01:15 (0) ]
 gpm                                                                                                                                                                                                  [  started  ]
 netmount                                                                                                                                                                                             [  started  ]
 lightdm                                                                                                                                                                                  [  started 00:01:15 (0) ]
 ntpd                                                                                                                                                                                     [  started 00:01:18 (0) ]
 local                                                                                                                                                                                                [  started  ]
 agetty.tty5                                                                                                                                                                              [  started 00:01:08 (0) ]
 agetty.tty2                                                                                                                                                                              [  started 00:01:08 (0) ]
 agetty.tty6                                                                                                                                                                              [  started 00:01:08 (0) ]
 agetty.tty4                                                                                                                                                                              [  started 00:01:08 (0) ]
 agetty.tty1                                                                                                                                                                              [  started 00:01:08 (0) ]
 agetty.tty3                                                                                                                                                                              [  started 00:01:08 (0) ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 avahi-daemon                                                                                                                                                                             [  started 00:01:16 (0) ]
Dynamic Runlevel: manual
 openrc-settingsd                                                                                                                                                                                     [  started  ]
home:[freeartist-artix]:~$

Code: [Select]
home:[freeartist-artix]:~$ rc-update
                acpid |      default                          
          agetty.tty1 |      default                          
          agetty.tty2 |      default                          
          agetty.tty3 |      default                          
          agetty.tty4 |      default                          
          agetty.tty5 |      default                          
          agetty.tty6 |      default                          
               binfmt | boot                                  
           bluetoothd |      default                          
             bootmisc | boot                                  
              cgroups |                                 sysinit
             connmand |      default                          
          consolefont | boot                                  
               cronie |      default                          
                cupsd |      default                          
                 dbus |      default                          
                devfs |                                 sysinit
                dmesg |                                 sysinit
              elogind | boot                                  
            esysusers | boot                                  
        etmpfiles-dev |                                 sysinit
      etmpfiles-setup | boot                                  
                 fsck | boot                                  
                  gpm | boot default                          
             hostname | boot                                  
              hwclock | boot                                  
              keymaps | boot                                  
            killprocs |                        shutdown       
    kmod-static-nodes |                                 sysinit
              lightdm |      default                          
                local |      default nonetwork                
           localmount | boot                                  
             loopback | boot                                  
              metalog | boot default                          
              modules | boot                                  
             mount-ro |                        shutdown       
                 mtab | boot                                  
               net.lo | boot                                  
             netmount |      default                          
           ntp-client |      default                          
                 ntpd | boot default                          
               procfs | boot                                  
                 root | boot                                  
         save-keymaps | boot                                  
    save-termencoding | boot                                  
            savecache |                        shutdown       
              seedrng | boot                                  
                 swap | boot                                  
               sysctl | boot                                  
                sysfs |                                 sysinit
         termencoding | boot                                  
                 udev |                                 sysinit
         udev-trigger |                                 sysinit
home:[freeartist-artix]:~$
-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)

Re: how sync bios time with xfce time?

Reply #13
hello again deepforest

i am pleased to help you, but i still need some information, as mentioned above.
what are the contents of your init files for ntp?

With the incomplete information you are providing, I do not know I can be of much more help.

I encourage you to visit the openrc service scipt guide and make sure your init scripts for the processes follow the conventions of that document.  If you still have trouble after following those steps, check back in.

cheers

Re: how sync bios time with xfce time?

Reply #14
Quote
what are the contents of your init files for ntp?

configs?

Quote
Does your ntp-client.conf file contain this:
no, my configs here
https://forum.artixlinux.org/index.php/topic,6829.msg41522.html#msg41522

what is needed?
-=linux its buggy crap that have no antifool protection (c)=- :)
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* :)
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ :)