Fedora :: Cannot Use Gedit As Root
Mar 19, 2011
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
[Code]....
View 6 Replies
ADVERTISEMENT
Nov 3, 2010
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)
View 14 Replies
View Related
Mar 12, 2011
When trying to use gedit in su mode get this:
Code:
(gedit:2340): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
**
[Code]....
tried removing and reinstalling but no change
any other options or a way to boot the graphic mode in root?
View 14 Replies
View Related
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 ).
View 3 Replies
View Related
Nov 27, 2009
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,
View 4 Replies
View Related
Aug 27, 2010
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?
View 2 Replies
View Related
Jun 6, 2011
I can do it with mousepad. Below is what I get when trying to open with gedit
[Code]...
View 3 Replies
View Related
Jul 20, 2011
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!
View 12 Replies
View Related
Dec 4, 2010
i want to install skype and have to do it maually, but when i type gedit /etc/yum.repos.d/skype.repo in terminal i get this error:
[root@rkxl rishi]# gedit /etc/yum.repos.d/skype.repo
(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.
View 4 Replies
View Related
Jan 1, 2011
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.
View 2 Replies
View Related
Jun 6, 2011
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.
View 9 Replies
View Related
Jan 23, 2011
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
[code].....
View 6 Replies
View Related
Nov 13, 2010
i recently installed Fedora 14 and when i'm trying to open any file i'm getting this error
[root@blitz Documents]# gedit /home/blitz/Desktop/test
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection-
[code]....
View 2 Replies
View Related
Oct 8, 2010
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...
View 3 Replies
View Related
Feb 8, 2010
I set-up my Sudo it works but when I use Gedit I get the following message
Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers
If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?
View 9 Replies
View Related
Jan 12, 2010
I am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to
cd ~/ies4linux/ie6
cp user.reg ~/user.reg.old
gedit user.reg
1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg
View 3 Replies
View Related
Oct 29, 2010
When scrolling down in nano with keyboard (holding "down" key), nano scrolls several lines at once each time. Is there any possibility to configure it so it will scroll one line each time like gedit does when scrolling in gedit?
View 3 Replies
View Related
Jul 21, 2009
If i type gedit while as root it give this warningQuote:(gedit:5655): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supportedGConf 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 http://projects.gnome.org/gconf/ for information. (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.)And over the time, the paragraph block from GConf Error.... to ...was broken is repeated again and again
View 2 Replies
View Related
Mar 25, 2010
No error when running gedit in terminal, but after it quits:
Code:
(gedit:3288): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
(gedit:3288): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
(gedit:3288): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
View 4 Replies
View Related
Dec 28, 2009
I am trying to check spelling in a text document, but gedit (v. 2.28.0) reports every word as incorrect. When I check the "autospell" option, it highlights the entire document. When I try to set the language, the language list is empty. I do have aspell and aspell-en installed, but gedit seems to ignore them. aspell works fine from the command line. The SpellChecker plugin is installed. Anyone has an idea what might be missing? Some env variable is not set correctly? Any other leads? (I am on Fedora 12).
I wouldn't be asking, but I'm tuning this up for someone who isn't command-line-knowledgeable.
View 2 Replies
View Related
Jun 28, 2010
Does anyone know how to install html-export plugin for Gedit ?
I took it from here: [url]
It is pretty old, was not updated for a long time.
When configuring I get:
Code:
Alternatively you may set the GEDIT_CFLAGS and GEDIT_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details.
I have installed gedit-devel but it did not help unfortunately.
View 4 Replies
View Related
Dec 4, 2010
I get error when trying to open files with gedit from terminal, here the esteps:
Code:
1. Open Terminal
2. Show: [tgp@nobocanuser ~]$
3. type: su
4. password: ******
5. Show: [root@nobocanuser tgp]#
6. Type: gedit /etc/X11/xorg.conf (or another file to edit)
7. Show: (gedit:2687): EggSMClient-WARNING **: Failed to connect to the session
manager: None of the authentication protocols specified are supported
[Code]...
View 2 Replies
View Related
Jun 27, 2011
Gedit windows don't aerosnap left or right. They do upwards (to maximize).
Fedora 15, Gnome Shell, enjoying it.
A classical case for "aerosnapping" two windows side by side, in my experience, is a terminal on one side and a HOWTO in gedit on the other side. This allows easy copy and paste.
Anyway, a gedit window doesn't aerosnap left and right (it only heeds to aerosnapping on the top, for maximizing its window).
View 8 Replies
View Related
Aug 8, 2011
I'm using Fedora 15 on my Dell Inspiron 17R (dual booting with Win7) I'm trying to edit the GRUB menu after an update, but when I try to gedit the menu.lst file, I'm getting an error.
(gedit:1884): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting. Terminated Is this an error I can resolve? Did I do something to break it
View 1 Replies
View Related
Oct 25, 2010
Somehow gedit went ahead and modified its hotkeys to have save be nothing, and control s be find. How to get save back?
View 4 Replies
View Related
May 31, 2011
When I try and run gedit command through terminal to edit files it won't open them
Quote: (gedit:4113): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
View 6 Replies
View Related
Jan 26, 2010
I edited the passwd file to modify the default shell for root from bash to tcshnow when I try to login to root it gives me the following error:"su: /bin/tcsh : No such file or directory"
View 3 Replies
View Related
Mar 24, 2010
the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.
I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible
View 4 Replies
View Related
Jul 14, 2011
I've started to get emails that would typically come from [URL] as [URL]. These emails come from services that send out emails (backup programs) directly, or from cronjobs. I've logged in as the non-root account and either sudo su - or su - to root and the restart the service at one point or another. If I login directly as root and bounce the service or cron the emails come across as from root. I don't see anything in my environment variables after I su to indicate what would cause this. I'm not sure where else to look? A pam setting? This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently) I've only got Fedora so I don't have anything to compare to. In Fedora 10 I did not have this problem.
View 2 Replies
View Related
Oct 20, 2010
I found this on Bee's website. For more info on this exploit there are links there:[URl]..All you have to do in Fedora 13 is enter the following lines in a shell as normal user:
[Code]...
I don't think this can be considered solely an "upstream" problem, because I first tried it in Arch using the same version of glibc, and the final command causes both gnome-terminal and xterm windows to disappear.
View 14 Replies
View Related