Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > 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 30th May 2012, 05:37 PM
Ariya Offline
Registered User
 
Join Date: Aug 2011
Posts: 39
linuxfirefox
Getting problems with opening /boot/grub/grub.conf

# gedit /boot/grub/grub.conf

(gedit:1537): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

** (gedit:1537): WARNING **: Could not connect to session bus

What does the above lines mean, and how to open such a file as /boot/grub/grub.conf in gedit?

Thanks!
Reply With Quote
  #2  
Old 30th May 2012, 07:25 PM
pjfg
Guest
 
Posts: n/a
linuxopera
Re: Getting problems with opening /boot/grub/grub.conf

Which version of Fedora are you using? You really shouldn't be editing grub.conf directly on F16 or F17.
Reply With Quote
  #3  
Old 30th May 2012, 07:27 PM
Ariya Offline
Registered User
 
Join Date: Aug 2011
Posts: 39
linuxfirefox
Re: Getting problems with opening /boot/grub/grub.conf

Fedora 17 Gnome.

There is no grub.conf actually in Fedora 17, but /boot/grub2/grub.cfg and I won't edit that, but /etc/grub.d/40_custom.
Of course, I installed Nano, so this is not a serious problem for me, but Gedit should open through the terminal.

Last edited by Ariya; 30th May 2012 at 07:30 PM.
Reply With Quote
  #4  
Old 30th May 2012, 07:32 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,904
linuxfirefox
Re: Getting problems with opening /boot/grub/grub.conf

gedit is a GUI application, it will not open properly from a root terminal unless you became root via the "su -" command
(note the dash, it's important), su by itself will not work

Nano is a console only application and so it doesn't care if you drop the '-' option on su
Reply With Quote
  #5  
Old 30th May 2012, 07:41 PM
Ariya Offline
Registered User
 
Join Date: Aug 2011
Posts: 39
linuxfirefox
Re: Getting problems with opening /boot/grub/grub.conf

Thanks!
It worked. But what is this - after su?
Is it like sux or something special for Fedora?
Reply With Quote
  #6  
Old 30th May 2012, 08:24 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,904
linuxfirefox
Re: Getting problems with opening /boot/grub/grub.conf

the "-" means to make the shell a login shell, that is, for whoever user the target is, it will read in the profile files like .bash_profile, .bashrc or whether the files are depending in the shell (for example tcsh would use .tcshrc and .login). This is not Fedora specific, pretty much any unix like Solaris will use "su - <username>" or "su --login <username>" where if the <username> option is missing is consider to be 'root'

Since the default is to consider the user target to be root when you don't actually type in the name,
Quote:
su -
means "switch user to root and make it a login shell"

A more verbose, obvious way to do this is:
Quote:
su --login root
see the "man su" for more info:
Quote:
man su
....
DESCRIPTION
Change the effective user id and group id to that of USER.

-, -l, --login
make the shell a login shell

Last edited by marko; 30th May 2012 at 08:28 PM.
Reply With Quote
  #7  
Old 31st May 2012, 11:36 AM
Ariya Offline
Registered User
 
Join Date: Aug 2011
Posts: 39
linuxfirefox
Re: Getting problems with opening /boot/grub/grub.conf

Thank you so much!
Reply With Quote
Reply

Tags
opening, problems

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] Could not open the file /boot/grub/grub.conf Obscurity Using Fedora 10 1st September 2010 03:39 PM
possible to edit /boot/grub/grub.conf from live cd? mailman1175 Using Fedora 4 29th December 2008 01:28 AM
FC4 and /boot/grub/menu.lst and /etc/grub.conf zillah Using Fedora 33 13th January 2006 06:57 AM
/boot/grub/grub.conf + modification = ? 92b16vx Using Fedora 8 20th July 2005 04:27 PM
editing the /boot/grub/grub.conf file Debaser13 Using Fedora 10 10th June 2005 05:40 PM


Current GMT-time: 01:49 (Friday, 25-04-2014)

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