When you issue something like gksudo "gedit foofile" in a terminal in gnome, the terminal shows an error message (see below) but the commans works anyway. Can anyone explain for me in English what is actually happening? While I have no problem with the result, it seems like there should be a failure and it makes me curious.
(gedit:5638): GnomeUI-WARNING **: While connecting to session manager:TIA
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.