Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kb0haeOffline
Post subject: Error in Kmenu entry for Gparted  PostPosted: 24.01.2013, 18:19



Joined: 2010-09-12
Posts: 50

Status: Offline
I was just wondering why the above error has not need fixed, as it has been known about for a while now. And now kmenuedit is not included in the current release. Why is that?
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: Error in Kmenu entry for Gparted  PostPosted: 24.01.2013, 21:32
Team Member


Joined: 2010-08-26
Posts: 258

Status: Offline
I'm not sure what happened kmenuedit though I suspect it used to be drawn in by a dependency which has gone away. I've just made a commit to fullstory to add it back in so it should be back in future releases.

I've not attempted to look at gparted (it's not installed on my box), apart from a quick look at the bugs.debian.org to see that they seem to think it should be fixed now (but maybe I missed something). partitionmanager does run fine here anyway.
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: Error in Kmenu entry for Gparted  PostPosted: 25.01.2013, 17:05
Team Member


Joined: 2010-08-26
Posts: 258

Status: Offline
Re gparted from the menu: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671497

So you can install (upgrade) policykit-1 on the live system to make it work and it should work on a dist-upgraded system and future aptosid releases.
 
 View user's profile Send private message  
Reply with quote Back to top
kb0haeOffline
Post subject: RE: Error in Kmenu entry for Gparted  PostPosted: 26.01.2013, 21:23



Joined: 2010-09-12
Posts: 50

Status: Offline
Hi bfree. This is a freshly installed and dist-upgraded system (installed Tuesday Jan 22, d-u on Jan 23). apt-get says policykit-1 is the latest version. I can hit alt-F2 and type gparted and it will run. To get it to run from the menu entries (there are two?!) you check the box to run as a different user, and type root as the username. And save changes of course.

Since partitionmanager is a KDE app, why is it not installed as the default instead of gparted? I have used partitionmanager several times in the past with no problems.

ttyl
 
 View user's profile Send private message  
Reply with quote Back to top
ConvBSDOffline
Post subject: RE: Error in Kmenu entry for Gparted  PostPosted: 03.02.2013, 08:14



Joined: 2010-09-16
Posts: 30

Status: Offline
Hi
Gparted is launched via pkexec and that's why it's needed policykit-1.
pkexec searches for .Xauthority file under user's home. The problem is that kdm doesn't create .Xauthority file under user home. .Xauthority is created under /root. You have two options.
1) force kdm to create .Xauthority under user home
2) make a symlink for it from /root to user home.
Good luck !
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: Error in Kmenu entry for Gparted  PostPosted: 03.02.2013, 20:38



Joined: 2010-08-25
Posts: 758

Status: Offline
ConvBSD, your post misses both the original problem (hint policykit-1 is already installed, but was troubled by the bug bfree quoted) - AND suggests a dangerous and useless hackaround at the same time…

Which is interesting, because the third post already explains why it happens - and how to work around it cleanly, without ugly hacks (and security implications).
 
 View user's profile Send private message  
Reply with quote Back to top
ConvBSDOffline
Post subject: RE: Error in Kmenu entry for Gparted  PostPosted: 05.02.2013, 18:09



Joined: 2010-09-16
Posts: 30

Status: Offline
slh it seems that you have missed something.
kb0hae saed that he has a fresh d-u system at 23.01.2013.
If so he should have policykit-1 0.105-3 ( where according debian bugs the bug is fixed) and if the bug is there something's wrong.
Anyway I have rechecked today 06.02.2012 and no problem at all.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio