LinuxQuestions.org
Help answer threads with 0 replies.
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 01-22-2019, 07:17 PM   #1
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
synaptic can't launch from menu - solved


says something about pkexec? anyone know how to fix this. just nottied - i believe that all 3 laptops in the house have the same issue

will check office laptop in a minute.

Last edited by hemlocktree; 01-22-2019 at 07:58 PM.
 
Old 01-22-2019, 07:22 PM   #2
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
the ofice one has the same probem moksha cannot launch it. hmmmm..
 
Old 01-22-2019, 07:36 PM   #3
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
ylee tried sudo apt-get install policykit-1-gnome from another thread you said to install and choose olicy kit at startup but still nothing.
 
1 members found this post helpful.
Old 01-22-2019, 07:41 PM   #4
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
ok on reboot seemed to work now - weird.

all 3 seem to work now. thannks ylee

Last edited by hemlocktree; 01-22-2019 at 07:57 PM.
 
2 members found this post helpful.
Old 01-22-2019, 08:07 PM   #5
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
adding policykit to startup really slows the startup time badly.... too bad.
 
Old 01-22-2019, 09:59 PM   #6
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
i didn't notice any slowdown on mine after adding policykit to startup. did it affect all of your systems that way?
 
Old 01-23-2019, 05:39 AM   #7
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
2 out of 3 - the 3rd is ssd and more ram
 
Old 01-23-2019, 07:59 AM   #8
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
one of these days i will move into the new era of magic that is ssd. there was a decent price on a 250 gb samsung in sunday's paper (and probably plenty online) and it certainly made me thing "what if...". goodness knows i use well less than that amount of space for my daily setup, but as i am not anywhere near an intensive user the hdd still spins plenty fast for me
 
Old 01-23-2019, 08:51 AM   #9
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
ylee - what does this policy kit stuff do and shy needed? to ask a really dumb question and why would it slow startup times so much? thank you.
 
Old 01-23-2019, 02:18 PM   #10
makarovnik
LQ Newbie
 
Registered: Nov 2018
Location: Northwest
Distribution: Lubuntu, Peppermint, AntiX
Posts: 15

Rep: Reputation: Disabled
I did some more testing and this is what I found:

I did a clean install of Bodhi. Next I installed synaptic. It launched fine from the menu. I looked to see if policykit-1-gnome was installed and it was not. So I don't think that was my particular problem because everything is working fine. I also checked to see if polkit-agent-helper-1 was installed and running and it was.

I then installed the following: gnome-disk-utility, gnome-multi-writer and libreoffice. Installing one of those packages broke either pkexec or esudo because now synaptic won't launch from the menu. I looked to see if either of the policy kits were installed or running. Everything was as before. I tried esudo, e.g. esudo pcmanfm and that worked fine. Again I reinstalled esudo anyway and everything works again. This solution was offered earlier by rbtylee another synaptic thread and for me it works and it was pretty painless. Thanks again.
 
1 members found this post helpful.
Old 01-23-2019, 04:15 PM   #11
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 454

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
Quote:
Originally Posted by hemlocktree View Post
ylee - what does this policy kit stuff do and shy needed? to ask a really dumb question and why would it slow startup times so much? thank you.
I don't experience and any noticeable slowdown on any of my systems even my netbook using it. Sorry.

If I were sitting in front of your systems and saw the slow down I would debug it somehow. But I am not. I would start by looking in your .xsessionerrors file for clues and go from there. If no clues there I would look at sys logs. And if none of that helped I would break out the serious tools, xephyr strace gdb and so on. But I would figure it out in time.

As to why it is needed, it is only needed if you install programs that try to get root access by using policykit and/or pkexec. And do so in a way that doesn't play well with the way esudo is code and packaged. It is all rather complicated, google it. Policykit is a sort of new development to me who is old enough to consider guns N roses a new band. So I only know the basics of using it.
 
1 members found this post helpful.
Old 01-23-2019, 04:24 PM   #12
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Thanks ylee. nothing changed other than the commands i ran as you instructed so i thought that may be the culprit.

you skillset is beyond me - i appreciate t but will have to leave as it unless something more pops up.

thanks my friend!
 
Old 01-27-2019, 05:03 PM   #13
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
i had been reading another thread that gave me some info on solving this however - no knowing command line and also so little of linux. will this problem be solved when i do updates and upgrades? or will every other or some other updates and dist-upgrades break this again? what do i have to do to permanently fix it if this will break again. thank yoy.
 
1 members found this post helpful.
Old 01-27-2019, 05:52 PM   #14
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 454

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
Updates will not break it if ya they don't include esudo. Put esudo on hold if ya wish and ya should be ok. I may get around to trying to find a fix for esudo so that it plays well with policy kit but prob that will have to wait until the next release. That is because various methods of doing it more properly should have been done when the ISO was made. BUT that is not to say I might try some hackish sorta works solution before then.

Hate to say it but it is not really an issue that bothers me much and I tend to focus my attention of stuff that I think needs done or that personally borks my system. It is mostly a time issue and our team has shrunk to next to nothing, and besides it never had many programmers in it. On occasion an e-dev or two would help and a few semi programmers helped some in the past. Plus we lost one or two real programmers and ... Not worth going over the inner details of our history here lol.
 
1 members found this post helpful.
Old 01-27-2019, 06:26 PM   #15
hemlocktree
Member
 
Registered: Aug 2018
Posts: 719

Original Poster
Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Originally Posted by rbtylee View Post
Updates will not break it if ya they don't include esudo. Put esudo on hold if ya wish and ya should be ok. I may get around to trying to find a fix for esudo so that it plays well with policy kit but prob that will have to wait until the next release.
sorry to add to your work but if i update and dist-upgrade via terminal - how do i not include esudo as you say.

i always do sudo apt-get update - and it just runs and then sudo apt-get dist-upgrade. and it just runs - i do not see where i have any choice as such. sorry i keep telling you guys i know squat and am rather dense.

thanks robert.
 
1 members found this post helpful.
  


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
Shell script with Menu and sub menu and in sub menu execute another shell script SHWE Linux - Newbie 9 11-03-2018 06:19 PM
apt-get install synaptic / aptitude install synaptic not working :S LittlePenguin Linux - Newbie 5 01-19-2011 07:25 AM
Synaptic Error. Nothing shows up in synaptic because of error! randell6564 Ubuntu 1 04-16-2007 09:19 PM
Synaptic Gui ver on Suse 10.0 - error message : "command synaptic not found" suse2166 Linux - Newbie 6 04-04-2006 01:58 AM
FC3 Versions - Synaptic and Launch up2date Hook99 Linux - Newbie 1 04-25-2005 04:50 PM

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

All times are GMT -5. The time now is 02:23 PM.

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