Xfce Forum

Sub domains

You are not logged in.

#1 2023-02-19 20:41:11

Registered: 2022-12-31
Posts: 10

Time Syncronization using Tails methods?


I came across this resource for time syncing, which uses time data in the HTTP headers of popular and common websites and I think I'd like to try it out on Xfce. Because ever since doing Transparent Torification, either my NTP or timesyncd (or both) has stopped working and I must set the time manually.

Here is what Tails do:


There is this resource from a Devuan community which had success in Tails-ifying Xfce but in my case its overkill. I just want to replace the GNOME stuff related to HTPDate to Xfce. Also I'm not (yet?) opposed to systemd and use it.


It looks like the person breaks the 20-Time.sh file's reference to export_gnome_env by renaming it to export_gnome_env_backup but there is also lines I'm unsure of how to treat. Namely:

. /etc/live/config.d/username.conf
. /usr/local/lib/tails-shell-library/gnome.sh
	exec /bin/su -c /usr/local/lib/tails-htp-notify-user "$LIVE_USERNAME" &

It'd be nice to retain all the functionality Tails might offer.

I was able to access the Tails Gitlab page for some scripts/files but trying to browse their repository failed often time. Even with javascript enabled all I'd see was a spinner. hmm

The files I've been able to get from the Gitlab so far are:
- htpdate (the perl script)
- 52-update-rc.d
- htpdate.service
- 20-time.sh
- htpdate.pools

Having said all this maybe there is an easier way to do time-syncing without trying to cobble together Tails scripts, so I'm open to any bright ideas.

Thanks in advance.


Board footer

Powered by FluxBB