Giter Club home page Giter Club logo

Comments (6)

tsujan avatar tsujan commented on August 22, 2024

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.

stefonarch avatar stefonarch commented on August 22, 2024

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.

tsujan avatar tsujan commented on August 22, 2024

Therefore I hope you are not planning on deprecating lxqt-sudo.

There's no plan.

from lxqt-sudo.

adrelanos avatar adrelanos commented on August 22, 2024

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.

tsujan avatar tsujan commented on August 22, 2024

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.

tsujan avatar tsujan commented on August 22, 2024

BTW, you could use https://github.com/lxqt/lxqt/discussions for questions.

from lxqt-sudo.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.