Author Topic: Gparted won't accept root password??? [SOLVED!]  (Read 8114 times)

Offline wharfhouse

  • Full Member
  • ***
  • Posts: 158
Gparted won't accept root password??? [SOLVED!]
« on: January 13, 2012, 02:03:14 AM »
Tried to activate GParted for the first time from within my installation (having used it often from a LiveCD prior to installation) as I wanted to partition a USB flash drive.  It asked for a password being an administrative task, fair enough but it won't accept my root password  ???  Tried several times... checked my password out on other things like root terminal, synaptic etc., all OK.

Is there a seperate password it uses I don't know about or have I missed something?

Just in case you need to know I'm on the current (and last?) version of Zen with the current kernel 2.6.38.8.bfs

Any ideas?  Thanks.
 :)
« Last Edit: January 27, 2012, 01:59:29 AM by wharfhouse »

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3728
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Gparted won't accept root password???
« Reply #1 on: January 13, 2012, 02:36:51 AM »
Type in terminal
gparted
any messages?

Will not work...

EDIT: or try 
Code: [Select]
su -c "gparted"
« Last Edit: January 13, 2012, 02:55:08 AM by Leiche »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Gparted won't accept root password???
« Reply #2 on: January 13, 2012, 03:32:04 AM »
Zen/Gnome support forum ---     
http://linuxgator.org/gnome/forum/     

Probably good to ask there, too, in case this is zen specific.   

Offline ternor

  • Hero Member
  • *****
  • Posts: 1793
Re: Gparted won't accept root password???
« Reply #3 on: January 13, 2012, 03:47:40 AM »
I would check ownership and permissions of the executable file.

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1516
    • PCLinuxOS.nl
Re: Gparted won't accept root password???
« Reply #4 on: January 13, 2012, 08:00:07 AM »
I changed the menu-line to:

kdesu gparted

(gksu gparted tell's me it is the wrong password)

 
« Last Edit: January 13, 2012, 08:05:02 AM by DeBaas »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Gparted won't accept root password???
« Reply #5 on: January 13, 2012, 08:05:16 AM »
I changed the menu-line to

kdesu gparted
     
That's for kde. wharfhouse is using zen (gnome). Therefore, gksu gparted is needed.     

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1516
    • PCLinuxOS.nl
Re: Gparted won't accept root password???
« Reply #6 on: January 13, 2012, 08:33:26 AM »
Neal you are right, but.....
had the same problem with it using gksu in PCLinuxOS Gnome (older version)
kdesu was available and worked.
So just a try ?

Offline wharfhouse

  • Full Member
  • ***
  • Posts: 158
Re: Gparted won't accept root password???
« Reply #7 on: January 13, 2012, 09:44:43 AM »
Hi Guys & thanks for your comments and tips!  ;)

Didn't expect it to be such a popular post!  I'll try out these things over the week-end and report back next week.  ;D

So is this a common problem?

Cheers.

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: Gparted won't accept root password???
« Reply #8 on: January 13, 2012, 11:55:07 AM »
Type in terminal
gparted
any messages?

Will not work...

EDIT: or try 
Code: [Select]
su -c "gparted"

...if that doesn't work (and it should), and you want a DE-agnostic approach, this two-step method should work...

From any graphic terminal (command line interface):
Code: [Select]
su -c xterm

Supply the root password when requested, and another terminal will open.  From the resulting window, and graphic app should run with root privileges (gparted, gsmartcontrol, etc)

Offline wharfhouse

  • Full Member
  • ***
  • Posts: 158
Re: Gparted won't accept root password???
« Reply #9 on: January 16, 2012, 09:30:30 AM »
Hi Guys... as promised the update.

Quote
EDIT: or try 

Code:
su -c "gparted"

Result:  asked for password (root password put in)... "invalid"!

Quote
I changed the menu-line to:

kdesu gparted

(gksu gparted tell's me it is the wrong password)

 

"assertion failed... aborted"!

Quote
That's for kde. wharfhouse is using zen (gnome). Therefore, gksu gparted is needed.     

Same effect!

That leaves pags suggestion.  I'll give it a go when I'm next on.  Incidentally, I found a neat alternative in PCC: "Manage Disk Partitions".  Seemed to do the same stuff so I partitioned and formatted my USB stick using that, which worked well.  So perhaps I don't need GParted at all although it doesn't answer the problem.  I'd like to pursue this in case it crops up somewhere else... not unless it's a bug with the programme.  So pags, I'll let you know by & by.  ;)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Gparted won't accept root password???
« Reply #10 on: January 16, 2012, 09:40:07 AM »
Both gparted and diskdrake (Manage Disk Partitions) use the same backend.     

Offline wharfhouse

  • Full Member
  • ***
  • Posts: 158
Re: Gparted won't accept root password???
« Reply #11 on: January 20, 2012, 01:56:32 AM »
Hi Leiche and Neal,

Quote
...if that doesn't work (and it should), and you want a DE-agnostic approach, this two-step method should work...

From any graphic terminal (command line interface):

Code:
su -c xterm

Supply the root password when requested, and another terminal will open.  From the resulting window, and graphic app should run with root privileges (gparted, gsmartcontrol, etc)

'Fraid not... still an invalid password!

I think rather than make a big deal of this, I'll use "diskdrake" whenever I need this facility, as Neal says these are one and the same thing (other than the graphical interface) which does work well enough  ;)

So thanks for all your help on this one  ;D

p.s.
Neal, any idea when Package Suggest is re-opening for business?

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Gparted won't accept root password???
« Reply #12 on: January 20, 2012, 03:31:11 AM »
Quote
Neal, any idea when Package Suggest is re-opening for business?
     
It will open wen it opens. Best I can say.     

Offline wharfhouse

  • Full Member
  • ***
  • Posts: 158
Re: Gparted won't accept root password???
« Reply #13 on: January 23, 2012, 07:43:42 AM »
Thanx Neal  :)

I'll mark this thread as closed now.

cheers!
 8)

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10607
  • MLUs Forever!
Re: Gparted won't accept root password??? [not solved - but workaround]
« Reply #14 on: January 23, 2012, 08:04:16 AM »
You asked .......  yes it seems to be a common problem ..... at least it is reproducible here

gksu gparted     tells me my password is invalid
su -c "gparted"  tells me my password is invalid
su -c gparted     tells me my password is invalid

opening a terminal,  'su'-ing to root, then launching gparted works.

kdesu gparted   accepts the root password and launches
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT