Announcement

Collapse
No announcement yet.

Error msg at login [solved]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error msg at login [solved]

    Hi,

    Yesterday I was trying to make a dir in my /home dir hidden and got it a bit wrong. After some playing around I thought that I had corrected the fault. However when I booted up today, after I enter my username and password and hit enter I get the following error msg:

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

    I did chmod 644 .dmrc and the permissions read: -rw-r--r--. The file is owned by <me>

    Not being very tech savvy I am at a loss as to how to proceed now.

    Any help would be much appreciated.

    Thank you.


    Patrick

    #2
    Re: Error msg at login

    You may launch the file manager in "super user mode" (e.g. by [Alt][F2] kdesu konqueror), point it to /home/[user] and make sure that everything "in there" is being owned by [user] (e.g. by resetting file and folder properties as appropriate, as well for the hidden files and folders residing in "user's home" ...).

    Comment


      #3
      Re: Error msg at login

      Thanks for your reply UnicornRider.

      kdesu konqueror shows everything belonging to me (user) except:

      .sane is drwxrwx--- root/root
      ~Examples is drwxr-xr-x root/root
      .automatix is drwxr-xr-x user/root

      Would changing these make any difference? The .dmrc file definitely shows as -rw-r--r-- user/user

      Thanks

      Comment


        #4
        Re: Error msg at login

        Originally posted by 289Shelby
        .sane is drwxrwx--- root/root
        ~Examples is drwxr-xr-x root/root
        .automatix is drwxr-xr-x user/root
        Strange but irrelevant, I'd say.

        Originally posted by 289Shelby
        The .dmrc file definitely shows as -rw-r--r-- user/user
        Interesting ... mine (by default) is set to -rw------- user/user

        For that matter, you may want to compare the content of your file to what is in mine:

        Code:
        [Desktop]
        Session=kde


        Comment


          #5
          Re: Error msg at login

          Interesting ... mine (by default) is set to -rw------- user/user

          This is also how it shows up on my Edgy system, I don't know why it's different on
          Dapper.

          For that matter, you may want to compare the content of your file to what is in mine:

          [Desktop]
          Session=kde

          Mine shows exactly the same:

          [Desktop]
          Session=kde

          Sorry, I could not get the quoting right hence the copy and paste.


          Comment


            #6
            Re: Error msg at login

            O.k. then, back to square one: what does ls -l /home give?

            Mine looks like this:

            Code:
            ROOT@HAL # ls -l /home
            drwxr-xr-x birdy birdy [...] attic
            drwxr-xr-x birdy birdy [...] birdy
            ("HAL" is the machine's name, "birdy" is the default user).

            Comment


              #7
              Re: Error msg at login

              Originally posted by UnicornRider
              O.k. then, back to square one: what does ls -l /home give?

              Mine looks like this:

              Code:
              ROOT@HAL # ls -l /home
              drwxr-xr-x birdy birdy [...] attic
              drwxr-xr-x birdy birdy [...] birdy
              ("HAL" is the machine's name, "birdy" is the default user).
              The permissions are slightly different to yours and I have this 'lost+found' bit.

              Code:
              pat@xeon:~$ ls -l /home
              drwx------ 2 root root 16384 2006-12-14 10:53 lost+found
              drwxrwx--- 65 pat pat  4096 2007-03-18 14:42 pat
              Would it break anything if I renamed the .dmrc file and then logged out and back in again?

              Thanks for helping.

              Comment


                #8
                Re: Error msg at login

                Originally posted by 289Shelby
                The permissions are slightly different to yours [...]
                Would it break anything if I renamed the .dmrc file [...]
                I'd rather reset the "user home" permissions to default and/or restart with an "empty" session (see [Alt][F2] kcmshell kcmsmserver for details) ... but that's merely a gut feeling ...

                Comment


                  #9
                  Re: Error msg at login

                  Originally posted by UnicornRider
                  I'd rather reset the "user home" permissions to default and/or restart with an "empty" session (see [Alt][F2] kcmshell kcmsmserver for details) ... but that's merely a gut feeling ...
                  [/quote]

                  I tried that and I'm still getting the error msg when I log out and back in again. I did try renaming and then re-creating the .dmrc file but that didn't help either. It's as if the system doesn't know that I have permission to access /home, which would, with my limited knowledge, seem like a corrupt file somewhere, but where..

                  What I don't understand is when the error msg comes up I can click on 'ok' and the system runs as it should.

                  I don't know if this is relevent but I found this in /var/log/user.log

                  [...]Failed to open saved state file: Failed: Failed to open gconfd logfile; won't be able to restore listeners after gconfd shutdown (Permission denied)
                  [...]GConf server is not in use, shutting down.
                  [...]Could not open saved state file '/home/pat/.gconfd/saved_state.tmp' for writing: Permission denied

                  Also I don't have a 'saved_state.tmp' file in .gconfd only a 'saved_state' file

                  Comment


                    #10
                    Re: Error msg at login [solved]

                    This was a permissions problem. I don't know why they got changed but this is what I altered:

                    The .dmrc file was -rw-r--r-- which I changed it to -rw-------.

                    The /home dir was drwxrwx--- which I changed to drwxr--r--.

                    Many thanks for your help.

                    Comment

                    Working...
                    X