[CentOS] [CentOS 6] what really starts x11

Mon Jul 25 20:50:53 UTC 2011
Jerry Geis <geisj at pagestation.com>

Jerry Geis wrote:
> Jerry Geis wrote:
>>
>>>
>>> actually i tried that. it does start.
>>> it just doesnt start automatically.
>>> i can start it manually jerry
>>>
>>
>> One centos 6
>> I found /etc/init/prefdm.conf
>>
>> In it there is "exec /etc/X11/prefdm -nodaemon"
>>
>> When I run this by hand all it does is log me out - no X windows 
>> starting up.
>> This is what is not happening.
>>
>> X is not starting on reboot. /etc/inittab has runlevel 5.
>> Thoughts?
>>
>> Jerry
>>
> I finally see in /var/log/messages (which I looked at first) that the 
> error.
> prefdm is respawning too fast...
>
> still stuck... I tried removing all files in the ~ directory in /root 
> and my user. Same result no X windows
> by default. startx still works.
>
> Jerry
>
WOW - after following the scripts prefdm -> gdm - somehow gdm was not 
even installed.
Not sure how that can be with a "graphical" install on kickstart and 
asking also @general-desktop
and @internet-browser in my kickstart file.

Anyway when I did "yum reinstall gdm" it said it wasnt installed.
so I did "yum install gdm" and it installed - I rebooted and X is now 
running.

Again - not sure how gdm did not get installed. Maybe I'll add that to 
the kickstart file.

Jerry