You are not logged in.

#1 2012-03-18 00:08:53

cravengemetzel
Member
Registered: 2012-02-15
Posts: 7

GParted won't start .. [SOLVED]

I cannot start GParted from the menu (I am using KDE, if this is important) . The gksu password prompt comes up, but after that nothing starts .

When trying to start as root from the command line, I get the following error message:

# gparted
No protocol specified

(gpartedbin:5623): Gtk-WARNING **: cannot open display: :0


Sigh, I need to edit partitions on a USB and I do not want to boot into Windozer to do it . =/



*EDIT*

I ended up using fdisk and mkfs, but I would still like to work on a resolution to this problem, if at all possible .

Last edited by cravengemetzel (2012-03-24 16:14:34)

Offline

#2 2012-03-18 00:42:31

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,671

Re: GParted won't start .. [SOLVED]

I always use

$ kdesu gparted

There are a few ways to do this correctly
https://wiki.archlinux.org/index.php/Ru … ps_as_root

Last edited by skunktrader (2012-03-18 00:44:08)

Offline

#3 2012-03-24 16:14:14

cravengemetzel
Member
Registered: 2012-02-15
Posts: 7

Re: GParted won't start .. [SOLVED]

Thanks ! That did the trick, marking this thread as solved . ^^

Offline

#4 2012-08-10 19:38:55

drankinatty
Member
From: Nacogdoches, Texas
Registered: 2009-04-24
Posts: 101
Website

Re: GParted won't start .. [SOLVED]

What did the trick?? Running 'kdesu ...' is not a solution to running gparted from say the command line, or fluxbox, or in gnome for that matter. I get the same error attempting to run it in gnome. What was the trick?


David C. Rankin, J.D.,P.E.

Offline

#5 2012-09-24 14:35:53

Evilandi666
Member
Registered: 2010-10-28
Posts: 105

Re: GParted won't start .. [SOLVED]

bump

Edit: Solution: Edit startmenu entrys (right klick on start menu logo) -> gparted -> advanced -> start as root -> works.
See http://aptosid.com/index.php?name=PNphp … pic&t=1511

Last edited by Evilandi666 (2012-09-24 14:47:21)

Offline

#6 2012-09-24 23:41:23

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: GParted won't start .. [SOLVED]

You can also use 'gksudo <command>', and if you have gnome gksudo is installed as dependency.
It also works on other window managers after explicitly installing it.
"gksu  is a frontend to su and gksudo is a frontend to sudo.  Their
primary purpose is to run graphical commands that need  root  without 
the need to run an X terminal emulator and using su directly."

Offline

Board footer

Powered by FluxBB