glibmm-ERROR **: ?

Asked by tesaba

When I try to start gparted I keep getting this error.

terry@terry-Satellite-L305:~$ sudo gparted
[sudo] password for terry:
======================
libparted : 2.3
======================

glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_S_create

aborting...

Have already tried re-installing still get same error.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

DON'T run gui apps with sudo. You will garbage the ownership of ~/.ICEauthority and you will not be able to launch any apps.

you run command which stay in the terminal with sudo like apt-get, cp, mv etc.

To run gui apps, use gksudo (for gnome) and kdesu (for KDE). So your command will be:

gksudo gparted

And it won't break your system.

Revision history for this message
tesaba (terry-r-bartley) said :
#2

Thanks man! you ROCK!....Now I have a clean re-formated 320gb external hard drive...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Technically you CAN run all commands with gksudo etc but keep sudo to ONLY command line commands