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
gksudo
is the way to go) – IQAndreas Jul 14 '13 at 12:47