2

I am on ubuntu 12.10.

Every time that I try to open gedit on root this appears:

(gedit:3254): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

** (gedit:3254): WARNING **: Could not connect to session bus
Braiam
  • 67,791
  • 32
  • 179
  • 269
André
  • 23
  • 1
  • 1
  • 3
  • 1
    Is it just a warning, or a fatal error preventing you from running gedit? (regardless, gksudo is the way to go) – IQAndreas Jul 14 '13 at 12:47

2 Answers2

5

Use gksudo for this:

gksudo gedit

That should do the trick.

Eliah Kagan
  • 117,780
leorize
  • 811
-4

I had the same issue. Resolved with the following command

sudo gedit & 
guntbert
  • 13,134