Link to home
Start Free TrialLog in
Avatar of Goutham
GouthamFlag for India

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.

Avatar of Goutham
Goutham
Flag of India image

ASKER

After coping the files from /etc/skel the consle from gui got changed to normal.[root@srv1 ~]#

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.
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?


ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Goutham

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?
Avatar of Goutham

ASKER

Thanks for the reply , using gnome windows manager. Please suggest