I have removed the guest account from the command-line using the command

sudo sh -c 'printf "[Seat:*]\nallow-guest=false\n" >/etc/lightdm/lightdm.conf.d/50-no-guest.conf'

How can I restore the guest account?


Just remove config file which you created before:

sudo rm /etc/lightdm/lightdm.conf.d/50-no-guest.conf
  • That is what I would do. – Michael Prokopec Nov 21 '18 at 12:20
  • @IvanBayan ... thank you for the answer, it worked – user321840 Nov 22 '18 at 1:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy