Article 14Y13 Login gives error - Can't create /home/username/* on Linux Mint 17.2

Login gives error - Can't create /home/username/* on Linux Mint 17.2

by
Delusion of Adequacy
from LinuxQuestions.org on (#14Y13)
The issue:
I changed my password earlier today, but I must've made a typo, because I couldn't log in afterwards. I booted into the Grub menu and started a passwordless root shell to reset my password. This was succesful, as I could now enter the new new password and get past the login screen. However, as soon as I do that, I get an error that says:

Code:Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean there is some installation problem, or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem.

syndaemon: no process found
/etc/mdm/Xsession: Beginning session setup...
localuser:[username] being added to access control list
Can't create dir /home/[username]/Desktop
Can't create dir /home/[username]/Downloads
Can't create dir /home/[username]/Templates
Can't create dir /home/[username]/Public
Can't create dir /home/[username]/Documents
Can't create dir /home/[username]/Music
Can't create dir /home/[username]/Pictures
Can't create dir /home/[username]/Videos
Script for none started at run_im
Script for auto started at run_im
Script for default started at run_im
init: session.migration main process (2322)terminated with status 1
init: logrotate main process (2304) killed by TERM signal
init: Disconnected from notified D-Bus busI have the option to hit 'OK' which will take me back to the login screen. If I try to login again, I get the exact same message.

Note: where it says [username] in the above text, the actual error displayed my actual username. I am, however, paranoid when it comes to my online identity, hence I censored it in the error printed above.

I have tried:
  • rebooting the computer, both using a hard boot and using the shut down button on the login screen
rebooting the computer, both using a hard boot and using the shut down button on the login screen
  • booting in recovery mode and running 'fix broken packages' and 'check all files' (possibly 'all directories', I can't remember)
  • I have googled and searched every knowledge base I know off, but haven't found a fix
Other relevant info
I have linux mint 17.2 running on a 1TB external HDD, as my internal HD died months ago. So far, this worked like a charm. I am now using a live usb drive, as I hoped to be able to retrieve some essential files (such as my KeePass database file), but the install on the external HDD is encrypted through the use of the 'encrypt partition' option during install.

I have been using Linux Mint for about 6-8 months now, so I am somewhat proficient in the use of the terminal for day-to-day use, but I am fully ignorant on the underlying workings of Linux and the root command options at my disposal.latest?d=yIl2AUoC8zA latest?i=JZJJzvh9CDU:_n0S9j9GWAc:F7zBnMy latest?i=JZJJzvh9CDU:_n0S9j9GWAc:V_sGLiP latest?d=qj6IDK7rITs latest?i=JZJJzvh9CDU:_n0S9j9GWAc:gIN9vFwJZJJzvh9CDU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments