Comments (6)
Under Wayland it is no longer possible to run GUI applications with root rights.
Right; under a "purely" Wayland-based session (whatever it may mean), it may not be possible. But, months ago, I needed to run gsmartcontrol_polkit
under Wayfire+LXQt, and this simple script worked:
#!/bin/bash
xhost +SI:localuser:root
/usr/bin/gsmartcontrol_polkit
xhost -SI:localuser:root
exit
from lxqt-sudo.
As I'm using wayland + LXQt as default I didn't notice any real problems with this, only synaptics on debian not working but didn't investigate about. Editing configuration files with featherpad (normal GUI) is straightforward as it uses lxqt-polkitd at the moment of saving, same for file management in pcmanfm-qt using "open tab as admin mode". "Open as root" isn't even needed.
from lxqt-sudo.
Therefore I hope you are not planning on deprecating lxqt-sudo.
There's no plan.
from lxqt-sudo.
Under Wayland it is no longer possible to run GUI applications with root rights.
Right; under a "purely" Wayland-based session (whatever it may mean),
I believe that 's called native Wayland.
But, months ago, I needed to run
gsmartcontrol_polkit
under Wayfire+LXQt, and this simple script worked:#!/bin/bash xhost +SI:localuser:root /usr/bin/gsmartcontrol_polkit xhost -SI:localuser:root exit
Presumably this is using Xwayland (X11 emulation). I.e. not native ("real") Wayland.
Long term Xwayland might be deprecated, bit rot, get less compatible, no longer installed by default or one wanted to go full native Wayland without Xwayland being installed. Therefore it might be a good idea to phase out all the hacks.
from lxqt-sudo.
not native ("real") Wayland.
You asked about plans for Wayland. After more than a decade, X11 is still mostly used. No one has a reason to think about deprecation.
What we do in LXQt about Wayland is two-fold: Making apps work on it too, as far as Qt allows; and finding the best Wayland compositor for LXQt — labwc is the winner for now. Deprecation is not planned.
from lxqt-sudo.
BTW, you could use https://github.com/lxqt/lxqt/discussions for questions.
from lxqt-sudo.
Related Issues (14)
- doesnt launch when hostname changed HOT 1
- "lxsu bash" results in frozen shell prompt HOT 1
- 'lxsu exo-open test.txt' does not open text editor while 'sudo --set-home exo-open test.txt' does HOT 13
- We should not strip HOME and TERM HOT 1
- FTBFS: Fallout from latest lxqt-build-tools merge HOT 6
- 'lxqt-sudo --user' to run application under a user other than root HOT 1
- lxqt-sudo fails if sudo is not available HOT 13
- lxqt-sudo discards the command argument HOT 1
- lxqt-sudo fails to run applications launched with xdg-su -c '[command] [argument]' HOT 6
- Support for Doas HOT 4
- SUDO_ASKPASS functionality HOT 2
- When running a terminal application via lxqt-sudo, all user input to the application is discarded HOT 1
- Preserve more env vars HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lxqt-sudo.