Failed to connect, daemon not starting

Asked by Ricardo Casasola

First of all, thank you very much for your work and for the application!
I have made an installation on Linux Mint, using the software manager, but after executing the program, a warning appears "Failed to connect".
I have also made an installation using your PPA, with the same result.
I have checked the daemon, and it's not started, so after sudo timekprd, the connection was ok. But this is not useful, as my son won't do it...
Is there any way to solve this?
Thank you very much!

Question information

Language:
English Edit question
Status:
Solved
For:
Timekpr-nExT Edit question
Assignee:
Eduards Bezverhijs Edit question
Solved by:
Ricardo Casasola
Solved:
Last query:
Last reply:
Revision history for this message
Eduards Bezverhijs (mjasnik) said :
#1

Which Linux mint are you using?
Which timekpr version is installed from ppa?

Revision history for this message
Ricardo Casasola (ricardo-casasola) said :
#2

I am using Linux Mint Vera 21.1 XFCE.
The timekpr version from software manager is 0.5.4, but I didn´t check it when I reinstalled from PPA... it was last week, maybe you know it.

Revision history for this message
Eduards Bezverhijs (mjasnik) said (last edit ):
#3

I do not, plz check and get back with version.
0.5.4 should work w/o issues, I do not know if it is enabled and started tho.

try: sudo systemctl enable timekpr && sudo systemctl restart timekpr

Revision history for this message
Ricardo Casasola (ricardo-casasola) said :
#4

Version from PPA is also 0.5.4.

Trying systemctl was unsuccesful:
:~$ sudo systemctl enable timekpr
[sudo]
Failed to enable unit: Unit file /etc/systemd/system/timekpr.service is masked.
:~$ sudo systemctl restart timekpr
Failed to restart timekpr.service: Unit timekpr.service is masked.

Revision history for this message
Eduards Bezverhijs (mjasnik) said :
#5

That’s interesting, unit seems to be masked, but why…

Anyhow, try to unmask and then enable and restart.

sudo systemctl unmask timekpr
sudo systemctl enable timekpr
sudo systemctl restart timekpr

Revision history for this message
Ricardo Casasola (ricardo-casasola) said :
#6

After unmasking it, now connects!

Thank you very much!