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 11th July 2012, 01:42 AM
exiledangel420 Offline
Registered User
 
Join Date: Jul 2012
Location: watsontown
Posts: 47
linuxchrome
gedit in xfce with root

What I want to use it for originally to edit and create files through the root I prefer it over nano

But this is what happen when I try to launch it in such a way

Code:
root@75 john]# gedit

(gedit:27633): EggSMClient-WARNING **: Failed to connect to the session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

** (gedit:27840): WARNING **: Could not connect to session bus
Is their a specified way I have to install it for xfce, or is it even possible without gnome?
I installed it through the root with yum, no errors during the install. And it runs fine with regular, and administrative privileges just doesn't work in root.

Code:
su
yum install gedit
Do I have specify it's privileges upon the install and how do I do so?

Last edited by exiledangel420; 11th July 2012 at 01:45 AM.
Reply With Quote
  #2  
Old 11th July 2012, 01:56 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
linuxfirefox
Re: gedit in xfce with root

Looks like an X authentication issue. Try the
xhost +
command before you 'su' to root.

Apparently "su -" will share the Xauthentiation and a plain "su" won't.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 11th July 2012 at 02:00 AM.
Reply With Quote
  #3  
Old 11th July 2012, 02:05 AM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: gedit in xfce with root

Or use
$ beesu gedit
Reply With Quote
  #4  
Old 11th July 2012, 02:15 AM
exiledangel420 Offline
Registered User
 
Join Date: Jul 2012
Location: watsontown
Posts: 47
linuxchrome
Re: gedit in xfce with root

I tried that I get
Code:
access control disabled, clients can connect from any host
Then I get the same thing as above.

---------- Post added at 01:08 AM ---------- Previous post was at 01:07 AM ----------

Okay will try beesu

---------- Post added at 01:12 AM ---------- Previous post was at 01:08 AM ----------

don't have beesu I don't think or atleast it's showing command not found

[john@75 ~]$ beesu gedit
bash: beesu: command not found

---------- Post added at 01:13 AM ---------- Previous post was at 01:12 AM ----------

I'm using fedora 17 the xfce 32 bit spin

---------- Post added at 01:14 AM ---------- Previous post was at 01:13 AM ----------

Okay installed it I will try again

---------- Post added at 01:15 AM ---------- Previous post was at 01:14 AM ----------

yep that launch it. thanks for the help
Reply With Quote
  #5  
Old 11th July 2012, 02:35 AM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfirefox
Re: gedit in xfce with root

xhosts + doesn't do much except for TCP connections. By default, such connections are disabled. What is used instead are domain sockets (name is in /tmp/.X11-unix/<name> where <name> is usually X0 or X1).

The problem is that there is no default DISPLAY environment variable, and if it exists, it must be the right one.

beesu passes the users DISPLAY environment variable to the root login and I believe it also passes the users XAUTHORITY environment variable as well.

xhosts + should never be used.
Reply With Quote
  #6  
Old 11th July 2012, 02:55 AM
exiledangel420 Offline
Registered User
 
Join Date: Jul 2012
Location: watsontown
Posts: 47
linuxchrome
Re: gedit in xfce with root

Okay gotha, and thanks for explaining what it does. so beesu is basically a script that passes both variables to the root logon.
And xhost + has nothing to do with the passing variables to root logon.

---------- Post added at 01:55 AM ---------- Previous post was at 01:48 AM ----------

How do I create a display default display enviroment variable for the root and the xauthority variable? so I don't need to use beesu or is that even possible?
Reply With Quote
  #7  
Old 11th July 2012, 05:00 AM
leadgolem's Avatar
leadgolem Offline
Registered User
 
Join Date: Apr 2005
Location: Littleton, CO
Age: 28
Posts: 2,855
linuxfirefox
Re: gedit in xfce with root

Code:
su -
gedit
I don't claim to understand why, but this works on my gnome system. Make sure you use the "-" after the su.
__________________
Only two things are infinite, the universe and human stupidity, and I am not sure about the former. -Albert Einstein-
yum -y --enablerepo=morals install honesty&
remove piratedcontent
S.C.O.U.R.G.E. Heroes of lesser renown, contributor.
Wine Basics Logitech g15 How-To Community made packages.
Reply With Quote
Reply

Tags
gedit, root, xfce

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
[SOLVED] Using Gedit as Root robertdaleweir Using Fedora 4 10th March 2012 06:16 AM
F14, can't run gedit as root twohot Using Fedora 44 29th November 2011 06:41 AM
Cannot use gedit as Root Kevin1a Using Fedora 6 19th March 2011 04:05 AM
Gedit not working for root Shugs81 Using Fedora 14 18th March 2011 12:18 PM
[SOLVED] Gedit Root Error dmachop Using Fedora 2 1st January 2011 02:34 PM


Current GMT-time: 08:02 (Friday, 24-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