Allow Remote Users to Add/Remove Printers

Spread the love

This is driving me up the wall! I feel I’m so close, but I’m probably missing just one tiny detail.
I have a Ubuntu desktop setup to be a CUPS server. I need to add printers via the GUI interface, rather than the CUPS web-interface. When I’m logged in locally to the server, no problem, works great!
However, when I start a remote session via X2Go, with the same user, I can open and see printers that are already attached to the server, but that’s its. I can’t do anything else. No adding. No removing. No editing. Nothing. (There is one tiny exception to this: If I start a remote session via X2Go, logging in as root, this works. I can modify printers. Not sure on that one what the reason is.)
The “Unlock” icon in the top-right corner of the Printer GUI is greyed out and I get the “System policy prevents changes” when I hover over it. I’ve done enough research to know that this is something to do with the polkit in Ubuntu; however, I evidently don’t have the .pkla file just right as nothing I put in it seems to makes a difference.
This is my current .pkla file:
[Modify printers remotely]

It’s stored in: /etc/polkit-1/localauthority/50-local.d.
Am I missing anything in the file that would prevent a remote-connected user from modifying the printers via GUI? Is this just not something that polkit is supposed to support? I’m completely out of ideas.
Server is running Ubuntu 20.04, CUPS 2.3.1, and pkaction version 0.105
Thanks everyone for any help!

X ITM Cloud News


Leave a Reply

Next Post

Playing a game "Made with Unity", i'm getting - install Visual C++ Redistributable 2015

Wed Jul 1 , 2020
Spread the love          My laptop is running Ubuntu 20.04. When i launch the game it says it was “Made with Unity” (nothing to do with Unity desktop), and powered by VNgine When i select,”New Game”, I get a white screen, and the following message, “if you see a white screen, please […]

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware