I went to the Mint menu, selected 'Preferences, scrolled down to 'Nautilus Actions Config...'. You can add an action here and I chose "Edit as root". There is already an "Open as root" option which I copied(wrote it down) and for the command I just changed 'gksu xfe' to 'gksu gedit' and have had no problems. I added this tooltip - Be Extremely Careful Using This! It gives you a right-click way to edit a file as root in Nautilus.
It's very uncommon but I have helped more than two people on the forum with the problem For some reason that I don't remember and that is a bit obscure it could compromise the .ICEauthority and/or .Xauthority files in /home/your_username If they are borked you can't log in The solution is simple - boot the live CD and delete them (but please don't do that just for fun )
Don't fix it if it ain't broken, don't break it if you can't fix it
I tried to delete ~/.gconf/apps/gedit-2 directory , and reinstalling gedit -> did not solve the problem gksu gedit and gksudo gedit does not work. Well after some minutes (not less than 5) it opens gedit but it does not respond With emacs it works. Am I doing something wrong? I go and trash the gedit-2 folder, then I go to synaptic and reinstall gedit.
Today I received this message when running gedit as root:
(gedit:14362): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
A good way to test if it is user based settings that are causing the problem would be to create another user account and then login as that user and see if you still have the same problem. Try this and report back
omns wrote:A good way to test if it is user based settings that are causing the problem would be to create another user account and then login as that user and see if you still have the same problem. Try this and report back
Thank you for the clue ! I did that and found that it works with the new account. I don't find ~/.gconf/apps/gedit-2 folder under the new user's home.