Announcement

Collapse
No announcement yet.

Previous user not being remembered at login

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

    Previous user not being remembered at login

    In System Settings -> Login Screen -> Convenience -> Preselect User, I have the Previous radio button checked but I always have to enter my username at login. Anyone else having this problem?

    Regards .....
    Kubuntu User #9802
    Linux Registered User #357086

    #2
    Re: Previous user not being remembered at login

    This should fix that:
    http://kubuntuforums.net/forums/inde...6491#msg236491
    The issue is present on upgrades because the file that stores usernames is only readable/writable by root, and kdm doesn't run "as root" by default anymore, so it can't store or read usernames from the file.

    Comment


      #3
      Re: Previous user not being remembered at login

      Yes, it did, thanks

      However, (and not wishing to appear "picky" ) I'd just like to point out a coupla things:

      Code:
      bitzbox@sgc:~$ sudo chown -R kdm:kdm /var/lib/kdm
      chown: invalid group: `kdm:kdm'
      Code:
      bitzbox@sgc:~$ ls -l /var/lib/kdm
      total 4
      -rw------- 1 kdm nogroup 26 2010-09-06 14:05 kdmsts
      As you can see, /var/lib/kdm is in the nogroup group and kdmsts has now been created.

      The previous user is now being remembered but I thought I'd just point this out for the benefit of other users.

      Thanks for your help

      Regards .....
      Kubuntu User #9802
      Linux Registered User #357086

      Comment


        #4
        Re: Previous user not being remembered at login

        Originally posted by bitzbox
        Code:
        bitzbox@sgc:~$ sudo chown -R kdm:kdm /var/lib/kdm
        chown: invalid group: `kdm:kdm'
        I have a kdm group on my machine, but it's possible they have changed things since...and deprecated it:
        Code:
        $ grep kdm /etc/group
        kdm:x:103:
        Code:
        bitzbox@sgc:~$ ls -l /var/lib/kdm
        total 4
        -rw------- 1 kdm nogroup 26 2010-09-06 14:05 kdmsts
        As you can see, /var/lib/kdm is in the nogroup group and kdmsts has now been created.
        Are you sure it was just created (which is possible) or just edited?


        The previous user is now being remembered but I thought I'd just point this out for the benefit of other users.

        Thanks for your help
        Thanks for replying back with your input, should help anyone with the same issue.

        Comment


          #5
          Re: Previous user not being remembered at login

          Before I changed ownership of /var/lib/kdm, I had a peek and it was definitely empty.

          Regards .....
          Kubuntu User #9802
          Linux Registered User #357086

          Comment


            #6
            Re: Previous user not being remembered at login

            Originally posted by bitzbox
            Before I changed ownership of /var/lib/kdm, I had a peek and it was definitely empty.
            Right then, the permissions on /var/lib/kdm probably prevented kdm from creating the file (the directory was probably only writable for root), but it is a tad odd that there wasn't an old file in the directory if you've been using the "remember user" setting before (prior to the changes in kdm).

            Doesn't matter much, though, as long as it works now



            Comment


              #7
              Re: Previous user not being remembered at login

              Well, actually, it isn't odd at all because this is a fresh install of Maverick on a new partition and so that would account for the "missing" kdmsts. My Lucid install is still there on another partition - I did NOT upgrade it. Perhaps this throws a different light on the matter because I recall in the original post you directed me to, you made mention of it being an issue with upgrading. But, as you say, it doesn't matter as it's working now

              Regards .....
              Kubuntu User #9802
              Linux Registered User #357086

              Comment


                #8
                Re: Previous user not being remembered at login

                Originally posted by bitzbox
                Well, actually, it isn't odd at all because this is a fresh install of Maverick on a new partition and so that would account for the "missing" kdmsts. My Lucid install is still there on another partition - I did NOT upgrade it.
                That definitely makes sense, and also tells that the bug affects new installs as well. I (foolishly :P) assumed that the directory/file would be created with accessible ownerships/permissions on fresh installs.

                Comment


                  #9
                  Re: Previous user not being remembered at login

                  Should I report this as a bug or has one already been filed?

                  Regards .....
                  Kubuntu User #9802
                  Linux Registered User #357086

                  Comment


                    #10
                    Re: Previous user not being remembered at login

                    Originally posted by bitzbox
                    Should I report this as a bug or has one already been filed?
                    The bug has been around for a good while, so I'm pretty sure someone has already filed a report. But of course it doesn't hurt to check.

                    EDIT: a quick search revealed this one (with one duplicate), it's been floating around for a while.

                    Comment


                      #11
                      Re: Previous user not being remembered at login

                      When did the mod paste this? I mean, I can't provide the input since I updated Mave once again after I added a ppa to the repositories and I could change the settings to use a specific user as the default one. The other options just didn't work at all but since the third one does, I don't complain anymore. If I had more users on my box, then it'd be another story...

                      Originally posted by kubicle
                      Originally posted by bitzbox
                      Code:
                      bitzbox@sgc:~$ sudo chown -R kdm:kdm /var/lib/kdm
                      chown: invalid group: `kdm:kdm'
                      I have a kdm group on my machine, but it's possible they have changed things since...and deprecated it:
                      Code:
                      $ grep kdm /etc/group
                      kdm:x:103:
                      grep kdm /etc/group didn't show any matches...
                      Code:
                      bitzbox@sgc:~$ ls -l /var/lib/kdm
                      total 4
                      -rw------- 1 kdm nogroup 26 2010-09-06 14:05 kdmsts
                      As you can see, /var/lib/kdm is in the nogroup group and kdmsts has now been created.
                      Are you sure it was just created (which is possible) or just edited?


                      The previous user is now being remembered but I thought I'd just point this out for the benefit of other users.

                      Thanks for your help
                      Thanks for replying back with your input, should help anyone with the same issue.
                      Multibooting: Kubuntu Noble 24.04
                      Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
                      Win XP, 7 & 10 sadly
                      Using Linux since June, 2008

                      Comment


                        #12
                        Re: Previous user not being remembered at login

                        Originally posted by kubicle
                        Originally posted by bitzbox
                        Should I report this as a bug or has one already been filed?
                        The bug has been around for a good while, so I'm pretty sure someone has already filed a report. But of course it doesn't hurt to check.

                        EDIT: a quick search revealed this one (with one duplicate), it's been floating around for a while.
                        Yep, just had a look and "voted" for it - thanks.

                        Regards .....
                        Kubuntu User #9802
                        Linux Registered User #357086

                        Comment


                          #13
                          Re: Previous user not being remembered at login

                          I subscribed to that bug report, IDK if that's enough or if there was another way to "vote" for it.
                          Multibooting: Kubuntu Noble 24.04
                          Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
                          Win XP, 7 & 10 sadly
                          Using Linux since June, 2008

                          Comment


                            #14
                            Re: Previous user not being remembered at login

                            I think you need to click on "Does this bug affect you" as well, which is up near the top left of the page.

                            Regards .....
                            Kubuntu User #9802
                            Linux Registered User #357086

                            Comment


                              #15
                              Re: Previous user not being remembered at login

                              You're right that's what I did right after FF restored the tabs from my last session. The curious thing was that yesterday I didn't find such a message on the bug report page...
                              Multibooting: Kubuntu Noble 24.04
                              Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
                              Win XP, 7 & 10 sadly
                              Using Linux since June, 2008

                              Comment

                              Users Viewing This Topic

                              Collapse

                              There are 0 users viewing this topic.

                              Working...
                              X