Welcome!

Please read this important information about Spectre and Meltdown vulnerabilities.
Please read this important information about MX sources lists.
News
  • MX Linux on social media: here
  • Mepis support still here
Current releases
  • MX-17 Final release info here
  • MX-16.1 release info here
  • antiX-17 release info here
    New users
    • Please read this first, and don't forget to add system and hardware information to posts!
    • Read Forum Rules

MX-17 Snapshot live persistence - Conky time [Solved]

Message
Author
User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1012
Joined: Sat Aug 06, 2011 4:58 am

MX-17 Snapshot live persistence - Conky time [Solved]

#1 Postby tascoast » Wed Dec 20, 2017 9:14 pm

I created a general snapshot of my (64-bit) MX-17 install, then created a live USB.
Upon booting to the live USB, I created root and home persistence, setting time to my location (plus general desktop tweaks and a Synaptic update).
I notice after a reboot that Conky still shows the incorrect time and so wonder if there's something else required to have it match the Panel/system time?
Mick
Last edited by tascoast on Thu Dec 21, 2017 4:05 am, edited 1 time in total.
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 20396
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17 Snapshot live persistence - Conky time

#2 Postby Jerry3904 » Wed Dec 20, 2017 9:49 pm

First of all, I would toggle off and on if you didn't try that.

Then, if you're manually setting the time to be different than the system time, I'm not sure what can be done. How did you change the time, using what method? Maybe using MX Time Settings would help if you didn't do that before.
Production: 4.13.0-1-amd64, MX-17, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.13.0-1-386. MX-17, AMD C-60 APU, 4 GB

User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2392
Joined: Sat Aug 22, 2009 11:36 pm

Re: MX-17 Snapshot live persistence - Conky time

#3 Postby BitJam » Thu Dec 21, 2017 12:15 am

How did you set the timezone? Did you use F2 or F3 in the legacy bootloader? Did you use the text menu in the UEFI bootloader? Is the "incorrect time" consistent with EST/EDT (New York City timezone)?

Here, running live, Conky shows the correct time when I use F3 in the legacy bootloader to set the timezone but I didn't make a snapshot.

The way the timezone is handled got changed (yet again) in Debian Stretch. I suspect this is related to your problem. It may have been caused by the snapshot program or by the program you used to set the time. What is the output of these commands:

Code: Select all

ls -l /etc/localtime
ls -l /live/linux/etc/localtime
cat /etc/timezone

The crux of the change in Stretch is the /etc/localtime file now *must* be a symlink. It used to be that a copy of the zoneinfo file sufficed (which still works fine on my Gentoo system). On Debian stretch, if it is not a symlink then an incorrect timezone is used in X while the correct timezone is used in the virtual consoles.

If /etc/localtime is not a symlink then I suggest that you erase it and replace it with a symlink to the correct file under /usr/share/zoneinfo. This should work:

Code: Select all

sudo rm /etc/localtime
sudo ln -s /usr/share/zoneinfo/$(cat /etc/timezone) /etc/localtime
Will I cry when it's all over?
When I die will I see Heaven?

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1012
Joined: Sat Aug 06, 2011 4:58 am

Re: MX-17 Snapshot live persistence - Conky time

#4 Postby tascoast » Thu Dec 21, 2017 3:18 am

Toggle Conky did not change things but MX Time Settings did, once the local time zone was entered. I only set the Orage Clock once I'd created persistence and booted up again, but I gather you could have several regional times displayed this way, without changing the system time.

I thought things had changed somehow, although a general snapshot logically reset things to defaults, I presume. It's not something I've noticed in the past running live snapshots in MX-16 with Conky included, although they were likely personal snapshots.

Everything else with the snapshot checks out really well.

Thanks for the explanation BitJam. I just use the legacy bootloader on my machines. I'm digesting the details but for me, MX Time Settings adjusted things accordingly for my needs. I'll test F3 next time around. It's a bit of a juggle since the old reliable dongle is a bit inconsistent in operation in MX-17.
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 20396
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17 Snapshot live persistence - Conky time [Solved]

#5 Postby Jerry3904 » Thu Dec 21, 2017 7:17 am

Excellent! That's the first time i actually every saw anyone say they set the local time with it, so now I know one situation where it serves a function.
Production: 4.13.0-1-amd64, MX-17, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.13.0-1-386. MX-17, AMD C-60 APU, 4 GB

User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2392
Joined: Sat Aug 22, 2009 11:36 pm

Re: MX-17 Snapshot live persistence - Conky time [Solved]

#6 Postby BitJam » Thu Dec 21, 2017 11:50 am

Unfortunately, we still don't know what caused the problem so we certainly haven't fixed it. It is possible there is still a clue left if you run:

Code: Select all

ls -l /live/linux/etc/localtime

and show us the output. It would also help if you tell us how you originally set the timezone. I'm not saying you did anything wrong or bad. I'm trying to figure out what went wrong so we can fix it so it doesn't happen again.

H'mm. Since this is a live system you can try to replicate the problem after disabling persistence. This will get you back to the raw snapshot.
Will I cry when it's all over?
When I die will I see Heaven?

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 7355
Joined: Sun Dec 16, 2007 1:17 pm

Re: MX-17 Snapshot live persistence - Conky time [Solved]

#7 Postby dolphin_oracle » Sun Dec 31, 2017 1:13 pm

tascoast wrote:I created a general snapshot of my (64-bit) MX-17 install, then created a live USB.
Upon booting to the live USB, I created root and home persistence, setting time to my location (plus general desktop tweaks and a Synaptic update).
I notice after a reboot that Conky still shows the incorrect time and so wonder if there's something else required to have it match the Panel/system time?
Mick



can we presume that when you changed the system time originally, you simply used the orage clock preferences to choose a new timezone?
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
acer c720p chromebook - chromeos / MX15-64 (custom snapshot) live USB.
lenovo s21e - antiX-16 MX16(live-usb)

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1012
Joined: Sat Aug 06, 2011 4:58 am

Re: MX-17 Snapshot live persistence - Conky time [Solved]

#8 Postby tascoast » Fri Jan 05, 2018 2:50 am

dolphin_oracle wrote:
tascoast wrote:I created a general snapshot of my (64-bit) MX-17 install, then created a live USB.
Upon booting to the live USB, I created root and home persistence, setting time to my location (plus general desktop tweaks and a Synaptic update).
I notice after a reboot that Conky still shows the incorrect time and so wonder if there's something else required to have it match the Panel/system time?
Mick



can we presume that when you changed the system time originally, you simply used the orage clock preferences to choose a new timezone?

Yeah.... :blindfold: A bit of a pre-vacation logic fail regarding system and application time, but happy 2018 to all. :happy:
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10


Return to “Software / Configuration”

Who is online

Users browsing this forum: No registered users and 5 guests