Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th November 2009, 03:49 PM
FSLLL Offline
Registered User
 
Join Date: Nov 2009
Posts: 59
linuxfedorafirefox
Wierd behaviour when invoking Gedit from root terminal

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 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.)

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,

Last edited by FSLLL; 27th November 2009 at 04:12 PM.
Reply With Quote
  #2  
Old 27th November 2009, 03:53 PM
mouse_runner's Avatar
mouse_runner Offline
Registered User
 
Join Date: Oct 2009
Location: Netherlands
Age: 41
Posts: 397
linuxfedorafirefox
same here:

pls look to the differences:

Code:
localhost ~]$ su
Password:              
[root@localhost name]# gedit
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 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.)

BUT,,, when you do:

Code:
@localhost ~]$ su -
Password:
[root@localhost ~]# gedit
the error stays away

Edit: this seems to be a known bug.

it has something to do with
Code:
/etc/dbus-1/system.d/org.gnome.GConf.Defaults.conf
__________________
dell Studio 17, 4GB mem, 320GB HD Ubuntu 10.04 LTS
Gnome desktop
[SIGPIC][/SIGPIC]

Last edited by mouse_runner; 27th November 2009 at 03:55 PM.
Reply With Quote
  #3  
Old 27th November 2009, 04:24 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Hello everybody,

That also does not happen with sudo gedit. Anyway, I have noticed what you described for a long time. I have always ignored it.
Reply With Quote
  #4  
Old 27th November 2009, 04:56 PM
mouse_runner's Avatar
mouse_runner Offline
Registered User
 
Join Date: Oct 2009
Location: Netherlands
Age: 41
Posts: 397
linuxfedorafirefox
i have never noticed it, since i am using su -,, instaed of su
must confess that i am curious about the reason of the error, and the solution
__________________
dell Studio 17, 4GB mem, 320GB HD Ubuntu 10.04 LTS
Gnome desktop
[SIGPIC][/SIGPIC]
Reply With Quote
  #5  
Old 28th November 2009, 05:50 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfedorafirefox
since 'su' does not actually give you a root login shell, and 'su -' does, then the behaviour is top be expected. without a login shell a lot of environment variables (like USERand LOGNAME) don't get set and remain set for whatever other user you were signed in as.

Last edited by DBelton; 28th November 2009 at 05:57 AM.
Reply With Quote
Reply

Tags
behaviour, gedit, invoking, root, terminal, wierd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F12 gnome-terminal Page Up/Down keys behaviour Bross Using Fedora 1 6th December 2009 06:48 PM
terminal (nano?) and Gedit pwd woes! FC9 oldgnu Using Fedora 0 9th June 2008 11:52 PM
cannot run gedit through terminal jturn_1 Using Fedora 4 7th May 2007 05:07 AM
Unable to start gedit, terminal, etc with normal user linkatchrome Using Fedora 4 21st May 2006 08:48 PM


Current GMT-time: 11:42 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat