LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2009, 04:01 AM   #1
GJQ
Member
 
Registered: Jun 2009
Location: Malaysia
Distribution: Ubuntu 11.04
Posts: 104

Rep: Reputation: 17
Unhappy Ubuntu 9.10 cannot log in


Dear all,
I am currently using ubuntu 9.10.My problem is that I accidentally change the log in from requesting user name and password to another type of log in where password is not requested not knowing that I am in for a big problem.Now when I start my pc,the below errors will appear:

Error:Could not update ICEAuthority file /home/jq/.ICEAuthority
Error:There is a problem with the configuration server (/usr/lib/libgconf 2-4/gconf-sanity-check 2 exited with status 256)

Nautilus could not create the following required folders:/home/jq/desktop,/home/jq/.nautilus
Before running Nautilus,please create these folders,or set permissions such as Nautilus can create them.

What I did is Go System,Adminstration,Login Screen, Change "Show the screen for choosing who will log in" to "Log in as jq automatically" with the "Allow 10 seconds for anyone else to log in first" uncheck.

And when I restart my system,the above error appears and I am unable to log in to use my pc.I have important docs in it which I want to use but then I can't log in.

Anyone with a solution,please help.

Thanks
GJQ
 
Old 12-22-2009, 05:50 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You can log in to command line environment by switching to a text console. When the graphical login screen shows up, press CTRL+ALT+F1 (usually F1 through F6 are text consoles) and you should see a text login (note: when typing password, nothing is printed on screen, i.e. no asterisks). Once in, make sure that the permissions on the mentioned files are all right (for example the ICEAuthority should be owned by you and have permissions 'rw' for you, nothing for others). You can list them using for example
Code:
ls -l /home/jq/.ICEAuthority
Make sure that their owner is you, i.e. "jq" in this case (I take it that your username is "jq"). If you are fine with being owner of all the files inside your home directory (usually this is the case), you can recursively change the owner of all those files using
Code:
chown -R jq /home/jq
provided that "jq" is your username. If there are files not owned by you, you probably need root privileges (or whoever owns the files, but root would be handy here) to do this. On Ubuntu, use
Code:
sudo chown -R jq /home/jq
and when prompted, type in your (user) password. Then hit CTRL+ALT+F7 and see if it helped. If you need to change read/write/execute permissions, use chmod (but WITH CARE), for example
Code:
chmod u+rw $HOME/.ICEAuthority
to make sure you yourself have read and write permissions on the file, or
Code:
chmod go-rwx $HOME/.ICEAuthority
to remove all permissions (read, write, execute) from others (g for group, o for other users).

You may also try to remove (you should rename the files rather than remove directly, so you can revert if it does not work) the file(s) and see if they are recreated as they should. But try to change the permissions first..

Remember to be careful with the commands, especially with move (mv) and remove (rm) commands because it's very easy to do damage with them with a small typo or unintentional hitting of "Enter". Especially if you use wildcards.

Last edited by b0uncer; 12-22-2009 at 05:57 AM. Reason: added some
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After log roll, Postfix cannot write to log file, Ubuntu 8.04 mboudro Linux - Server 6 09-17-2010 03:10 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
ubuntu log yusiing Linux - Newbie 1 04-08-2009 10:05 PM
the significance and name of the 5th column of /var/log/auth.log (ubuntu server)? CoffeeKing!!! Linux - Security 4 02-05-2009 07:32 AM
can't log out of ubuntu 7.04 yuvlevental Ubuntu 1 07-01-2007 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration