[lubuntu-devel] KDE Partition Manager - do we need to add this to our packaging? or is this a KDE bug
Valorie Zimmerman
valorie.zimmerman at gmail.com
Sun Aug 11 08:25:38 UTC 2019
On Sat, Aug 10, 2019 at 5:45 PM Walter Lapchynski <wxl at ubuntu.com> wrote:
> Including lubuntu-devel because they're shipping it, too.
>
Thanks !
That said, I've done no extensive testing of this application across
> various versions but I do know I had it open and it was working correctly
> in Eoan just the other day. Does this affect a particular version?
>
> I have noticed that the transition to using `pkexec` has been a little
> rocky, so perhaps in an older version it was an issue?
>
I didn't include the part of the conversation where the original poster
said he invoked with kdesu nor when he started it as a regular user and
then gave his password when prompted. None of his disks showed up.
PKEXEC which is what I suggested was the only thing that worked for him.
The early conversation:
[22:24] <pragomer> Hi. In kubuntu 18.04.2 the kde-partition-manager does
not start with root privileges. how can I fix this?
[23:55] <valorie> pragomer: if an application needs root privs it will give
you a input screen for your password
[23:56] <valorie> it is a bad idea to start applications in "root"
[23:56] <valorie> !root
[23:56] <ubottu> Do not try to guess the root password, that is impossible.
Instead, realise the truth... there is no root password. Then you will see
that it is 'sudo' that grants you access and not the root password. Look at
https://help.ubuntu.com/community/RootSudo
23:57] <pragomer> valorie: hi.. yes kde partitionmanager gives me the kdesu
box, I input the correct pw but I dont see any disks.. I read about that
the program wants to function without root privileges in the future, but in
my case this does not work
[23:58] <pragomer> perhaps someone could check this
[23:58] <valorie> well, kpm is under active development
[23:59] <OerHeks> you might not see disks if it is an UEFI bios machine,
boot in uefi mode.
[23:59] <pragomer> its mbr mode, not uefi
[23:59] <OerHeks> oke uefi ruled out
[00:00] <pragomer> I actually have to use "sudo partitioinmanager" instead
of kdesu for beeing able to use it
[00:00] <valorie> that's a bad idea
[00:00] <valorie> :(
[00:00] <valorie> !sudo
[00:00] <ubottu> sudo is a command to run command-line programs with
superuser privileges ("root") (also see !cli). Look at
https://help.ubuntu.com/community/RootSudo for more information. For
graphical applications see !pkexec (for older releases: !gksu and
!kdesudo). If you're unable to execute commands with sudo see:
http://www.psychocats.net/ubuntu/fixsudo
[00:01] <pragomer> valorie: I know about sudo ;-) but kdesu does not work
actually
[00:01] <valorie> running gui applications using sudo will make hash of
your permissions
[00:01] <valorie> have you tried pkexec?
[00:02] <valorie> if that works but inputting your passw doesn't, then i
would file a bug report
>
>
> On August 10, 2019 5:13:13 PM PDT, Valorie Zimmerman <
> valorie.zimmerman at gmail.com> wrote:
> >Yesterday (or so) in #kubuntu:
> >
> >[01:15] <ubottu> pkexec is a PolicyKit tool that allows an authorized
> >user
> >to run (graphical) applications as another user. To run a graphical
> >application (e.g. gedit) which can write to the entire filesystem, use
> >e.g.
> >"pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gedit
> >/etc/environment"
> >
> >[01:19] <pragomer> diogenes_: kde's partitionmanager gets no root
> >privileges when I enter the kdesu password; thats my problem and a know
> >bug
> >as it seems
> >
> >[01:21] <OerHeks> you stated you see no disks after password..
>
> >[01:24] <diogenes_> pragomer, as suggested: pkexec env DISPLAY=$DISPLAY
> >XAUTHORITY=$XAUTHORITY <app name> /etc/environment
> >
> >[01:42] <pragomer> diogenes_: it worked. after i executed pkexec the
> >app
> >now works also as normal. thank you all very much. awesome community.
> >very
> >kind
> >
> >Valorie
>
> --
> @wxl | polka.bike
> C563 CAC5 8BE1 2F22 A49D
> 68F6 8B57 A48B C4F2 051A
>
--
http://about.me/valoriez - pronouns: she/her
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-devel/attachments/20190811/bfaa7c36/attachment.html>
More information about the Lubuntu-devel
mailing list