For the 1st question add the dot "." in your PATH like this:
. To make this permanent put the code into your .profile or .bashrc
As for the 2nd you have to check your init files to find where gdm starts (usually in /etc/init.d/) and change it with kdm.