Two red lines/bars in iTerm2 window and error message about session ending, what is going on here?
Solution 1:
I've seen this several times. It's caused by exiting an iTerm window. If you type exit
in the window you'll be able to reproduce this behavior. I would check whatever command executes when iterm opens. This is defined in preferences.