Oracle virtual window user / user account error

After a recent reboot, the Oracle Virtual box with xUbuntu did not instruct user "xxxxx" to login. I can login as root user, I can see / home / xxxxx /, however the development tools environment is configured as user "xxxxx".

here's an excerpt ls -al

at / home / xxxxx /

drwxr-xr-x  2 xxxxx xxxxx  4096 Jun 27  2014 Downloads  
drwxrwxr-x  3 xxxxx xxxxx  4096 Mar  3 10:03 .eclipse  
drwx------  2 xxxxx xxxxx  4096 Dec 17 11:07 .emacs.d  
drwx------  3 xxxxx xxxxx  4096 May 22 08:22 .gconf  
-rw-rw-r--  1 xxxxx xxxxx    55 Dec 16 12:48 .gitconfig  
drwx------  3 xxxxx xxxxx  4096 Jul  1  2014 .gnome2  
drwxrwxr-x  2 xxxxx xxxxx  4096 Dec 18 16:47 .gstreamer-0.10  
drwxrwxr-x  3 xxxxx xxxxx  4096 Jan 20 13:23 https:  
-?????????  1   ?     ?     644 May 22 08:22 .ICEauthority  
-rwxr-xr-x  1 xxxxx xxxxx   925 May 21 13:13 ICE.tar.gz  
drwxrwxr-x  3 xxxxx xxxxx  4096 Jun 27  2014 .local  
drwxrwxr-x  2 xxxxx xxxxx  4096 Jan 20 13:25 .metadata  
drwx------  4 xxxxx xxxxx  4096 Jun 27  2014 .mozilla  
drwxr-xr-x  2 xxxxx xxxxx  4096 Jun 27  2014 Music  
drwxr-xr-x  2 xxxxx xxxxx  4096 Jun 27  2014 Pictures

      

How do we recover the xxxxx account? chmod

, chgrp

, chown

, Try replacing the file .ICEauthority

all failed.

+3


source to share


1 answer


We can see that the permissions for the .ICEauthority file are corrupted, the file system can be corrupted as well.



Follow these steps:
1. Log in as root
2. unmount the disk partition on which / home / xxxxx is mounted, for example: umount /dev/sdd1


3. Run the "e2fsck" filesystem checker on / dev / sddx, for example: e2fsck /dev/sdd1


4. e2fsck may ask you to confirm the fix , press the "y" key as many times as necessary.
5. will ls -al

display all the permissions restored.
6. Reboot xUbuntu, it will work :-)

+3


source







All Articles