You are not logged in.
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
I always use
$ kdesu gpartedThere 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
Thanks ! That did the trick, marking this thread as solved . ^^
Offline
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
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
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