Hello, I am running Qubes 4.2.4 almost every reboot (not all) the time and date reverts to 2023 and 8am
Any way to fix this issue?
Hello, I am running Qubes 4.2.4 almost every reboot (not all) the time and date reverts to 2023 and 8am
Any way to fix this issue?
Can you provide more information are you using ntpd , chrony or timesyncd ? Since when the issue is happening ?
Maybe you accidentally removeed the “clocksync” service in sys-net ?
This is strange because sys-net by default sync the date and time when you connect to internet and then dom0 take the date and time from sys-net and other vm at boot automatically sync the date and time from dom0 if i’m correct.
Try replacing CR2032 battery in your computer, it keeps time when computer is rebooted or off.
I did some stuff in dom0 before with the time following chatgpt instructions so maybe thats what it is now
Any way to check and fix?
What things did you (try to) change? Maybe you could check the bash history to help you remember.
(Just a tip: I keep track of everything I do by logging it, writing protocols, and adding comments to scripts and code. Before doing that, I had messed up many more things myself than any adversary could have. It’s tedious, but it has ultimately saved me days of my life.)
I recommend you to delete you sys-net dispvm , sys-net appvm, and sys-net template vm i don’t know what chatgpt did inside your sys-net vm so we will start from scratch.
Install a new fresh fedora template update the template then restart the template
As root open your terminal and enter those commands
sudo dnf -y install qubes-core-agent-networking qubes-core-agent-network-manager NetworkManager-wifi network-manager-applet notification-daemon gnome-keyring polkit @hardware-support
Create a sys-net appvm , in the settings of the appvm go to “services” and enable minimal-netvm, clocksync, network-manager
Now connect to your wifi in the appvm then shutdown the appvm and create a dispvm “sys-net” and in the settings enable clocksync etc… (the same services from the appvm)
In dom0 open a terminal and enter this command
qubes-prefs clockvm sys-net
just to make sure dom0 will sync the date and time from sys-net
Optional try also to change the timezone in dom0 sudo timedatectl set-timezone “Australia/Queensland” it’s a debug guide from Qubes-Community-Contents/docs/system/clock-time.md at master · starius/Qubes-Community-Contents · GitHub
Tell me if it work and if it doesn’t work we will try something else