I am unable to log in to my account, having recently installed Linux Mint. I had this problem with Ubuntu 13.10, and no amount of re-installations seemed to fix it. However, Mint gives me a very useful window alerting me that my session lasted less than 10 seconds, and displays the contents of my ~/.xsession-errors file, before returning me to the login screen. I have been able to access the terminal to execute commands thus far, and I have verified that my $PATH variable is:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/user/bin:/sbin:/bin:/usr/local/games:/usr/games
The contents of my .xsession-errors is:
/etc/mdm/Xsession: Beginning session setup...
/etc/mdm/Xsession: 1: /etc/profile: id: not found
/etc/mdm/Xsession: 12: [: Illegal number:
/etc/mdm/Xsession: Executing default failed, will try to run x-terminal-emulator
/etc/mdm/Xsession: 205: exec: x-terminal-emulator: not found
EDIT: After being advised to select "Cinnamon" from the login option screen, I tried it and it didn't work. The new .xsession-errors file can be found at: http://pastebin.com/36F4daQU
It looks like useful information, but, being new to Linux, I'm not sure what to do with it.
/etc/mdm/Xsession
and/etc/profile
files. Is this a fresh install or are you installing somewhere that had another Linux before (and have not formatted)? – terdon♦ Mar 10 '14 at 18:24$HOME
. – terdon♦ Mar 10 '14 at 18:47