Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
applications requiring root permissions not working
applications requiring root permissions not working
AMD 64, Jessie, KDE, bang up to date
Obvious symptoms: from "kickoff" menu "shutdown" and "restart" do not work. I can do su & shutdown (etc), and works fine: Apper does not display the "permissions" widget & consequently I can't install anything through it. (It used to work, so I know how it should be). I can do installs from the c/l.
Less obvious: Volume control and clipboard tool don't appear on taskbar. kdesu seems not to work (trying to use gvim as root),
All used to be fine, so I'm thinking either a security policy change or something broken.
Thanks for reading.
Obvious symptoms: from "kickoff" menu "shutdown" and "restart" do not work. I can do su & shutdown (etc), and works fine: Apper does not display the "permissions" widget & consequently I can't install anything through it. (It used to work, so I know how it should be). I can do installs from the c/l.
Less obvious: Volume control and clipboard tool don't appear on taskbar. kdesu seems not to work (trying to use gvim as root),
All used to be fine, so I'm thinking either a security policy change or something broken.
Thanks for reading.
Last edited by fingers99 on 2017-07-22 18:49, edited 3 times in total.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: applications requiring root permissions from WM not work
I wonder if the problem is polkit-kde-agent-1...
Re-install it. Make sure that it is autostarted.PolicyKit is an application-level toolkit for defining and handling the policy
that allows unprivileged processes to speak to privileged processes.
It is a framework for centralizing the decision making process with respect to
granting access to privileged operations (like calling the HAL Mount() method)
for unprivileged (desktop) applications.
PolicyKit-Kde provides a D-Bus session bus service that is used to
bring up authentication dialogs used for obtaining privileges.
kdesudo?kdesu seems not to work
Re: applications requiring root permissions from WM not work
Starting at the top!
ps aux gives:
root@silverslug:/home/john# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
//big snip!//
root 789 0.0 0.0 71840 5128 ? Ss 18:52 0:00 /usr/sbin/cups-browsed
root 790 0.0 0.1 290596 8884 ? Ssl 18:52 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 796 0.0 0.0 14416 2044 tty1 Ss+ 18:52 0:00 /sbin/agetty --noclear tty1 linux
//big snip!!//
root 1443 0.0 0.0 19100 2548 pts/0 R+ 19:19 0:00 ps aux
root@silverslug:/home/john#
But is this correct way to check? Or definitive?
Re-installed. No change. How do I check it's autostarted?Re-install it. Make sure that it is autostarted.
ps aux gives:
root@silverslug:/home/john# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
//big snip!//
root 789 0.0 0.0 71840 5128 ? Ss 18:52 0:00 /usr/sbin/cups-browsed
root 790 0.0 0.1 290596 8884 ? Ssl 18:52 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 796 0.0 0.0 14416 2044 tty1 Ss+ 18:52 0:00 /sbin/agetty --noclear tty1 linux
//big snip!!//
root 1443 0.0 0.0 19100 2548 pts/0 R+ 19:19 0:00 ps aux
root@silverslug:/home/john#
But is this correct way to check? Or definitive?
Last edited by fingers99 on 2017-05-30 17:43, edited 2 times in total.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: applications requiring root permissions from WM not work
Here you go, assuming you have sudo enabled:wizard10000 wrote:kdesu still works, it's just not in your path any more.arochester wrote:kdesudo?kdesu seems not to work
I'm not on a Linux box right now but what I did was created a symlink in /usr/bin for kdesu.
Somebody who *is* on a Linux box can help (or you can use locate to find it, but it'd be something likeHope this helps -Code: Select all
sudo ln -s /path/to/kdesu /usr/bin/kdesu
Code: Select all
sudo ln -s /usr/lib/kde4/libexec/kdesu /usr/bin/kdesu
MX Linux packager and developer
Re: applications requiring root permissions from WM not work
Yet to try your previous suggestion, but new user works just fine (even has volume and klipper icons)Can you create a new user and see if the same KDE problems happen in that session? (other than kdesu, that's just how Debian rolls). That way we can see if it's a system issue, or just something in your personal settings.
Re: applications requiring root permissions from WM not work
Yay! Did it as su, but seems to have sorted it. Thanks!Here you go, assuming you have sudo enabled:
Code: Select allCode: Select all
sudo ln -s /usr/lib/kde4/libexec/kdesu /usr/bin/kdesu
I wonder what caused it?
Re: applications requiring root permissions from WM not work
Sorry folks, I can't work out how to label it as SOLVED. (Not in FAQS?]
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: applications requiring root permissions from WM not work
Did you try editing the subject line in your first post ?
example:
example:
Code: Select all
(solved)applications requiring root permissions not working
Re: (solved)applications requiring root permissions not work
Thanks. I tried, but seemed - first time - to run out of characters. Copy n'paste did the job.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: (solved)applications requiring root permissions not work
The kdesu problem is just how Debian ships KDE. I made sure to fix it when I did my own little "MX Linux plus Jessie's KDE plus some non-Debian KDE addons I like" remaster. It's not a FrankenDebian monster; it shows great hybrid vigor!
MX Linux packager and developer
Re: applications requiring root permissions not working
I was premature in saying it had been solved. Sometimes everything is as expected, sometimes not. Eventually, after several reboots, things will return to normal.
Now, when it is "normal" the entire session is saved. Any file managers I had open are open. There seems no rhyme or reason to it.
I'd speculate - nothing more - that a script isn't always completing. Watchdog?
Ideas welcome!
Now, when it is "normal" the entire session is saved. Any file managers I had open are open. There seems no rhyme or reason to it.
I'd speculate - nothing more - that a script isn't always completing. Watchdog?
Ideas welcome!
Re: applications requiring root permissions not working
Note: I've since upgraded to 9.1 (Stretch). Too early to say if the issue is still there.
-
- df -h | grep > 20TiB
- Posts: 1418
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 80 times
- Been thanked: 191 times
Re: applications requiring root permissions not working
May or may not be related: A Systemd (surprise surprise) default has changed.fingers99 wrote:from "kickoff" menu "shutdown" and "restart" do not work.
KillUserProcesses is now False, so any application taking too long to close will cause shutdown to silently fail.
In my case the prime culprit was Firefox. But seriously, if I say "shut down" I mean "now". Stupid change.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Re: applications requiring root permissions not working
steve_v wrote:...any application taking too long to close will cause shutdown to silently fail.