#!/bin/sh
#
# Note that any setup should come before the sessreg command as
# that must be 'exec'ed for the pid to be correct (sessreg uses the parent
# pid)
#
# Note that output goes into the .xsession-errors file for easy debugging
#
PATH="/usr/bin:/sbin:$PATH"
<Sarvatt> this is the commit I was talking about messing with the paths http:// git.gnome. org/browse/ gdm/commit/ ?id=e33ee9d9b23 c103ac25b6fdb53 fe8c074de0de53
doubt hardcoding /sbin/ is the right thing to do, just know it works here
GNU nano 2.2.1 File: /etc/gdm/ PreSession/ Default
#!/bin/sh usr/bin: /sbin:$ PATH"
#
# Note that any setup should come before the sessreg command as
# that must be 'exec'ed for the pid to be correct (sessreg uses the parent
# pid)
#
# Note that output goes into the .xsession-errors file for easy debugging
#
PATH="/
#if [ -x '/usr/bin/xsplash' ];
#then
# /usr/bin/xsplash --daemon
#fi
/sbin/initctl -q emit desktop- session- start DISPLAY_MANAGER=gdm