[SOLVED] How to make the gnome polkit agent run in fluxbox on AntiX-19
antiX / MX LinuxThis forum is for the discussion of antiX and MX Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to make the gnome polkit agent run in fluxbox on AntiX-19
My friend has recently upgraded from AntiX-17 to AntiX-19. She wants to go on using synaptic for updates because she is used to it and she finds the replacement update manager confusing. So we installed synaptic and also polkit-gnome to provide her with a polkit agent for the synaptic-pkexec script. The desktop is fluxbox.
When the agent is started by hand, it runs normally and she can launch synaptic from an icon that I created for her. But when I put it into either .fluxbox/startup or .xinitrc it apparently fails to launch. I cannot find it in the output of ps ax and synaptic cannot be launched from the icon. The synaptic-pkexec script can be launched from a terminal but this is a rather clumsy fix.
The problem seems to be fluxbox-specific. I also have AntiX-19 on a laptop with icewm as my window manager and the gnome polkit agent set to launch from .icewm/startup and it works faultlessly.
There are reports of similar problems in several distros associated with recent polkit changes but I could not find a workable solution.
That certainly works with icewm on my machine. I'll try it on my friend's machine next time I go round and report back.
btw that startup script line for launching the polkit agent in ~/.desktop-session has a wrong path. The agent now gets installed in /usr/lib/policykit-1-gnome.
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 631
Rep:
Quote:
Originally Posted by hazel
btw that startup script line for launching the polkit agent in ~/.desktop-session has a wrong path. The agent now gets installed in /usr/lib/policykit-1-gnome.
Thanks for that - I'll correct it for future upgrades.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.