Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to run gkSudo. This is my second day as a linux user.

Yesterday I could do

gksudo gedit

and input my root password fine.

Today, when I run that, the GUI comes up and asked for my password, however then the program fails to run and all I get is:

(gksudo:3262): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

I cannot sudo, I cannot su, I can't do anything. I am trying to add myself to the sudoers file but I can't even view it without being root. What can I do?

share|improve this question
what you did from yesterday :) ?? – Web-E Nov 16 '12 at 12:06
what is the output of sudo gedit, for example? – Salem Nov 16 '12 at 13:48
Out sounds like you messed up your sudoers file, please follow the steps here to repair your sudo. – Gerhard Burger Jan 16 '13 at 12:17
welcome to linux. I'm glad to see we can provide a consistent user experience. If all goes well, you should be able to enjoy a new bug every day... – nus Nov 18 '13 at 2:39

I don't think this is a problem with your sudoers file. There are other reports of a similar bug in the debian bugtracker.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.