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?

  • 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... – user77164 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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