$ ls /etc/rc`runlevel | tail -c 2`.d/*gdm* Output: /etc/rc2.d/S13gdm $ sudo mv /etc/rc2.d/S13gdm /etc/rc2.d/K13gdm