0
votes
1answer
2k views

unable to open a file in gedit from the terminal when I login as root

When I try to open a file named tester.php from gedit by logging in as root, I see this : [root@Feddy htdocs]# gedit tester.php (gedit:4310): EggSMClient-WARNING **: Failed to connect to the session ...
0
votes
0answers
501 views

How to add an item to the gnome menu that starts gedit as root?

I right clicked the gnome menu and clicked on "Edit menus" Then I clicked on "New item". Type: Application Name: gedit as root Command: gksudo gedit Comment: Launch gedit as root. When I click ...