Possible Duplicate:
iTerm2 terminals close immediately with “argpath=login error=No such file or directory”

iTerm2 is immediately closed after launch with the error:

"argpath=login error=No such file or directory"

If I switch from login to command (with bash -l) I'm getting the following error:

"argpath=bash error=No such file or directory"

I'm running OSX Lion.

How this can be fixed?


Looks like there is some problem with reading whatever iTerm2 reads as a login shell. Try changing the preference in 'Profiles/General' to a specific command (i.e. /bin/bash) and see if that works.

Additionally, does Apple's terminal work? could you do something like

echo $SHELL

and see if bash actually exists on your machine? Bash is quite unfussed on what login items you have, so make sure you have a minimal .bash_profile and .bashrc in your $HOME

Give it a try and let's see if we get enough info to help you.


Not the answer you're looking for? Browse other questions tagged .