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