So startxwin.bat (and startxwin.sh) starts an xterm and invokes bash for that xterm: xterm -e /usr/bin/bash Is there any reason not to invoke bash as an interactive, login shell in this case, i.e., -i -l? -JT