0

In my Ubuntu 12.04.2 with GNOME-Shell I'm not able anymore to run any graphical programs with gksudo or sudo.

I always get an error like cannot open display

I don't remember any particular changes I've done manually apart of the regular updates. I use also GNOME3 PPA and Q-series LTS Backport PPA.

I noticed also that I'm not able anymore to install extensions from the website, but I think it's not related, of course I'm not sure too :)

I've already spent time and effort searching the topic everywhere and the few I found didn't give any solution for me. I don't want to reinstall.

BuZZ-dEE
  • 14,533

1 Answers1

0

What does:

not able anymore to run any graphical programs with gksudo or sudo

mean?

If you see:

username is not in the sudoers file. This incident will be reported

While trying to "sudo" smth, instructions from psychocats.net/ubuntu/fixsudo might be helpful to you.

Generally, you need to have root shell to check and, if necessary, modify /etc/sudoers file. You should also be in admin group:

usermod -a -G admin username #from the root shell

BuZZ-dEE
  • 14,533