Fedora :: Can't Run GEdit And Other Tools From A Terminal By Logging In As Root?
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
ADVERTISEMENT
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
May 13, 2010
What are the differences between "su -" in a GUI terminal and directly logging in as root in a text mode terminal (tty1-tty6)? Any environment, path or other functionality differences?
View 14 Replies
View Related
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 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
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
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
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
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
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
Feb 27, 2010
I can't log in as root in FC12? I could only su from user login to get to root?
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
Feb 22, 2010
I wanted to disable root logins in console, so I searched for that. I found that if I change root's bash to "/sbin/nologin" in "/etc/passwd", root user will not be able to login. So I did that. But when I wanted to use sudo command, it didn't show me root bash, but it only do the same thing as logging in as root in single user mode (shows message that this account is disabled). So, how I can disable root logins, but keep enabled sudo command for standard users?
View 6 Replies
View Related
Dec 16, 2010
I have installed fedora 14 in my computer. I installed some applications from root. I created a user id. I am unable to install my internet (broadband connection) now. every time it shows the error "Authentication failure" "install from root" something like that. How can I switch between user and root. Or how can I login as root again?
View 1 Replies
View Related
Mar 10, 2011
I need to update my NVIDIA server settings, but to do so I need to be logged in as root user. Does anyone know how to do this from the gnome desktop?
View 6 Replies
View Related
Aug 21, 2010
How i can configure syslogs/rsyslog to receive third party tools or softwares logs. For example i have a program that generates logs like when it is started and logs about its services, alerts if there are any alarms etc. I want to forward these logs using syslogs/rsyslog.
View 4 Replies
View Related
Dec 2, 2010
i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode
View 5 Replies
View Related
Apr 9, 2010
I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
View 1 Replies
View Related
Apr 12, 2010
I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.
View 1 Replies
View Related
Jan 25, 2011
I login as normal user. I can 'su root' fine - password authenticates. However, If I try to run System->Administration->Users/Groups, when it asks for root password, it is rejected. When I run updater, it reports failure to authenticate, but doesn't even ask for root password beforehand. Is there a cached password someplace?
View 7 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 24, 2011
I wish to copy o/p of lsusb command to gedit.But I am getting following error>
root@jay-laptop:/home/jay/proj# lsusb -v |
gedit No protocol specified
(gedit:4310): Gtk-WARNING **: cannot open display: :0.0
root@jay-laptop:/home/jay/proj# lsusb -v | gedit hi
No protocol specified
View 9 Replies
View Related
Jul 11, 2011
I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?
View 7 Replies
View Related
Aug 23, 2010
I searched the menu-bar of gedit, i searched the web, i searched the help of gedit.(try a search on "change background to black for gedit" and similar and you know what i have gone through).If i use the embedded terminal in gedit (the only reason i use gedit at all) its background color is set to white.I barely can read it and it is useless.This is not a gnome-installation. Perhaps i miss a package needed ?
View 4 Replies
View Related
Jun 28, 2010
I have a .sh file that I need to change one line every time I execute it. Right now I keep having to open up the file and change the line to use it.How can I create a .sh file that creates a random name whenever it's executed.Here is the line:Code:cattach /home/user/.tag mockI need to change the word "mock" every time I execute the .sh file. How could I do that?en on the other .sh that I have, this word "mock" also needs to be changed, but it needs to mirror the random name given in the first .sh file.
View 9 Replies
View Related
May 1, 2011
I am trying to use the gedit command to edit my smb.conf file. It was originally working and all of a sudden it has stopped working. I have typed.. 'gedit /etc/samba/smb.conf' but it is a no go. I used the chmod command to set permissions as.. 'chmod 744 smb.conf' However I am still unable to get the file to open. If I do the 'more smb.conf' command I am able to read the contents of the file, however I am unable to edit them.
View 9 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
Sep 2, 2011
This seems to be a gnome theme probs (even thought the panel and other stuff (QT etc...) is being themed. Does anyone have any idea as to how to fix this? [URL] edit the notification has the same prob...
View 1 Replies
View Related
May 9, 2010
getting this error when I try to use gedit to open and edit a file through terminal: (gedit:4423): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: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. 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]... 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.) GConf Error: Failed I'm using ubuntu 10.04.
View 5 Replies
View Related