Goutham
asked on
linux
Dear Experts:
Iam having centos when login to gui home dir were avalaible , suddenly disappered the home and profile is some waht new. to fix texecuted rm -rf .* in the /root after that when done startx x still the same no home dir appears but then take a terminal from the gui it starts with like below
bash-3.2# pwd
/root
bash-3.2#
Please help me to fix this.
Thanks in advance.
Iam having centos when login to gui home dir were avalaible , suddenly disappered the home and profile is some waht new. to fix texecuted rm -rf .* in the /root after that when done startx x still the same no home dir appears but then take a terminal from the gui it starts with like below
bash-3.2# pwd
/root
bash-3.2#
Please help me to fix this.
Thanks in advance.
First : Nerver use the command rm -rf when logged as root. NEVER!
The home dir of root is /root and the home dir of users is /home.
Can you confirm /home exist?
The home dir of root is /root and the home dir of users is /home.
Can you confirm /home exist?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for for the reply. problem is when login as root and startx for gui iam not getting the default gui profile which will have home dir of root on the desktop also if tum drive is inserted automcatic display all this is not there now. cany anybody please give me the steps to correct this. Thanks in advance.
Try entering this command as root: init 5
You need to look at your window manager configuration. What window manager are you using?
ASKER
Thanks for the reply , using gnome windows manager. Please suggest
ASKER
but still the home dir and a default profile is missing it only loads a blank and task bar above and below please suggest me to bring it back to default or normal profile. Thanks in advance.