stuck in the SLIM loop

I updated rc.conf with slim="YES", but forgot to update ~/.xinitrc with exec mate-session

Every time I try to log in I get "failed to execute login command" and then the screen goes back to login screen.

How can I disable slim or update ~/.xinitrc?

FreeBSD 10.3

Last edited by a moderator:
I have not tried Alt+F2, but looked up ANOKNUSA's suggestion to drop to console. All I had to do was type "exit" or "console" right at the SLiM screen to get to the command prompt. I tried single used mode before asking the question, but my file system was in read only mode.