how do I remove the last connected users from the lightdm greeter list












5















With gdm3, I was able to remove the last connected users from the list by removing the file '/var/log/ConsoleKit/history'



With lightdm, the last users appears even when :




  • removing /var/log/ConsoleKit/history

  • removing /var/lib/lightdm/.cache/unity-greeter/state


Where does lightdm store this list ?



Edit:
It seems like it's using the content from the last command. Then purging the content of the file /var/log/wtmp is sufficient to remove any previously connected user from the list :



# > /var/log/wtmp


But, after doing this, I have the unwanted side effect that users loging in via lightdm doesn't appears at all in this list.



I must say that I'm in a enterprise network environment using NIS.



Edit2:
Well, it seems that lightdm uses wtmp to display recent network users list, but does not update it. So, lightdm will show a network user only if it logged in in another fashion (ssh, login), like I did on this computer before. cf:




  • https://bugs.launchpad.net/lightdm/+bug/871070

  • http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648604


Edit3:
I just added the following line to the file /etc/pam.d/lightdm To force lightdm to store users in wtmp :



session optional        pam_lastlog.so silent









share|improve this question





























    5















    With gdm3, I was able to remove the last connected users from the list by removing the file '/var/log/ConsoleKit/history'



    With lightdm, the last users appears even when :




    • removing /var/log/ConsoleKit/history

    • removing /var/lib/lightdm/.cache/unity-greeter/state


    Where does lightdm store this list ?



    Edit:
    It seems like it's using the content from the last command. Then purging the content of the file /var/log/wtmp is sufficient to remove any previously connected user from the list :



    # > /var/log/wtmp


    But, after doing this, I have the unwanted side effect that users loging in via lightdm doesn't appears at all in this list.



    I must say that I'm in a enterprise network environment using NIS.



    Edit2:
    Well, it seems that lightdm uses wtmp to display recent network users list, but does not update it. So, lightdm will show a network user only if it logged in in another fashion (ssh, login), like I did on this computer before. cf:




    • https://bugs.launchpad.net/lightdm/+bug/871070

    • http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648604


    Edit3:
    I just added the following line to the file /etc/pam.d/lightdm To force lightdm to store users in wtmp :



    session optional        pam_lastlog.so silent









    share|improve this question



























      5












      5








      5


      1






      With gdm3, I was able to remove the last connected users from the list by removing the file '/var/log/ConsoleKit/history'



      With lightdm, the last users appears even when :




      • removing /var/log/ConsoleKit/history

      • removing /var/lib/lightdm/.cache/unity-greeter/state


      Where does lightdm store this list ?



      Edit:
      It seems like it's using the content from the last command. Then purging the content of the file /var/log/wtmp is sufficient to remove any previously connected user from the list :



      # > /var/log/wtmp


      But, after doing this, I have the unwanted side effect that users loging in via lightdm doesn't appears at all in this list.



      I must say that I'm in a enterprise network environment using NIS.



      Edit2:
      Well, it seems that lightdm uses wtmp to display recent network users list, but does not update it. So, lightdm will show a network user only if it logged in in another fashion (ssh, login), like I did on this computer before. cf:




      • https://bugs.launchpad.net/lightdm/+bug/871070

      • http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648604


      Edit3:
      I just added the following line to the file /etc/pam.d/lightdm To force lightdm to store users in wtmp :



      session optional        pam_lastlog.so silent









      share|improve this question
















      With gdm3, I was able to remove the last connected users from the list by removing the file '/var/log/ConsoleKit/history'



      With lightdm, the last users appears even when :




      • removing /var/log/ConsoleKit/history

      • removing /var/lib/lightdm/.cache/unity-greeter/state


      Where does lightdm store this list ?



      Edit:
      It seems like it's using the content from the last command. Then purging the content of the file /var/log/wtmp is sufficient to remove any previously connected user from the list :



      # > /var/log/wtmp


      But, after doing this, I have the unwanted side effect that users loging in via lightdm doesn't appears at all in this list.



      I must say that I'm in a enterprise network environment using NIS.



      Edit2:
      Well, it seems that lightdm uses wtmp to display recent network users list, but does not update it. So, lightdm will show a network user only if it logged in in another fashion (ssh, login), like I did on this computer before. cf:




      • https://bugs.launchpad.net/lightdm/+bug/871070

      • http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648604


      Edit3:
      I just added the following line to the file /etc/pam.d/lightdm To force lightdm to store users in wtmp :



      session optional        pam_lastlog.so silent






      12.04 lightdm






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 7 '12 at 12:54







      Christophe Drevet-Droguet

















      asked Sep 7 '12 at 9:51









      Christophe Drevet-DroguetChristophe Drevet-Droguet

      310211




      310211






















          6 Answers
          6






          active

          oldest

          votes


















          2














          So, to remove last connected network users from the list, just purge the /var/log/wtmp file :



          # > /var/log/wtmp


          Besides, to make lightdm remember last connected network users, one can add the following line to the file /etc/pam.d/lightdm :



          session optional        pam_lastlog.so silent





          share|improve this answer































            1














            I set /etc/lightdm/lightdm.conf as following to make the greeter screen not show the user list. Need to manually type in your username and password.



            [SeatDefaults]
            greeter-session=unity-greeter
            user-session=ubuntu
            allow-guest=false
            greeter-show-remote-login=false
            greeter-hide-users=true
            hide-users=true





            share|improve this answer



















            • 1





              This disable the list altogether. My question was about purging the list, but still use it. The need came as I prepared computers for others, and didn't want my name to pollute the list on every computer out there.

              – Christophe Drevet-Droguet
              Feb 4 '14 at 6:58



















            1














            The last user to log in with lightdm is stored here:



            /var/lib/lightdm/.cache/lightdm-gtk-greeter/state


            Note the dot in .cache.



            It is safe to simply delete the file.






            share|improve this answer































              1














              I was also searching for this and finally figured it out how to do this in Ubuntu 16.04.



              It seems lightdm is getting the user list from /var/cache/lightdm/dmrc/. This folder contains a file with the name of each user that has logged into the machine. Just remove the files for the unwanted users from that dir and the greeter no longer shows them.



              EDIT: And this is of course after the already suggested stuff has been done (clearing /var/log/wtmp and /var/log/btmp). If the users still stick after these, find any files/folders containing the users' names in the filesystem and remove them.






              share|improve this answer


























              • Found the same, dmrc needs to be cleared on Ubuntu 16 at least to get rid of previous users in the menu displayed while users are logged in.

                – Ale
                Dec 12 '18 at 14:35





















              1














              I was also hitting this problem on 16.04, but with network accounts from AD via SSSD.



              After a lot of trial-and-error, I used the following to get rid of the account :



              List all accounts:



              # qdbus --system org.freedesktop.Accounts
              ..
              /org/freedesktop/Accounts/User1000
              /org/freedesktop/Accounts/User10000


              Now to remove the user with UID 10000 :



              Optionally (if it's an AD user) : adduser deleteme and set UID to 10000 in /etc/passwd; otherwise next step will fail



              Delete user via dbus:



              dbus-send --system --print-reply --type=method_call --dest='org.freedesktop.Accounts' /org/freedesktop/Accounts org.freedesktop.Accounts.DeleteUser int64:<ENTER UID HERE> boolean:false


              This will delete both "deleteme" from passwd as get rid of the entry in lightdm and in "user switcher" menu (top-right when logged in)






              share|improve this answer































                1














                Running xubuntu 18.04.



                session optional        pam_lastlog.so silent


                This line goes in /etc/pam.d/login and causes my Login text entry box to be EMPTY. That is my desired behavior.



                [SeatDefaults]
                allow-guest=false
                greeter-hide-users=true
                greeter-show-manual-login=true


                These lines are found in /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf. For some reason my file had goofy permissions, fixed with...



                sudo chmod 644 50-no-guest.conf


                Remember certain answer relate to certain releases. This can occur from changes in standards or required functionality changes. Probably my goofy permissions came from some weirdness in the upgrade from 16.04 to 18.04.



                How did I find the file?



                After searching for 18.04 specific things on google it occurred to me theirs a file list for each package. Use Synaptic, find the the package lightdm, right click Properties. In dialog select 'Installed Files' tab. OR in a terminal...



                dpkg-query -L lightdm





                share|improve this answer

























                  Your Answer








                  StackExchange.ready(function() {
                  var channelOptions = {
                  tags: "".split(" "),
                  id: "89"
                  };
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function() {
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled) {
                  StackExchange.using("snippets", function() {
                  createEditor();
                  });
                  }
                  else {
                  createEditor();
                  }
                  });

                  function createEditor() {
                  StackExchange.prepareEditor({
                  heartbeatType: 'answer',
                  autoActivateHeartbeat: false,
                  convertImagesToLinks: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader: {
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  },
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  });


                  }
                  });














                  draft saved

                  draft discarded


















                  StackExchange.ready(
                  function () {
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f185039%2fhow-do-i-remove-the-last-connected-users-from-the-lightdm-greeter-list%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  6 Answers
                  6






                  active

                  oldest

                  votes








                  6 Answers
                  6






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  2














                  So, to remove last connected network users from the list, just purge the /var/log/wtmp file :



                  # > /var/log/wtmp


                  Besides, to make lightdm remember last connected network users, one can add the following line to the file /etc/pam.d/lightdm :



                  session optional        pam_lastlog.so silent





                  share|improve this answer




























                    2














                    So, to remove last connected network users from the list, just purge the /var/log/wtmp file :



                    # > /var/log/wtmp


                    Besides, to make lightdm remember last connected network users, one can add the following line to the file /etc/pam.d/lightdm :



                    session optional        pam_lastlog.so silent





                    share|improve this answer


























                      2












                      2








                      2







                      So, to remove last connected network users from the list, just purge the /var/log/wtmp file :



                      # > /var/log/wtmp


                      Besides, to make lightdm remember last connected network users, one can add the following line to the file /etc/pam.d/lightdm :



                      session optional        pam_lastlog.so silent





                      share|improve this answer













                      So, to remove last connected network users from the list, just purge the /var/log/wtmp file :



                      # > /var/log/wtmp


                      Besides, to make lightdm remember last connected network users, one can add the following line to the file /etc/pam.d/lightdm :



                      session optional        pam_lastlog.so silent






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Sep 13 '12 at 9:02









                      Christophe Drevet-DroguetChristophe Drevet-Droguet

                      310211




                      310211

























                          1














                          I set /etc/lightdm/lightdm.conf as following to make the greeter screen not show the user list. Need to manually type in your username and password.



                          [SeatDefaults]
                          greeter-session=unity-greeter
                          user-session=ubuntu
                          allow-guest=false
                          greeter-show-remote-login=false
                          greeter-hide-users=true
                          hide-users=true





                          share|improve this answer



















                          • 1





                            This disable the list altogether. My question was about purging the list, but still use it. The need came as I prepared computers for others, and didn't want my name to pollute the list on every computer out there.

                            – Christophe Drevet-Droguet
                            Feb 4 '14 at 6:58
















                          1














                          I set /etc/lightdm/lightdm.conf as following to make the greeter screen not show the user list. Need to manually type in your username and password.



                          [SeatDefaults]
                          greeter-session=unity-greeter
                          user-session=ubuntu
                          allow-guest=false
                          greeter-show-remote-login=false
                          greeter-hide-users=true
                          hide-users=true





                          share|improve this answer



















                          • 1





                            This disable the list altogether. My question was about purging the list, but still use it. The need came as I prepared computers for others, and didn't want my name to pollute the list on every computer out there.

                            – Christophe Drevet-Droguet
                            Feb 4 '14 at 6:58














                          1












                          1








                          1







                          I set /etc/lightdm/lightdm.conf as following to make the greeter screen not show the user list. Need to manually type in your username and password.



                          [SeatDefaults]
                          greeter-session=unity-greeter
                          user-session=ubuntu
                          allow-guest=false
                          greeter-show-remote-login=false
                          greeter-hide-users=true
                          hide-users=true





                          share|improve this answer













                          I set /etc/lightdm/lightdm.conf as following to make the greeter screen not show the user list. Need to manually type in your username and password.



                          [SeatDefaults]
                          greeter-session=unity-greeter
                          user-session=ubuntu
                          allow-guest=false
                          greeter-show-remote-login=false
                          greeter-hide-users=true
                          hide-users=true






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 3 '14 at 17:34









                          antiquityantiquity

                          11112




                          11112








                          • 1





                            This disable the list altogether. My question was about purging the list, but still use it. The need came as I prepared computers for others, and didn't want my name to pollute the list on every computer out there.

                            – Christophe Drevet-Droguet
                            Feb 4 '14 at 6:58














                          • 1





                            This disable the list altogether. My question was about purging the list, but still use it. The need came as I prepared computers for others, and didn't want my name to pollute the list on every computer out there.

                            – Christophe Drevet-Droguet
                            Feb 4 '14 at 6:58








                          1




                          1





                          This disable the list altogether. My question was about purging the list, but still use it. The need came as I prepared computers for others, and didn't want my name to pollute the list on every computer out there.

                          – Christophe Drevet-Droguet
                          Feb 4 '14 at 6:58





                          This disable the list altogether. My question was about purging the list, but still use it. The need came as I prepared computers for others, and didn't want my name to pollute the list on every computer out there.

                          – Christophe Drevet-Droguet
                          Feb 4 '14 at 6:58











                          1














                          The last user to log in with lightdm is stored here:



                          /var/lib/lightdm/.cache/lightdm-gtk-greeter/state


                          Note the dot in .cache.



                          It is safe to simply delete the file.






                          share|improve this answer




























                            1














                            The last user to log in with lightdm is stored here:



                            /var/lib/lightdm/.cache/lightdm-gtk-greeter/state


                            Note the dot in .cache.



                            It is safe to simply delete the file.






                            share|improve this answer


























                              1












                              1








                              1







                              The last user to log in with lightdm is stored here:



                              /var/lib/lightdm/.cache/lightdm-gtk-greeter/state


                              Note the dot in .cache.



                              It is safe to simply delete the file.






                              share|improve this answer













                              The last user to log in with lightdm is stored here:



                              /var/lib/lightdm/.cache/lightdm-gtk-greeter/state


                              Note the dot in .cache.



                              It is safe to simply delete the file.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Mar 5 '16 at 8:33









                              hackerb9hackerb9

                              56447




                              56447























                                  1














                                  I was also searching for this and finally figured it out how to do this in Ubuntu 16.04.



                                  It seems lightdm is getting the user list from /var/cache/lightdm/dmrc/. This folder contains a file with the name of each user that has logged into the machine. Just remove the files for the unwanted users from that dir and the greeter no longer shows them.



                                  EDIT: And this is of course after the already suggested stuff has been done (clearing /var/log/wtmp and /var/log/btmp). If the users still stick after these, find any files/folders containing the users' names in the filesystem and remove them.






                                  share|improve this answer


























                                  • Found the same, dmrc needs to be cleared on Ubuntu 16 at least to get rid of previous users in the menu displayed while users are logged in.

                                    – Ale
                                    Dec 12 '18 at 14:35


















                                  1














                                  I was also searching for this and finally figured it out how to do this in Ubuntu 16.04.



                                  It seems lightdm is getting the user list from /var/cache/lightdm/dmrc/. This folder contains a file with the name of each user that has logged into the machine. Just remove the files for the unwanted users from that dir and the greeter no longer shows them.



                                  EDIT: And this is of course after the already suggested stuff has been done (clearing /var/log/wtmp and /var/log/btmp). If the users still stick after these, find any files/folders containing the users' names in the filesystem and remove them.






                                  share|improve this answer


























                                  • Found the same, dmrc needs to be cleared on Ubuntu 16 at least to get rid of previous users in the menu displayed while users are logged in.

                                    – Ale
                                    Dec 12 '18 at 14:35
















                                  1












                                  1








                                  1







                                  I was also searching for this and finally figured it out how to do this in Ubuntu 16.04.



                                  It seems lightdm is getting the user list from /var/cache/lightdm/dmrc/. This folder contains a file with the name of each user that has logged into the machine. Just remove the files for the unwanted users from that dir and the greeter no longer shows them.



                                  EDIT: And this is of course after the already suggested stuff has been done (clearing /var/log/wtmp and /var/log/btmp). If the users still stick after these, find any files/folders containing the users' names in the filesystem and remove them.






                                  share|improve this answer















                                  I was also searching for this and finally figured it out how to do this in Ubuntu 16.04.



                                  It seems lightdm is getting the user list from /var/cache/lightdm/dmrc/. This folder contains a file with the name of each user that has logged into the machine. Just remove the files for the unwanted users from that dir and the greeter no longer shows them.



                                  EDIT: And this is of course after the already suggested stuff has been done (clearing /var/log/wtmp and /var/log/btmp). If the users still stick after these, find any files/folders containing the users' names in the filesystem and remove them.







                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited Jul 8 '16 at 20:57

























                                  answered Jul 7 '16 at 22:35









                                  Antti HukkanenAntti Hukkanen

                                  112




                                  112













                                  • Found the same, dmrc needs to be cleared on Ubuntu 16 at least to get rid of previous users in the menu displayed while users are logged in.

                                    – Ale
                                    Dec 12 '18 at 14:35





















                                  • Found the same, dmrc needs to be cleared on Ubuntu 16 at least to get rid of previous users in the menu displayed while users are logged in.

                                    – Ale
                                    Dec 12 '18 at 14:35



















                                  Found the same, dmrc needs to be cleared on Ubuntu 16 at least to get rid of previous users in the menu displayed while users are logged in.

                                  – Ale
                                  Dec 12 '18 at 14:35







                                  Found the same, dmrc needs to be cleared on Ubuntu 16 at least to get rid of previous users in the menu displayed while users are logged in.

                                  – Ale
                                  Dec 12 '18 at 14:35













                                  1














                                  I was also hitting this problem on 16.04, but with network accounts from AD via SSSD.



                                  After a lot of trial-and-error, I used the following to get rid of the account :



                                  List all accounts:



                                  # qdbus --system org.freedesktop.Accounts
                                  ..
                                  /org/freedesktop/Accounts/User1000
                                  /org/freedesktop/Accounts/User10000


                                  Now to remove the user with UID 10000 :



                                  Optionally (if it's an AD user) : adduser deleteme and set UID to 10000 in /etc/passwd; otherwise next step will fail



                                  Delete user via dbus:



                                  dbus-send --system --print-reply --type=method_call --dest='org.freedesktop.Accounts' /org/freedesktop/Accounts org.freedesktop.Accounts.DeleteUser int64:<ENTER UID HERE> boolean:false


                                  This will delete both "deleteme" from passwd as get rid of the entry in lightdm and in "user switcher" menu (top-right when logged in)






                                  share|improve this answer




























                                    1














                                    I was also hitting this problem on 16.04, but with network accounts from AD via SSSD.



                                    After a lot of trial-and-error, I used the following to get rid of the account :



                                    List all accounts:



                                    # qdbus --system org.freedesktop.Accounts
                                    ..
                                    /org/freedesktop/Accounts/User1000
                                    /org/freedesktop/Accounts/User10000


                                    Now to remove the user with UID 10000 :



                                    Optionally (if it's an AD user) : adduser deleteme and set UID to 10000 in /etc/passwd; otherwise next step will fail



                                    Delete user via dbus:



                                    dbus-send --system --print-reply --type=method_call --dest='org.freedesktop.Accounts' /org/freedesktop/Accounts org.freedesktop.Accounts.DeleteUser int64:<ENTER UID HERE> boolean:false


                                    This will delete both "deleteme" from passwd as get rid of the entry in lightdm and in "user switcher" menu (top-right when logged in)






                                    share|improve this answer


























                                      1












                                      1








                                      1







                                      I was also hitting this problem on 16.04, but with network accounts from AD via SSSD.



                                      After a lot of trial-and-error, I used the following to get rid of the account :



                                      List all accounts:



                                      # qdbus --system org.freedesktop.Accounts
                                      ..
                                      /org/freedesktop/Accounts/User1000
                                      /org/freedesktop/Accounts/User10000


                                      Now to remove the user with UID 10000 :



                                      Optionally (if it's an AD user) : adduser deleteme and set UID to 10000 in /etc/passwd; otherwise next step will fail



                                      Delete user via dbus:



                                      dbus-send --system --print-reply --type=method_call --dest='org.freedesktop.Accounts' /org/freedesktop/Accounts org.freedesktop.Accounts.DeleteUser int64:<ENTER UID HERE> boolean:false


                                      This will delete both "deleteme" from passwd as get rid of the entry in lightdm and in "user switcher" menu (top-right when logged in)






                                      share|improve this answer













                                      I was also hitting this problem on 16.04, but with network accounts from AD via SSSD.



                                      After a lot of trial-and-error, I used the following to get rid of the account :



                                      List all accounts:



                                      # qdbus --system org.freedesktop.Accounts
                                      ..
                                      /org/freedesktop/Accounts/User1000
                                      /org/freedesktop/Accounts/User10000


                                      Now to remove the user with UID 10000 :



                                      Optionally (if it's an AD user) : adduser deleteme and set UID to 10000 in /etc/passwd; otherwise next step will fail



                                      Delete user via dbus:



                                      dbus-send --system --print-reply --type=method_call --dest='org.freedesktop.Accounts' /org/freedesktop/Accounts org.freedesktop.Accounts.DeleteUser int64:<ENTER UID HERE> boolean:false


                                      This will delete both "deleteme" from passwd as get rid of the entry in lightdm and in "user switcher" menu (top-right when logged in)







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Sep 18 '17 at 17:59









                                      NrYNrY

                                      111




                                      111























                                          1














                                          Running xubuntu 18.04.



                                          session optional        pam_lastlog.so silent


                                          This line goes in /etc/pam.d/login and causes my Login text entry box to be EMPTY. That is my desired behavior.



                                          [SeatDefaults]
                                          allow-guest=false
                                          greeter-hide-users=true
                                          greeter-show-manual-login=true


                                          These lines are found in /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf. For some reason my file had goofy permissions, fixed with...



                                          sudo chmod 644 50-no-guest.conf


                                          Remember certain answer relate to certain releases. This can occur from changes in standards or required functionality changes. Probably my goofy permissions came from some weirdness in the upgrade from 16.04 to 18.04.



                                          How did I find the file?



                                          After searching for 18.04 specific things on google it occurred to me theirs a file list for each package. Use Synaptic, find the the package lightdm, right click Properties. In dialog select 'Installed Files' tab. OR in a terminal...



                                          dpkg-query -L lightdm





                                          share|improve this answer






























                                            1














                                            Running xubuntu 18.04.



                                            session optional        pam_lastlog.so silent


                                            This line goes in /etc/pam.d/login and causes my Login text entry box to be EMPTY. That is my desired behavior.



                                            [SeatDefaults]
                                            allow-guest=false
                                            greeter-hide-users=true
                                            greeter-show-manual-login=true


                                            These lines are found in /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf. For some reason my file had goofy permissions, fixed with...



                                            sudo chmod 644 50-no-guest.conf


                                            Remember certain answer relate to certain releases. This can occur from changes in standards or required functionality changes. Probably my goofy permissions came from some weirdness in the upgrade from 16.04 to 18.04.



                                            How did I find the file?



                                            After searching for 18.04 specific things on google it occurred to me theirs a file list for each package. Use Synaptic, find the the package lightdm, right click Properties. In dialog select 'Installed Files' tab. OR in a terminal...



                                            dpkg-query -L lightdm





                                            share|improve this answer




























                                              1












                                              1








                                              1







                                              Running xubuntu 18.04.



                                              session optional        pam_lastlog.so silent


                                              This line goes in /etc/pam.d/login and causes my Login text entry box to be EMPTY. That is my desired behavior.



                                              [SeatDefaults]
                                              allow-guest=false
                                              greeter-hide-users=true
                                              greeter-show-manual-login=true


                                              These lines are found in /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf. For some reason my file had goofy permissions, fixed with...



                                              sudo chmod 644 50-no-guest.conf


                                              Remember certain answer relate to certain releases. This can occur from changes in standards or required functionality changes. Probably my goofy permissions came from some weirdness in the upgrade from 16.04 to 18.04.



                                              How did I find the file?



                                              After searching for 18.04 specific things on google it occurred to me theirs a file list for each package. Use Synaptic, find the the package lightdm, right click Properties. In dialog select 'Installed Files' tab. OR in a terminal...



                                              dpkg-query -L lightdm





                                              share|improve this answer















                                              Running xubuntu 18.04.



                                              session optional        pam_lastlog.so silent


                                              This line goes in /etc/pam.d/login and causes my Login text entry box to be EMPTY. That is my desired behavior.



                                              [SeatDefaults]
                                              allow-guest=false
                                              greeter-hide-users=true
                                              greeter-show-manual-login=true


                                              These lines are found in /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf. For some reason my file had goofy permissions, fixed with...



                                              sudo chmod 644 50-no-guest.conf


                                              Remember certain answer relate to certain releases. This can occur from changes in standards or required functionality changes. Probably my goofy permissions came from some weirdness in the upgrade from 16.04 to 18.04.



                                              How did I find the file?



                                              After searching for 18.04 specific things on google it occurred to me theirs a file list for each package. Use Synaptic, find the the package lightdm, right click Properties. In dialog select 'Installed Files' tab. OR in a terminal...



                                              dpkg-query -L lightdm






                                              share|improve this answer














                                              share|improve this answer



                                              share|improve this answer








                                              edited Jan 22 at 21:37

























                                              answered Jan 22 at 20:40









                                              mx356mx356

                                              214




                                              214






























                                                  draft saved

                                                  draft discarded




















































                                                  Thanks for contributing an answer to Ask Ubuntu!


                                                  • Please be sure to answer the question. Provide details and share your research!

                                                  But avoid



                                                  • Asking for help, clarification, or responding to other answers.

                                                  • Making statements based on opinion; back them up with references or personal experience.


                                                  To learn more, see our tips on writing great answers.




                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function () {
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f185039%2fhow-do-i-remove-the-last-connected-users-from-the-lightdm-greeter-list%23new-answer', 'question_page');
                                                  }
                                                  );

                                                  Post as a guest















                                                  Required, but never shown





















































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown

































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown







                                                  Popular posts from this blog

                                                  Human spaceflight

                                                  Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                                                  張江高科駅