Broken installation process

Questions on Installation
Post Reply
andersl
Posts: 4
Joined: Thu Sep 13, 2018 4:31 pm

Broken installation process

Post by andersl » Mon May 20, 2019 10:28 am

Hi,

I can not install as a user. My system is configured with sudo, and I can do everything else with sudo, but the turboprint installation fails after entering my password.

I can install using "sudo ./setup".

I can not add printer profiles or select my key as a user. Turboprint again fails silently, or actually wrongly claims succes.

After installation, there is no tpdaemon.service available to systemctl. Shouldn't there be one?

Kindly,
Anders

andersl
Posts: 4
Joined: Thu Sep 13, 2018 4:31 pm

Re: Broken installation process

Post by andersl » Mon May 20, 2019 1:47 pm

I have the problem that the daemon is not running, I believe, since the monitor tells me that the printer is not connected or not running - but i gladly prints away.

zedonet
Site Admin
Posts: 1751
Joined: Fri Oct 06, 2006 8:02 am

Re: Broken installation process

Post by zedonet » Mon May 20, 2019 2:06 pm

Hello,

a workaround for your problem is to start TurboPrint Control from a Terminal window with the command

sudo turboprint

Of course we would like to fix this problem.
What is your Linux distribution & version?

andersl
Posts: 4
Joined: Thu Sep 13, 2018 4:31 pm

Re: Broken installation process

Post by andersl » Mon May 20, 2019 2:43 pm

Hi,

Thanks for answering.

I'm using archlinux, it is rolling release and up to date. The daemon runs on my other laptop, but I can't remember if I created a systemctl service manually, and it was an earlier version I installed on that one originally (2.45 iirc). I have the same problems with color profiles on the other laptop.

Is there a way I can configure it to use sudo? For now, I run turboprint under kdesu to get to create color profiles.

Kindly,
Anders

zedonet
Site Admin
Posts: 1751
Joined: Fri Oct 06, 2006 8:02 am

Re: Broken installation process

Post by zedonet » Tue May 21, 2019 5:13 pm

Hello,

I could confirm the problem on archlinux and we are working on a solution.

andersl
Posts: 4
Joined: Thu Sep 13, 2018 4:31 pm

Re: Broken installation process

Post by andersl » Wed May 22, 2019 6:02 am

Nice! There is a community package in https://aur.archlinux.org/packages/turboprint, but I did not try it.

zedonet
Site Admin
Posts: 1751
Joined: Fri Oct 06, 2006 8:02 am

Re: Broken installation process

Post by zedonet » Thu May 23, 2019 10:17 am

If found that a security mechanism has been recently added or enabled in ArchLinux that prevents communication between the user application "TurboPrint Control" and a TurboPrint background application that is started as "root" that actually updates the printer settings.

You can open a Terminal window and enter the command

sudo sysctl fs.protected_regular=0

to make TurboPrint Control work without "sudo" (the current default value in ArchLiux is "fs.protected_regular=1").


However, we are working on a solution for the next TurboPrint release.

zedonet
Site Admin
Posts: 1751
Joined: Fri Oct 06, 2006 8:02 am

Re: Broken installation process

Post by zedonet » Mon May 27, 2019 3:10 pm

A new TurboPrint version 2.48-2 has just been released that fixes the problem with ArchLinux - please download and update your current TurboPrint version.

alex666
Posts: 3
Joined: Wed Mar 08, 2017 5:06 pm

Re: Broken installation process

Post by alex666 » Sat Jul 06, 2019 7:04 pm

... but no working daemon in Manjaro ...

Post Reply