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 26th June 2011, 08:04 PM
MikeKle Offline
Registered User
 
Join Date: Jun 2011
Posts: 9
linuxfirefox
[Fedora 15] Restart GDM from terminal?

A little be confused, as the debian way is not working (like sudo service gdm3 restart) and by the fact that I can not find solution in the internet
All I could find is such command like "stop prefdm" which is also not working.

Also tried to gdm stop gave me an error and nothing good happened.
Reply With Quote
  #2  
Old 27th June 2011, 05:17 AM
Neek Offline
Registered User
 
Join Date: Jan 2007
Posts: 34
linuxfirefox
Re: [Fedora 15] Restart GDM from terminal?

Hit alt-f2 and type 'restart'?

https://wiki.archlinux.org/index.php...ssive_Titlebar

Let us know if it works
Reply With Quote
  #3  
Old 27th June 2011, 07:06 AM
MikeKle Offline
Registered User
 
Join Date: Jun 2011
Posts: 9
linuxfirefox
Re: [Fedora 15] Restart GDM from terminal?

Quote:
Originally Posted by Neek View Post
Hit alt-f2 and type 'restart'?

https://wiki.archlinux.org/index.php...ssive_Titlebar

Let us know if it works
Usually I need restart it when gnome hangs, so I have alt-f6 and need something to kill/start gnome from there.

---------- Post added at 07:06 AM ---------- Previous post was at 06:52 AM ----------

Quote:
Originally Posted by mightymouse2045 View Post
#init 3 (Kills X, gnome and graphical apps and leaves you with 1 working terminal)

you will need to login again

#init 5 (restarts X and gnome shell)
This worked:
Code:
#Init 3
#gdm start
Thanks! However I think that this way is a little bit brutal for just restarting gdm
Reply With Quote
  #4  
Old 27th June 2011, 09:12 AM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: [Fedora 15] Restart GDM from terminal?

If gnome has hung then forcing gdm to stop is as brutal as init 3 and init 5

In my opinion it is cleaner as well.

I have noticed say if I am opening an SVG file (5mb or so) in gimp (gimp can import SVG only), it would sit there at 100% utilisation for file-svg process and never import it. While that was happening I had reloaded the shell with alt + f2 r and one of my extensions crapped itself and it presented me with a logout option.

Once I had logged back in the file-svg was still running at 100% as was a nautilus process. I thought hmmm a logout should have killed both those processes (as they were running under my normal user account), I logged out again and back in, and the file-svg was still running and now I had 2 nautilus processes running at 100%

Long story short - if you want to be sure you are killing any rogue processes or make sure a gdm restart has unloaded and cleared all modules 100% an init 3 / init 5 is the way to do it.

But that's from one noob to another
Reply With Quote
  #5  
Old 28th June 2011, 08:05 AM
Neek Offline
Registered User
 
Join Date: Jan 2007
Posts: 34
linuxfirefox
Smile Re: [Fedora 15] Restart GDM from terminal?

Quote:
Originally Posted by MikeKle View Post
This worked:
Code:
#Init 3
#gdm start
Did it? With a capital I?

Anyway, it's best to follow "init 3" with an "init 5" rather than just "gdm start" in order to start any other services that were stopped when you dropped to runlevel 3. It's a good habit to be in, even if you don't seem to notice any difference yourself. It's also arguably easier to type and remember.

If you don't know about runlevels, you might google up a tutorial.

If "init 5" does not get you back into X, then that's a problem worth reporting here

Thanks for the input mightymouse2045, I'd forgotten about runlevels in the context of this discussion.
Reply With Quote
  #6  
Old 27th June 2011, 05:59 AM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: [Fedora 15] Restart GDM from terminal?

Quote:
Originally Posted by MikeKle View Post
A little be confused, as the debian way is not working (like sudo service gdm3 restart) and by the fact that I can not find solution in the internet
All I could find is such command like "stop prefdm" which is also not working.

Also tried to gdm stop gave me an error and nothing good happened.
#init 3 (Kills X, gnome and graphical apps and leaves you with 1 working terminal)

you will need to login again

#init 5 (restarts X and gnome shell)
Reply With Quote
  #7  
Old 28th June 2011, 09:14 AM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: [Fedora 15] Restart GDM from terminal?

Quote:
Originally Posted by deeanabrown32 View Post
So that is a bit about me!

That's exciting - keep us updated, hope everything goes smoothly!
What the?!?
Reply With Quote
Reply

Tags
fedora, gdm, restart, terminal

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
Fedora 12 Restart on Asus F5N Studio Firpo Hardware & Laptops 2 27th April 2010 04:07 PM
Fedora 12 crashes on restart akdwivedi Using Fedora 2 11th December 2009 07:43 PM
How to restart gdm in Fedora 12 tmick Using Fedora 2 5th December 2009 11:55 PM
Fedora 10 doesn't restart jammer_uk Using Fedora 4 12th January 2009 10:32 AM
Apache: Graceful restart requested, doing restart guarriman Using Fedora 1 11th October 2005 12:29 PM


Current GMT-time: 17:13 (Wednesday, 19-06-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