The officially official Devuan Forum!

You are not logged in.

#1 2026-01-25 00:34:32

deepforest
Member
Registered: 2020-03-24
Posts: 429  

how start ntp?

Ceres
i am install ntp from here
pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=ntp=1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1&eXtra
but how start ntp?

root@devuan:/home/freeartist-devuan# rc-status
Runlevel: default
 rsyslog                                                                                                                                                                                             [  started  ]
 ntpsec                                                                                                                                                                                              [  started  ]
 cron                                                                                                                                                                                                [  started  ]
 console-setup.sh                                                                                                                                                                                    [  started  ]
 dbus                                                                                                                                                                                                [  started  ]
 slim                                                                                                                                                                                                [  started  ]
 sddm                                                                                                                                                                                                [  started  ]
 bluetooth                                                                                                                                                                                           [  started  ]
 seatd                                                                                                                                                                                               [  started  ]
 avahi-daemon                                                                                                                                                                                        [  started  ]
 cups                                                                                                                                                                                                [  started  ]
 cups-browsed                                                                                                                                                                                        [  started  ]
 network-manager                                                                                                                                                                                     [  started  ]
 acpid                                                                                                                                                                                               [  started  ]
 elogind                                                                                                                                                                                             [  started  ]
 gdm3                                                                                                                                                                                                [  started  ]
 sudo                                                                                                                                                                                                [  started  ]
 bootlogs                                                                                                                                                                                            [  started  ]
 lightdm                                                                                                                                                                                             [  started  ]
 pulseaudio-enable-autospawn                                                                                                                                                                         [  started  ]
 rmnologin                                                                                                                                                                                           [  started  ]
 saned                                                                                                                                                                                               [  started  ]
 stop-bootlogd                                                                                                                                                                                       [  started  ]
 rc.local                                                                                                                                                                                            [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 umountroot                                                                                                                                                                                          [  started  ]
 umountfs                                                                                                                                                                                            [  started  ]
 umountnfs.sh                                                                                                                                                                                        [  started  ]
Dynamic Runlevel: manual
root@devuan:/home/freeartist-devuan# 

Screenshot-2026-01-25-02-37-25.png

Last edited by deepforest (2026-01-25 00:38:22)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#2 2026-01-25 22:53:53

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 696  

Re: how start ntp?

Try ntpsec, use it the same way...


pic from 1993, new guitar day.

Offline

#3 2026-01-26 05:28:39

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

Thanks, but same(
Screenshot-2026-01-26-07-26-56.png


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#4 2026-01-26 08:55:34

pcalvert
Member
Registered: 2017-05-15
Posts: 294  

Re: how start ntp?

I don't know about Devuan, but Refracta comes with ntpdate installed. That's what I use.

Although it should run automatically, I run ntpdate manually every day, right after the system boots up and right before I shut down. I do that because my computer is only connected to the internet when I am actively using it.


Freespoke is a new search engine that respects user privacy and does not engage in censorship.
Another one is called Luxxle.

Offline

#5 2026-01-26 12:02:32

steve_v
Member
Registered: 2018-01-11
Posts: 596  

Re: how start ntp?

There are a half-dozen potential NTP clients available, which you use is personal preference.
The most lightweight is opentpd, while the most modern (and most suitable for machines with intermittent connectivity) is chrony. I can vouch for both currently (as well as ntpdate and ntpsec in the past) working just fine on Devuan.

The real question is: Which one is your GUI nonsense looking for, how is it checking, and why doesn't it see ntpsec? If it's doing something really dumb like looking for a specific init script (or worse, systemd service on dbus), it's not going to work with openrc without some tinkering.

I don't recognise that GUI window, but it looks gtk-ish. Last I heard xfce didn't have a native timezone config whatchamacallit... So MATE maybe? If that's the case it's probably looking for timedatectl+timesyncd, which is a systemd thing so you are likely SOL.

Then again I really don't know why anyone would need a GUI for setting the time to begin with, so personally I'd just ignore it.

Last edited by steve_v (2026-01-26 12:12:50)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#6 2026-01-26 15:18:36

Calamity
Member
Registered: 2021-10-23
Posts: 55  
Website

Re: how start ntp?

That dialog looks like part of the old gnome-system-tools package, which provides a GUI Time & Date utility, along with one for users and groups management.

Perhaps it lacks compatibility with the current NTP clients.


Re-examine all that you have been told. Dismiss that which insults your soul.  - Walt Whitman
Ditch sham-poo and hair-die.
Global SkywatchSubliminal Manipulation

Offline

#7 2026-01-26 15:25:27

rolfie
Member
Registered: 2017-11-25
Posts: 1,401  

Re: how start ntp?

gnome-system-tools is broken, no maintainer any more.

Online

#8 2026-01-26 16:14:25

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

The most lightweight is opentpd, while the most modern (and most suitable for machines with intermittent connectivity) is chrony.

tried chrony, same, not recognise by xfce(gnome!??)  time settings

The real question is: Which one is your GUI nonsense looking for, how is it checking, and why doesn't it see ntpsec? If it's doing something really dumb like looking for a specific init script (or worse, systemd service on dbus), it's not going to work with openrc without some tinkering.

I don't recognise that GUI window, but it looks gtk-ish. Last I heard xfce didn't have a native timezone config whatchamacallit...

its xfce(gnome!??) time/calendar settings window

Last edited by deepforest (2026-01-26 16:19:21)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#9 2026-01-26 16:17:08

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

That dialog looks like part of the old gnome-system-tools package, which provides a GUI Time & Date utility, along with one for users and groups management.

Perhaps it lacks compatibility with the current NTP clients.

huuh, it's mess, so xfce not has own time/calendar app, also as network-manager is part of gnome?


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#10 2026-01-26 23:06:20

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

That dialog looks like part of the old gnome-system-tools package, which provides a GUI Time & Date utility, along with one for users and groups management.

Perhaps it lacks compatibility with the current NTP clients

no its native xfce clock applet(or its gnome app?)
https://docs.xfce.org/xfce/xfce4-panel/4.20/clock
Screenshot-2026-01-27-00-55-36.png

Last edited by deepforest (2026-01-26 23:09:38)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#11 2026-01-27 12:02:15

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 479  

Re: how start ntp?

might help to review the results of:

apt info ntp ntpdate ntpsec ntpsec-ntpdate chrony htpdate

in daedalus several of them are listed as dummy packages

(no idea what would be listed in ceres)

as always, ymmv

Last edited by stargate-sg1-cheyenne-mtn (2026-01-27 13:57:05)


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#12 2026-01-27 12:27:34

rduke
Member
Registered: 2017-04-23
Posts: 2  

Re: how start ntp?

FTW I've spent considerable time over the years farting around with ntp.
Here is what I do now on all of my machines:

1. apt remove ntp ntpsec
2. apt install htpdate
3. get on with my life :-)

Offline

#13 2026-01-27 13:29:43

Calamity
Member
Registered: 2021-10-23
Posts: 55  
Website

Re: how start ntp?

no its native xfce clock applet(or its gnome app?)

Not really. The Clock applet dialog is indeed part of Xfce, but that Time and Date Settings window definitely comes from gnome-system-tools - which Xfce (for some odd reason) still relies on for system time configuration. Without it being present (as is probably the case with the default Xfce installation), the Xfce Clock applet settings will not even show the 'Time and Date Settings' button.


Re-examine all that you have been told. Dismiss that which insults your soul.  - Walt Whitman
Ditch sham-poo and hair-die.
Global SkywatchSubliminal Manipulation

Offline

#14 2026-01-27 23:58:18

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

FTW I've spent considerable time over the years farting around with ntp.
Here is what I do now on all of my machines:

1. apt remove ntp ntpsec
2. apt install htpdate
3. get on with my life :-)

Same, srry
Screenshot-2026-01-28-01-57-28.png


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#15 2026-01-28 00:01:59

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

Not really. The Clock applet dialog is indeed part of Xfce, but that Time and Date Settings window definitely comes from gnome-system-tools - which Xfce (for some odd reason) still relies on for system time configuration. Without it being present (as is probably the case with the default Xfce installation), the Xfce Clock applet settings will not even show the 'Time and Date Settings' button

Understood, thanks.
So, MATE looks more solid than XFCE for this point?


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#16 2026-01-28 05:08:35

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

gnome-system-tools is broken, no maintainer any more.

and why if this tool unmaintained and have bugs, why Debian and Devuan still use it as time tool?
https://forum.xfce.org/viewtopic.php?pid=81938#p81938


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#17 2026-01-28 06:25:51

steve_v
Member
Registered: 2018-01-11
Posts: 596  

Re: how start ntp?

if this tool unmaintained and have bugs, why Debian and Devuan still use it as time tool

Because nobody has volunteered to fix it yet?

If it's the default GUI time configuration "tool" (which, AFAICT it is not), then it should work with the default ntp daemon.
If it's just a GUI tool among several options... The same applies as with any other software in the distro - there's a lot of stuff available, and it's up to the user to decide which they want to use and check compatibility of their selections.

NTP isn't broken, your chosen optional GUI frontend is. Fix it, report it to the relevant bugtracker(s), or use something else.
You could of course just configure your NTP daemon using it's own mechanisims (and have been up and running days ago), rather than insisting on this ancient unmaintained GNOME castoff GUI silliness.
NTP will keep your clock in sync, GUI or not. How often do you really need to change timezone anyway, and why do you need a control panel for a one-line config change?

Last edited by steve_v (2026-01-28 06:31:00)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#18 2026-01-28 10:19:57

Calamity
Member
Registered: 2021-10-23
Posts: 55  
Website

Re: how start ntp?

So, MATE looks more solid than XFCE for this point?

I think so. Last time I tried MATE, it looked more comprehensive and feature-complete compared to Xfce, which is more akin to WMs in terms of requiring external modularity, although in terms of resource usage it's a DE alright.

I would personally much rather stick with MATE, but for some reason as soon as I tried to adjust monitor brightness settings in there, my screen went black. Not quite sure what happened, maybe some kind of hardware quirk. But still, if you're looking for completeness, MATE is the way to go. It does provide its own Time & Date tool as I remember.


Re-examine all that you have been told. Dismiss that which insults your soul.  - Walt Whitman
Ditch sham-poo and hair-die.
Global SkywatchSubliminal Manipulation

Offline

#19 2026-01-28 13:34:08

rolfie
Member
Registered: 2017-11-25
Posts: 1,401  

Re: how start ntp?

I am simply using npt. No graphical tool above, since at least the gnome-system-tools are broken since about 2022 or even longer.

With Daedalus ntpsec was introduced as replacement for the simple ntp, with Excalibur I have installed

ntpsec
ntpsec-ntpdate
ntpsec-ntpdig

The time server(s) to be used are configured in /etc/ntpsec/ntp.conf

That setup is working flawlessly.

Last edited by rolfie (2026-01-28 13:34:33)

Online

#20 2026-01-28 16:00:47

Altoid
Member
Registered: 2017-05-07
Posts: 1,976  

Re: how start ntp?

Hello:

Rolfie wrote:

... simply using npt.
No graphical tool ...

Around 12/22 I set up a cron job at /etc/cron.daily/dev-ntpdate to set time for my box.
Not my doing, picked it up somewhere along the line but cannot remember where.
Added my comments to make sure I had an idea as to what was going on.

It logs to /var/log/syslog

------
#!/bin/sh
# added to set time via ntpdate daily
# invoke ntpdate to set time from system clock
# -4    Force IPv4 DNS name resolution
# -6    Force IPv6 DNS name resolution
# -s    Log to syslog
# -t    N.N Specify timeout

if [ -x /usr/sbin/ntpdate ]; then
        /usr/sbin/ntpdate -4 -s -t 5 pool.ntp.org
fi
------

Here is today's log entry:

--- snip ---
Jan 28 06:23:24 devuan ntpdate: CLOCK: time stepped by -2.595612
Jan 28 06:23:24 devuan ntpdate: 2026-01-28 06:23:24.808991 (-0300) -2.595612 +/- 0.002286 pool.ntp.org 170.155.148.1 s2 no-leap

Only issue I had was around mid last year due to some command (-u?) having been deprecated.
Aside from that, it has worked properly.

Best,

A.

Last edited by Altoid (2026-01-28 17:14:59)

Offline

#21 2026-01-28 18:17:48

Devarch
Member
Registered: 2022-10-03
Posts: 132  

Re: how start ntp?

I run it manually

ntpdate -s pool.ntp.org

when my system clock is more than ~ 20 secconds away. I remember also adding it to rc.local to let time to be synchronized once at boot time.

Offline

#22 2026-01-28 20:36:12

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

so current no variants for automatic synchronization xfce clock to ntp?


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#23 2026-01-28 20:49:38

Calamity
Member
Registered: 2021-10-23
Posts: 55  
Website

Re: how start ntp?

The clock will be synchronized automatically as soon as you install an NTP client, and Xfce Clock applet will display the correct time.
There's simply no GUI to enable NTP under Xfce, but it's not really even necessary, as people here pointed out.


Re-examine all that you have been told. Dismiss that which insults your soul.  - Walt Whitman
Ditch sham-poo and hair-die.
Global SkywatchSubliminal Manipulation

Offline

#24 2026-01-29 09:34:01

deepforest
Member
Registered: 2020-03-24
Posts: 429  

Re: how start ntp?

The clock will be synchronized automatically as soon as you install an NTP client, and Xfce Clock applet will display the correct time.
There's simply no GUI to enable NTP under Xfce, but it's not really even necessary, as people here pointed out.

Thanks, that what i want to hear smile

Because nobody has volunteered to fix it yet?

If it's the default GUI time configuration "tool" (which, AFAICT it is not), then it should work with the default ntp daemon.
If it's just a GUI tool among several options... The same applies as with any other software in the distro - there's a lot of stuff available, and it's up to the user to decide which they want to use and check compatibility of their selections.

NTP isn't broken, your chosen optional GUI frontend is. Fix it, report it to the relevant bugtracker(s), or use something else.
You could of course just configure your NTP daemon using it's own mechanisims (and have been up and running days ago), rather than insisting on this ancient unmaintained GNOME castoff GUI silliness.
NTP will keep your clock in sync, GUI or not. How often do you really need to change timezone anyway, and why do you need a control panel for a one-line config change?

Why at all use unmaintained third-party tool if ntp working good whithout it?
Check at Artix(openrc), xfce clock has no gnome-tool for admin time and chrony working good for synchronisation time there.


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#25 2026-01-29 11:11:19

kapqa
Member
Registered: 2019-01-02
Posts: 607  

Re: how start ntp?

thanks ,

there is still confusion about date and time -

"ntpdate" and "ntp" seem no longe available also for kde on devuan 6; it useed to function well?

would like to tick "set date and time automatically" but it is not available for my location.

EDIT: i could install "ntpsec-ntpdate" and it would allow to do "sudo ntpdate" however it says there is no

ntpdig: no eligible servers

https://ibb.co/j9nfDSGh

EDIt: it seem the new command is "sudo ntpdate-debian" , now the time has adjusted via terminal, thanks!

sudo ntp
ntpctl          ntpd            ntpdate         ntpdate-debian  ntpdig

Last edited by kapqa (2026-01-29 11:14:40)

Offline

Board footer