LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-27-2008, 11:00 PM   #1
vwtech
Member
 
Registered: Dec 2007
Distribution: Fedora, Oracle Linux & Centos
Posts: 197

Rep: Reputation: 26
Login Error


The error I'm getting when I attempt to log:

"Your home directory is listed as:'home/user' but it does not appear to exist. Do you want to log in with the /(root)directory as your home directory? It is unlikely anything will work unless you use a failsafe session."

Help.
Can still login a root of course.
 
Old 01-28-2008, 08:20 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Try
Code:
usermod user -d /home/user
as root. Looks like the first / is missing. Also ensure that /home/user exists and is owned by user.
 
Old 01-31-2008, 09:46 AM   #3
vwtech
Member
 
Registered: Dec 2007
Distribution: Fedora, Oracle Linux & Centos
Posts: 197

Original Poster
Rep: Reputation: 26
Smile

The other error I was getting was:
"Users $Home./dmrc file is being ignored. This prevents the default session and language form being saved. File should be owned by user, and have 644 permissions. User's $Home directory must be owned by user and not be writable by other users."

I had messed up the permission while studying the fix was.

Under su to set the following settings.
/home - set owner to the user and set permissions to 700.
/home/user/.dmrc -set owner to the user and set permissions to 644 for the file.
/home/user/.bash_profile-set owner to the user and set permissions to 770 for the file.

Note: I posted this because I search the net and didn't find that answer.
I'm new to linux so this took me about a few hours to fix.
 
  


Reply



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
login error can's start session due to internal error wiisikke Fedora 3 05-11-2010 01:29 AM
login error ust Linux - Software 3 09-20-2007 03:57 AM
resizepfile.sh error, login error jparkdo Grafpup 0 08-29-2007 06:40 PM
Login Error augurseer Fedora 1 03-21-2006 10:52 PM
Login error MrFlex Linux - Newbie 5 11-24-2003 08:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:41 PM.

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