gdm start/stop script is found in /etc/init.d/. If you're missing the link to this script in /etc/rcS.d then it is a reason why your gdm does not start when your linux box boots.
ln -s /etc/init.d/
IT, Computer Science, Database Management Systems, Storage Systems, Linux, Device Drivers, Postgres, etc.