On Fri, Mar 23, 2001 at 11:37:41PM +0000, Simon Read wrote: > Folks, > > I was trying to change the path for users of my freshly installed > Debian machine. I found (to my dismay) that /etc/profile is NOT used > if I login at the console using 'xdm', but IS used if I login remotely > (using ssh).
change the first line of /etc/X11/Xsession from: #!/bin/sh to #!/bin/bash --login then /etc/profile and ~/.bash_profile will be used. the drawback to this is it doesn't work as expected if you use a shell other then bash. -- Ethan Benson http://www.alaska.net/~erbenson/
pgpgB2jOs3A53.pgp
Description: PGP signature