Thursday, July 28, 2016

mount - 14.04: login loops back on itself - ecryptfs

This problem follows on from
14.04: No Auto login at User Account settings - I am administrator (see all comments)




I tried to remove encryption via this link How can I enable autologin for my user account when the option is not there?



but when I tried:



$ mv -rf /home/user
mv: invalid option -- 'r'


after that I was getting cannot remove [etc...] Read Only file system.




I skipped over what couldn't be done and went straight to trying to rm /home/user/.ecryptfs. Finished, rebooted, and now the login screen is stuck on the password login screen



I went here and tried this Login screen loops unless you login as Guest



I inputted command sudo mv .Xauthority .XauthorityBak which resulted in



mv: cannot stat 'X.authority': No such file or directory



I tried



$ mount -rw -o remount /home/[username]
mount: only root can do that


I tried the second answer here Ubuntu gets stuck in a login loop



$ ls -lah
total 8.OK

dr-x------ 2 [username username] 4.OK Dec 15 2014 .
drwxr-xr-x 6 root root 4. OK Dec 15 00:10 ..
lrwxrwxrwx 1 [username username] 56 Oct 24 15:51 Access-Your-PrivateData.desktop -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop
lrwxrwxrwx 1 [username username] 32 Oct 24 15:51 .Private -> /home/.ecryptfs/[username]/.Private
lrwxrwxrwx 1 [username username] 32 Oct 24 15:51 README.txt -> /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...