Fedora :: Can't Change Gedit Preferences When Logged In As Root (su)
Sep 22, 2009
Is there a way to fix this ? I need to be able to edit files with root privileges, not to mention that I don't want it to make any backups ( can be turned off ).
I want to change gedit font size and color scheme as root but the font is locked out and when selecting a color scheme I get the following error: ** (gedit:2562): CRITICAL **: gedit_prefs_manager_set_string: assertion `gconf_client_key_is_writable ( gedit_prefs_manager->gconf_client, key, NULL)' failed How can I get around this?
How to add something to start when you are logged in (System -> Preferences -> Startup Applications), but I want to know, where this parameters stored.
Just did a fresh install of fedora 14 (laughlin). I want to run gedit as root ... that's my prefered way for creating and adjusting system config files. Now I'm very stuck ... can't even access yum.conf to set keepcache. I get:
Code: (gedit:2598): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported ** GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
I'm trying to use gedit as root to edit some config files, but everytime I try to open it, I get this mess. I had a similar issue with debian, and someone solved it by telling my to run gksu nautilus. I tried to run gksu gedit, but apparently that doesn't work on Fedora. I really like Fedora, and I want to stick with it, but if I can't edit these files, I'm going to have issues.
Code: [kevin@senbonsakura ~]$ su Password: [root@senbonsakura kevin]# gedit
I am using Fedora 10 .Generally to update I open a virtual console by pressing Ctrl-Alt-F2,login as root and give the "yum update" command.Then I continue using my graphical terminal for other tasks from the 'non-root' account..Now my room-mate comes uses my 'non-root' account to browse web for few minutes and then opens a terminal types "halt", ENTER and viola...! My root account seems to be insulted by a 'non-root' user!.When I am doing updates or other important work as root any silly user can just 'halt' my computer. Can somebody tell me how to set up my computer so that when root is logged in no other user can simply halt the computer.
Every time I invoke gedit from the root terminal I get:-
[AnOther@FSLServer ~]$ su Password: [root@FSLServer AnOther]# gedit
(gedit:6447): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
followed by 33 occurrences of:-
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL]. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)gedit opens fine but it seems really odd. My exposure to linux is not vast but this has never happened before Fedora12 It doesn't happen if I just use the terminal as an ordinary user.It also has nothing to do with the Bad & Ugly Gstreamer plugins as this happened from the moment the system was installed from the DVD and before the plugins were loaded even after removing them and rebooting I still get the ream of GConf errors if I start Gedit after su,
Everyone is wondering why we can't run gEdit and other tools from a terminal by logging in as root(e.g"su-"), I understand that by making changes they are trying to force us as users of Linux to learn better habits that are more secure, but the issues are driving people nuts!
I for one really like being able to log as root and open gEdit to make drive changes without having to login as root, I would normally still have access to all my things like email etc. So changing Linux to force everyone to not use tools like gEdit as root is becoming more of an inconvenience than they realize, there must be a safe way to do this!
I have updated the gdm file to be able to log in as root in Fedora 10.Nevertheless after I had selected package updates to be installed logged in as root I still get an error message that I do not have enough privileges.The terminal installation method is a bit of a problem since I do not think it will search for dependencies and therefore it can be excessively long to figure out what is missing for a package installation. In simple cases it works OK, but in more difficult cases it is a bear.
(gedit:5256): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported ** GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL) Aborted (core dumped) [root@rkxl rishi]#
[Code]...
I use Fedora 14 and with Fedora 13 i didn have this problem. I am using Fedora for about six months.
On my system, System->Preferences->Software Updates, as best I can determine, completely ignores the "Check for updates: " setting. It looks as if, regardless of what I set, I get daily checks. Is anybody else experiencing this? Anybody got a fix? I like the idea of having the system check for me, so I don't want to just pitch the program.
I have just installed F11 and want to change Nautilus to default Ubuntu and not open each folder in separate window. But I can't go to Edit/Preferences.Nautilus keeps crashing and I get this report:Quote:
I have a Red Hat 4 server with Sungard Luminis installed on it. I was following some instructions on setting up Luminis to start at boot. One of the steps was modifying the sudoers file. Since modifying the sudores file, I am no longer able to "su" to root when logged in as a normal user. When doing so, I get su: incorrect password after putting in the password. I have another server with the exact same setup, broken one is test, the other is production, that works just fine. I made no changes to my production server. I've been looking at different things all day and the only difference I have found between the two are the results I get from running rpm -q --verify coreutils. Running that on my prodution server returns nothing. Results from my test server are below. Is this what is causing my problems? If so, what's the fix? I haven't found that yet. I've checked /etc/pam.d/su, both servers are the same.
F11: Anyone know why the Courier font isn't available in all apps. I wanted to change the fonts under "Appearance Preferences" to Courier and it's not there.
Whenever I try to open a file using gedit as a super user in fedora 14, i get the following error (gedit:2975): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported ** GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL) Aborted (core dumped) I've googled the problem, but nowhere comprehensive solution is said to be found.
Whenever i try sudo gedit I get: Cannot open display: Run 'gedit --help' to see a full list of available command line options. how I can open gedit as root.
I can use the accents (tilde, acute, ...) normally when I am the root, but when I log into my user account they re not recognized in most applications (opera, emacs, amsn, python idle,...) although they work in other applications (terminal, vim, iceweasel...). I guess that would have a simple solution. Something is right in the root account and wrong in my user account, but I cant figure it out. My layout is USA International (with dead keys).
Fedora 9 and a maxtor 500gb external It seems i cant get the hd to initialize (not sure if thats the correct word for it) until I log in as root. I can see the icon on the desktop for it and everything, but when i double click on the icon nothing happens. It also doesnt appear in /media/. If I log out of the user account and log into root, all of the sudden i can open the icon in both root AND the user account. It also shows up in /media/. I'm not sure if its a permissions issue or something else.
ps: using ssh to log into root from another machine makes no difference though, only using X or whatever its called from the physical machine.
on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.
I've been searching for a permanent solution for some time now, but the threads containing the same error message never seem to be about the same issue.I want to:I'm not trying anything fancy, all I want to do is open a write-protected file with gedit as root, like so:
Code:
# sudo gedit /usr/bin/deadbeef
..but every time I try, no matter the file, I get this error message:
Code:
(gedit: [process #] ): Gtk-WARNING **: cannot open display
I already know: I can circumvent this by going:
Code:
# xhost +local:root # sudo su # export DISPLAY=:0.0
What is it gedit uses additional that causes so many problems in root account? When run Code: # gedit /some/file it either doesn't open file at all or opens it with lots of errors...
(1) My preferred File Management program, the one that kicks off when I use Places? and
(2) The amount of time before the display is put to sleep?
I DO NOT WANT TO USE A GUI FRONT END to do this. The reason is (1) my preferred File Manager, Xfe, is not listed as one of the options by Preferred Applications. And (2) Power Management Preferences allows 10 or 30 minutes before putting the display to sleep but I want 20 minutes. I need to know what files contain these configurations so I can edit them directly.
I don't have System > Administration > Login Window > Local Tab because I wanted to change my login window I cant change it because I dont have Login window preferences. I do have login screen but I cant change anything graphical there. I am running linux 10.04 LTS.