LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   cannot login to home directory. using /. (https://www.linuxquestions.org/questions/mandriva-30/cannot-login-to-home-directory-using-923870/)

rbixler1957 01-15-2012 05:45 AM

cannot login to home directory. using /.
 
Hello I hope someone can help me I am runnung Mandriva Free 2010.2 on a Inspiron 1525 laptop with a dual boot with Windows Vista. I was using my windows partition and when I rebooted to Mandriva I now get these errors.

1. Cannot enter home Directory. Using /.
2. when I click ok I get the following message.
Kstartupconfig4 does not exist or fails. The error code is 3 check your installation.

Note I can boot to the xguest account ok. I have tried to boot with a different shell by logging into the xguest account and changing the shell using MCC. I have tried updating the OS with my Mandriva 2010.2 disc and still cannot get it to boot to my user. Thanks for any help.
rbixler1957

repo 01-15-2012 05:50 AM

Try
Code:

sudo chown -R username.username /home/username/.kde
Kind regards

rbixler1957 01-15-2012 05:57 AM

Thanks repo I have never used sudo I normally login to the root account using su in a terminal. also when you talk about using username do you mean using my users name or entering username into the terminal. I will have to reboot to Mandriva and login with the xguest account to try this because I am using my Windows partition to get here.
Thanks

repo 01-15-2012 06:00 AM

As root is ok.
Replace "username" with the actual name of the user owning the home directory.

Kind regards

rbixler1957 01-15-2012 06:02 AM

Thanks I will try that.

rbixler1957 01-15-2012 06:15 AM

Ok I have rebooted to the Mandriva xguest account logged in to su on the terminal and tried that and I get /home/my username/.kde does not exist yet when I go to MCC manage user accounts my user account is there.

repo 01-15-2012 06:19 AM

Try
Code:

chown -R username.username /home/username/.kde4
or
Code:

chown -R username.username /home/username/
Kind regards

rbixler1957 01-15-2012 06:27 AM

I tried entering it both ways and when I used /home/my username/.kde4 i still get no file or directory and when I used /home/my username/ I get chown missing operand after /home/my username/. What I do not understand is what happened my user account worked fine and all I did was use my windows partition to test a website design with windows.

repo 01-15-2012 06:31 AM

Please post the command and output you are using.

Kind regads

rbixler1957 01-15-2012 06:37 AM

the command I enter is chown -R robin.robin /home/robin/.kde I get chown: cannot access `/home/robin/.kde': No such file or directory

When I try chown -R robin.robin /home/robin/.kde4 I get chown: cannot access `/home/robin/.kde4': No such file or directory

When I try chown -R robin.robin /home/robin/ I get chown: missing operand after `/home/robin/'
Try `chown --help' for more information.

repo 01-15-2012 06:43 AM

Try
Code:

chown -R robin.robin /home/robin/*
Kind regards

rbixler1957 01-15-2012 06:46 AM

Repo when I tried that i get [root@localhost xguest]# chown -R robin.robin /home/robin/*
chown: cannot access `/home/robin/*': No such file or directory

repo 01-15-2012 06:48 AM

Please post the output from
Code:

ls -l /home
Kind regards

rbixler1957 01-15-2012 06:52 AM

When I tried that it only shows xguest
It looks like my users home has been deleted or moved

repo 01-15-2012 06:56 AM

Quote:

It looks like my users home has been deleted or moved
Is your home directory on a separate partition, and if yes is that partition mounted?
You could try to recreate the user.

Kind regards


All times are GMT -5. The time now is 03:18 PM.