-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Won't Open As Root #398
Comments
|
Does it also happen when you set the authentication mode to |
|
I don't have libgksu and such. |
Ignore it! Now I'm using my laptop with the latest LXQt and see the same problem. It's a regression because it doesn't exist with an older LXQt version on my desktop computer. |
|
The change that has caused this regression should be made in the last three months. Does anybody have a clue? |
|
It has appeared here at most a month ago, or more likely 1-2 weeks ago. |
Thanks! That could narrow down the search. |
|
This issue isn't in pcmanfm-qt or libfm-qt. On an LXQt from 3 months ago, I upgraded only libfm-qt and pcmanfm-qt to their latest github versions and pcmanfm-qt opened as root correctly. Since the rest of the system is up-to-date here, another LXQt component may have caused this issue but I can't see how. @palinek, @paulolieuthier, @luis-pereira, any idea? |
|
Never mind! Found the cause: it was Arch itself! @AcarBurak, please see if reinstallation of dbus fixes the problem! It did on both of my Manajro systems. (The above-mentioned experiment was done under Debian.) |
|
It may be somehow connected to some preserved environment.... back then, I needed to do following "hack" -> lxqt/lxqt-sudo@dd8903d for pcmanfm-qt |
|
@palinek, thanks for your reply! |
|
hmm - i don't have these problems with the latest git, so i suspect a problem outside of the code. |
I agree. |
|
Reinstalling dbus didn't solve the issue, but launching it by
solves. |
|
Here on arch pcmanfm-qt is the very only application which does not start with lxsudo (or kdesu), other qt filemanager like qtfm do. Sure this is not in the code? |
On Manjaro (whose packages are mostly those of Arch), I have no problem. Please consider the fact that some apps -- like pcmanfm-qt -- need dbus support to run as root! |
|
dbus-x11 from the AUR is the simplest solution in Arch distros, but It's a bit behind compared to Arch's dbus (one could edit the pkgbuild during install and modernize it fairly easily). After installing dbus-x11 on Manjaro, I didn't have the issue (on Manjaro, dbus-x11 is a package with the latest version). @ghost is correct that dbus-launch solves the issue without having to alter dbus installations. Using an alias including dbus-launch for specific applications could work, but is a bit tedious. |
Recently, on an Arch Fluxbox system (running lxqt-policykit-agent daemon and setting Qt theme by qt5ct if those matter) pcmanfm-qt (0.10.0) has started to fail opening as root.
Running
lxsu pcmanfm-qtfrom the command line producesthough I've got ~/Templates.
Running
lxqt-sudo pcmanfm-qtdoesn't produce the above, yet it too fails to open pcmanfm-qt as root.I can launch, for instance, qtcreator or spacefm as root without any issues.
The text was updated successfully, but these errors were encountered: