LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 04-24-2019, 05:44 AM   #16
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665

enigma: I will try your case when I get home but in general some apps do not have support for sudo. Simply, they are not able to run with root priviliges

Last edited by the_waiter; 04-24-2019 at 07:30 AM.
 
1 members found this post helpful.
Old 04-24-2019, 10:05 AM   #17
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by the_waiter View Post
I tried the esudo command entry in BL 4.5 and I can not write there. Are you sure it is possible to write?

My guide could seem ponderously, yes. But I almost not using it. I got used to command line interface which is very elegant and fast for me. I showed you a working solution. Take it or let it be...

S
Referring to BL 4.5.0, the trick is to begin with the password.
This will unlock the Command field.
When I begin with the Command field, it doesn't work here, either.

But in BL 5.0, I cannot enter any command at all, because no matter what I try,
entering the password doesn't unlock the Command field, anyway.
 
Old 04-24-2019, 10:32 AM   #18
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by the_waiter View Post
My guide could seem ponderously, yes. But I almost not using it. I got used to command line interface which is very elegant and fast for me. I showed you a working solution. Take it or let it be...

S
Sorry, if I seemed like I was offending you.
I really didn't mean to.

Last edited by madmax25; 04-25-2019 at 05:26 AM.
 
1 members found this post helpful.
Old 04-24-2019, 01:32 PM   #19
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
No problem at all. I just show my method. To be honest I do not know why the BL 4.5 worked for you and BL 5 do not. Maybe Ylee or Jeff could look at it.

Stefan
 
Old 04-25-2019, 05:49 AM   #20
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Well, BL 4.5 had its issues, too, actually, but I was able to live with them.

I guess, the biggest one in BL 5 (to me, at least) is that it's based on Ubuntu 18.04, where they moved from gksu to pkexec.
All the apps or starters which used to work with gksu, need to be edited in order to work with pkexec, now.
This, I think, makes some things more difficult.

For me, it's quite hard to get used to that, mainly because I wasn't able to find any step-by-step guide, so far, telling me how this is done.

As for now, there are six issues I need to fix:

- I cannot use eSudo, when started from the menu or from Engage.
Just thinking, could this also be caused by the gksu/pkexec issue, somehow?

- I cannot install .DEB's, probably, because of pkexec.

- I need a guide for Samba (well, I guess, this affects more Xubuntu 18.04.2 which I also need to configure, after I'm done with Bodhi).

- With Skype installed, it's annoying me with a query about some keyring password.
I was having this issue in BL 4.5, too, but I was able to fix it. I just don't remember, how.
Btw., Skype on BL 5 shows two small tray icons next to each other.

- Some apps, especially when based on JAVA, appear with a tray icon that's too small to fit in the tray (in BL 4.5 and BL 5).

- With HPLIP installed (in BL 4.5 and BL 5), the HP tray icon keeps on jumping from the tray to the upper left corner of the screen, when I close some apps (mainly JAVA based ones).

EDIT:
Forget about the eSudo issue!
I just found out, how it works in BL 5.0.

Let me add, if you want to have it in the Menu you first have to edit its launcher in
Code:
/usr/share/applications/esudo.desktop
The "NoDisplay" entry is most likely set to "true", so change it to "false" (without the "", of course).

Now here's how eSudo works:
Open it from the Menu or Engage (if is's installed),
enter your password into the according field and (this is the crucial step!) hit the Enter key.
eSudo will not be closed by that action.
After that, you will be able to enter whatever command you like.
Hit the Enter key again, that's it!

Last edited by madmax25; 04-25-2019 at 07:55 AM.
 
1 members found this post helpful.
Old 04-25-2019, 01:33 PM   #21
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
go into settings via menu - then apps and then startup apps and click the buttom for policykit uthentication. does that help?

i installed debian 2x and the one time synaptic would not take the password and then a couple of times later it did. the 2nd time i installed it and i tried to do it via the password - it suns as rot in su. but nothing. not knowing command line but it did figure it out from my little knowledge and did it terminal and after that it immediately ran via the menu so go figure.

maybe this was ddressed but i tossed it out for the heck of it.
 
Old 04-25-2019, 02:59 PM   #22
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hemlocktree View Post
go into settings via menu - then apps and then startup apps and click the buttom for policykit uthentication. does that help?
I don't have such a button and no such an authentication there.

My solution seems to work with only one click more in BL 5 than I needed in BL 4.5.
 
1 members found this post helpful.
Old 04-25-2019, 03:05 PM   #23
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
it was a run command in menu.

re: policykit button...
there should be because i checked mine before i typed the path for you.
 
Old 04-25-2019, 04:12 PM   #24
r0bur
Member
 
Registered: Jun 2018
Posts: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by madmax25 View Post
- I need a guide for Samba (well, I guess, this affects more Xubuntu 18.04.2 which I also need to configure, after I'm done with Bodhi).
There is an useful article about Samba on the https://help.ubuntu.com/

Last edited by r0bur; 04-25-2019 at 04:15 PM.
 
Old 04-25-2019, 07:31 PM   #25
Randy4bodhi
Member
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Ubuntu with custom LXDE-GTK & Bodhi Linux
Posts: 83

Rep: Reputation: Disabled
Again, hemlocktree is correct, you need to install a policykit such as lxpolkit, and make sure it is added to startup applications.

Madmax is also right about ubuntu dropping support for gksudo. It causes these issues. This is really not a Bodhi 5 issue, other than the fact that esudo was not pulled from bodhi 5 as gksu was from Ubuntu 18.04.

Also, as the_waiter explained not all apps can be run with sudo privileges.

But those that can should run from a terminal with sudo or esudo such as "esudo pcmanfm /".

Ubuntu 18.04 now uses pkexec to run apps in administrative mode with the graphical permission window. But not all apps have pkexec alternative. I had to make my own by adding a policy, and creating pkexec scripts. I did this for pluma (text editor) pcmanfm (the file manager) and a couple other apps I use.
 
Old 04-25-2019, 07:51 PM   #26
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
.......

Last edited by hemlocktree; 04-25-2019 at 08:31 PM. Reason: not relevant
 
Old 04-25-2019, 07:53 PM   #27
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
.....

Last edited by hemlocktree; 04-25-2019 at 08:31 PM. Reason: ditto
 
Old 04-25-2019, 08:18 PM   #28
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
This is page one of this present thread.

As for the pkexec issue, if I find a launcher not running anymore,
I look up the according launcher and it usually looks like this after the EXEC entry:
Code:
gksu programm-name
or
Code:
gksudo programm-name
(Of course, instead of "programm-name" there's the actual name of the app that's supposed to get launched)

As sudo I edit this line into this:
Code:
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY programm-name

Last edited by madmax25; 04-25-2019 at 08:21 PM.
 
Old 04-25-2019, 08:23 PM   #29
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
.....

Last edited by hemlocktree; 04-25-2019 at 08:31 PM. Reason: ditto ditto
 
Old 04-25-2019, 08:28 PM   #30
Randy4bodhi
Member
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Ubuntu with custom LXDE-GTK & Bodhi Linux
Posts: 83

Rep: Reputation: Disabled
Quote:
Originally Posted by madmax25 View Post
This is page one of this present thread.

As for the pkexec issue, if I find a launcher not running anymore,
I look up the according launcher and it usually looks like this after the EXEC entry:
Code:
gksu programm-name
or
Code:
gksudo programm-name
(Of course, instead of "programm-name" there's the actual name of the app that's supposed to get launched)

As sudo I edit this line into this:
Code:
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY programm-name


Never tried that one. But some apps won't work unless here is a polkit running.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BL5.0-64bit - How to set up vino, please? madmax25 Bodhi 4 04-27-2019 01:02 PM
BL5.0-64bit - How to install .DEB, please? madmax25 Bodhi 6 04-22-2019 10:55 AM
BL5-32bit - eSudo in the menu missing madmax25 Bodhi 5 01-11-2019 06:44 AM
eSudo frezes tittilvero Bodhi 1 07-29-2018 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration