LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-23-2007, 01:49 PM   #1
fusion1275
Member
 
Registered: Jul 2007
Location: Knaphill, Surrey
Distribution: Linux Mint
Posts: 290

Rep: Reputation: 36
Fedora 7 - GDM problem


Hi all,

Just got the new Fed7 from a magazine and loaded it. So kinda new to this!!

All is installed but cannot for the life of me get gdm to load up on system boot. Only when I log in via command line and enter gdm it loads up. Can someone help.

I know its a simple line to edit in a file but not sure which one on this dist.

Some threads say its the desktop file in /etc/sysconfig but I dont seem to have that file for some strange reason.

and gdm is installed as I can start it manually.

Thanks in advance people.
 
Old 07-23-2007, 02:51 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
The X-system should start GDM automatically as part of the startx processing. (The /etc/sysconfig/desktop file is only present if you want to over-ride the defaults and use some other display manager.)

By the way, are you possibly logging in at level 3? (I.e., is there a " 3" in your GRUB boot line?) Level 3 does not start the X-server, so you need to do a manual startx after logging in.

Another way you could be booting to the wrong run level is to have the last line of /etc/inittab incorrectly set. It should look like this:
Code:
$ cat /etc/inittab | tail -n 2
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
You could check this by seeing what an init 5 does from your command prompt. (man init will show you all the options for the init command.)
 
Old 08-17-2007, 05:37 PM   #3
runterre
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Actually I ran into the same issue with Fedora. PTrenholme was right about the runlevel not being correct but he didn't tell you how to set it correctly. The very first command in /etc/inittab probably looks like this:

id:3:initdefault:

You need to change it to this:

id:5:initdefault:

That worked perfectly for me.
 
Old 08-18-2007, 08:27 AM   #4
Chargh
Member
 
Registered: Apr 2004
Location: Seba Beach Alberta Canada
Distribution: Fedora 16
Posts: 251
Blog Entries: 24

Rep: Reputation: 31
Quote:
Originally Posted by runterre View Post
Actually I ran into the same issue with Fedora. PTrenholme was right about the runlevel not being correct but he didn't tell you how to set it correctly. The very first command in /etc/inittab probably looks like this:

id:3:initdefault:

You need to change it to this:

id:5:initdefault:

That worked perfectly for me.
I had the same problem on Fedora 7, tried what you suggested and it Worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to switch from GDM to KDM in Fedora Core 6? rundarm Linux - Software 9 04-21-2007 01:37 PM
Entrance instead of GDM on Fedora Core 4 Fice Fedora 3 01-17-2006 03:42 PM
gdm not starting - can't login Fedora Core 1 mazzo Linux - Software 1 01-06-2005 05:46 PM
GDM session closed for me on Fedora 2 The_Nerd Fedora 0 07-12-2004 05:29 PM
problem updating rh9 to fedora: config GDM to start another wm direfent to kde legolin Fedora 0 01-24-2004 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration