UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just upgraded 11.04 to the latest daily version of 11.10 (Beta2+)using Update manager on my Acer Aspire One netbook. I got many hangups and errors so I reinstalled the upgrade option again from live usb. I have keept my original separate 'home' directory and username. I chose auto login during the install which did not succeed but get to a login screen yet I cannot login to my usename or shut down but I can login a guest.
I reset the 'passwd' just in case, then did another reinstall to make sure I was using the correct password (same one I have always used) but still cannot login or shut down.
Is there a simple fix to reconfigure or reinstall something to get over this problem. Suggestions would be appreciated (I have tried Ubuntuforums but got no reply).
BTW I can get to # prompt terminal via recovery option and I can login to a terminal with 'username' and password, so I know they are correct, this allows me to list the home directory and all the files are intact. As a point of interest what command would run the desktop manager gdm (not installed)? startx (another hangup)? or something new to 11.10?
Click here to see the post LQ members have rated as the most helpful post in this thread.
Thanks Nexus I can get to # root prompt (from recovery mode).
I can log in as username/passwd.
My home directory is /dev/sda6/home/username. I have tried some commands and get an error read only file system, so the problem is here somewhere.
I can get the $ prompt after login 'username' and then password. If I do ls -l I get a list of / directory and if I cd /home and ls -l I get 0 ie empty. So that home is not my original home.
I am a little stuck here. How do I change directory into /dev/sda6/home? or /dev/sda6/home/username (I get not a directory) before I try 'chown'?
Could you please point me in the right direction? Thanks
I had the same issue.
There was a .Xauthority file in my home folder owned by root and that prevented me from logging in.
Logging in a text console (Alt+Ctrl+F1 at the login screen) and issuing:
sudo rm ~/.Xauthority
solved the issue.
I hope it helps.
Thanks knulp! This was my issue as well. Once I rm'd it I was in and everything works like a charm. Darn Xauthority file. Who's the SU on this box...oh me!
Quote:
Originally Posted by knulp79
I had the same issue.
There was a .Xauthority file in my home folder owned by root and that prevented me from logging in.
Logging in a text console (Alt+Ctrl+F1 at the login screen) and issuing:
sudo rm ~/.Xauthority
solved the issue.
I hope it helps.
I left my computer and 20 min later when I came back, my password did not work anymore. I tried everything you guy mentioned and did not solved. Gonna format it againnnnnnnnnnnnn. why did I upgrade.... The problem is not formatting, the problem is losing everything.
Don't jump the gun on reformatting. It's likely a simple permissions issue. It's easy to overlook things; if you are worried about losing everything, by all means, wait for more help.
Could you run the following groups of commands, posting the output of each?
I had to use to recovery mode to get it. The alt ctrl F1 works but then the passwd that I enter cannot be authenticated. Well I have a backup from yesterday. What takes time is to install/configure all software that I use for some analysis. I can create a new user too. I think I got this problems while setting up a ftp server.
Thank you
Why is your filesystem read only? Dirty shut down? I would recommend booting to a live CD/USB such as Knoppix and running:
e2fsck -f /dev/[your boot drive (or home drive, if it's on a separate partition)]
CAUTION: make sure the boot drive is NOT mounted or the command WILL break your system.
Once the check is done, mount the filesystem and remove the .Xauthority file:
mount /dev/[your boot drive (or home drive, if it's on a separate partition)] /mnt
cd to your home directory and rm .Xauthority
You can skip the e2fsck command if you want, most likely.. it's just a safety to make sure that your partition doesn't have any errors before you go make changes. You should now be able to reboot and login again.
I just upgraded from Ubuntu 11.04 to 11.10 today and I'm having issues.
1) Ubuntu won't shut down even with the shutdown and poweroff commands.This is the only problem I have so far. I can login to my account with no problem.I attempted to change the session so I can boot into an older version of Ubuntu but it doesn't happen.From the commandline here's the input/output from my attempt to shut down :
elothas@Inspiron-530s:~$ poweroff
poweroff: Need to be root
elothas@Inspiron-530s:~$ shutdown
shutdown: time expected
Try `shutdown --help' for more information.
elothas@Inspiron-530s:~$ shutdown -h
shutdown: time expected
Try `shutdown --help' for more information.
elothas@Inspiron-530s:~$
I don't know what "time expected" means.
2) I found another glitch. Parcellite doesn't load.
So far I see that "freedom is restricted" in this version of Ubuntu. Linux is supposed to be about freedom.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.