Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 11-21-2007, 12:15 PM   #1
Registered: Sep 2005
Location: New Jersey, USA
Distribution: Centos 7 , Linux Mint 18.1 Under VMware in Win7
Posts: 479

Rep: Reputation: 34
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@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.

Old 11-21-2007, 01:19 PM   #2
Senior Member
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
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:

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.



Last edited by forrestt; 11-21-2007 at 01:23 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can i suspend the download carried out by apt (synaptic) amolgupta Linux - Software 1 06-02-2005 04:23 AM
default to kde session barrythai Fedora 3 01-25-2005 09:07 PM
Can't select KDE session Myrdos Linux - Software 2 12-21-2004 11:53 AM
IPTABLES Forward ssh session wkuk Linux - Security 2 05-21-2004 07:41 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration