Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Last night, i was working on the computer normally, and then i want to turn it off, so my first problem was when i press the power button upper-right, it opens the box but tiny and empty

so i thought that after reboot everything will be fine, so i actually opened Terminal and typed :

shutdown --help

and shutdown told me what are the options i selected :

shutdown -P 1

after one minute, the HDD got busy for about 5 seconds and everything shutdown, i meant not normal shutdown, in the normal shutdown, he closes the programs, then close gnome and terminate all remaining process and shutdown.

but here nothing closed, simple everything is off i thought also that i choosed wrong shutdown option and i didnt worried about it

the next night, i turned on my PC and i was extremely surprised! my user account is deleted! plus the background and other setting are back to default, but not sure if all settings resetted cause the wifi still connects automaticlly

and now im writing this question on my ubuntu signed in as guest

also, the login button still available, but it requires username and the password, im very sure i type them correctly but he says wrong!

so the only way i can access my ubuntu is guest, and i have no permission to do everything, and also, my user Folder is still available in /home/yousef/ (yousefs is my username) however, i cant access him due permission issues

please help i really appreciate everything, i cant loose my os, im learning C programming and i made a lot of projects!!

moreover, i thing my account was deleted before reboot.

Summery : after reboot, ubuntu was fully resetted and my account was deleted!!

Installed ubuntu 13.04, dual-boot with windows 8

**

GUYS NEW PROBLEM!!!! I HAVE REBOOTED TO ENTER RECOVERY MODE, I DID A CHECK DISK AND IT STOPPED AT 0.3%, I REBOOTED AGAIN AND NOW IT DOSN'T BOOT, I HAD TO ENTER RECOVERY MODE AND CHOOSE RESUME TO BOOT UP, AND NOW EVERYTHING LAGS, EVEN THE MOUSE CURSOR ALSO THE SCREEN RESOLUTION IS DOWN TO 1024X768 RATHER THAN 1366X768 AND THE SCREEN IS NOW IDENTIFIED AS "LAPTOP", I WANT TO TELL YOU THAT MY HDD S.M.R.A.T REPORTS THAT THE HDD LIFE WILL NED IN 1 YEAR, SO IS MY HDD DESTROYING?? NEED QUICK ANSWER SINCE I HAVE VERY VERY IMPORTANT DATA

**

share|improve this question

marked as duplicate by Web-E, Alvar, belacqua, Radu Rădeanu, AgentCool Aug 2 '13 at 15:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
what ubuntu version do you use? –  Private Jul 25 '13 at 8:38
    
I USE UBUNTU 13.04 –  Yousef's Jul 25 '13 at 8:48
add comment

1 Answer 1

If it is a duplicate of Can't login to my user account, here is what you have to do.

You have to change the ownership of .Xauthority so press Ctrl+Alt+F1 and try to connect. If you can't connect with yousef, try to connect as root (so as username gives it root and as password it might be the same than yousef). Then do

chown yousef:yousef ~/.Xauthority
reboot

and see if it has worked. You can also just delete .Xauthority using nautilus if you can login to graphical session (you can install other display manager such as GDM to login, the problem lies in LightDM), or you can delete it via the terminal

rm ~/.Xauthority
share|improve this answer
    
i have seen this question actually it didnt helped, it stil not working, the root password isnt neither root or my password –  Yousef's Jul 25 '13 at 9:35
1  
How did you do it without begin connected ? You don't have the permission to do it from a guest account since you have no access to /home/yousef. If you go in recovery mode from grub you can reset the root password. –  Benoît Legat Jul 25 '13 at 12:10
    
trying that.... –  Yousef's Jul 25 '13 at 12:12
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.