Rather than invoking init scripts through /etc/init.d, use the service(utility, e.g. service gdm startSince the script you are attempting to invoke has been converted to anUpstart job, you may also use the start( utility, e.g. start gdm
cat /etc/init.d/gdm | less