On frugal installs the pfix=nox is what you want to achieve this .
For full installs i have that code for the /etc/profile file :
#want to go straight into X on bootup only...
#if [ ! -f /tmp/bootcnt.txt ];then
# aplay -N /usr/share/audio/bark.au
if [ -z "`cat /proc/cmdline | grep -i 'nox'`" ]; then