LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   KDE Session Not Carried forward (https://www.linuxquestions.org/questions/linux-desktop-74/kde-session-not-carried-forward-601483/)

swamprat 11-21-2007 12:15 PM

KDE Session Not Carried forward
 
Hello all,

I'm a newbie and he following question regarding KDE.

I'm running Centos 5 and it's up to date.

When I key in ROOT and the user and then key in the password and hit enter to sign in I'm seeing the following message:

"User's $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by the user and have 644 permissions. User's $Home directory must be owned by the user and not writtable by anyone else".

Every time I log in as root I have to go to the session button at the bottom of the screen and activate the KDE button so KDE is the session manager or else I get GNOME.

Below is how this looks:

/root
[root@centos5 ~]# ls -la
total 1332
drwxr-x--- 33 named named 4096 Nov 21 12:58 .
drwxr-xr-x 24 named named 4096 Nov 21 12:52 ..
-rw------- 1 root root 26 Nov 17 19:24 .dmrc
~~
other files and directories.

****************************

1. Is the '.' directory root's home directory? And is the '..' directory the systems root directory?

Which one should I do a chown command on, the '.' directory and make it so the owner is root and the group is also root and the make the permissions on that directory 644?

I'm afraid to touch this stuff and break things.

Thanks.

forrestt 11-21-2007 01:19 PM

Why is named the owner of / and /root? Is this something you did? It is very suspect. Check the named (bind) packages for bugs. If you don't find one regarding / and /root's ownership changing to named, you may have been rooted, and should reinstall from scratch (without installing bind). If you are in fact a newbie, why are you running named? I would suggest you uninstall bind until you are more able to administer it, but that is outside this question.

To fix your problem:

Code:

chown root:root /
chown root:root /root
chmod 644 /root/.dmrc

Also, I would STRONGLY suggest you NEVER log into a GUI as root. The fact that you may have a broken name server means it would be quite easy to root your box if you are logged in as root and open any webpage.

HTH

Forrest


All times are GMT -5. The time now is 09:49 PM.