Author Topic: how to disable autologin  (Read 1842 times)

knnleow

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
how to disable autologin
« on: August 20, 2016, 12:32:32 pm »
i edit the /etc/lxdm/default.conf and comment out autologin with example below.

#autologin=admin01

reboot seem to works for the first time. but subsequent reboot, the file is overwritten with default setting again.

did i miss something here?




gabriel.gheorghiu@abt.ro

  • Guest
Re: how to disable autologin
« Reply #1 on: August 20, 2016, 09:42:35 pm »
i edit the /etc/lxdm/default.conf and comment out autologin with example below.

#autologin=admin01

reboot seem to works for the first time. but subsequent reboot, the file is overwritten with default setting again.

did i miss something here?

Hi,

If you want that the changes to be permanent, you must create a stub file for default.conf.

 https://wiki.zentyal.org/wiki/En/4.1/Appendix_B:_Development_and_advanced_configuration#Stubs


bubsik

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: how to disable autologin
« Reply #2 on: September 30, 2016, 11:20:05 am »
in file  /etc/lxdm/default.conf
comment or delete string with
autologin=...

in file /usr/share/zenbuntu-desktop/x11-setup

comment or delete string
sed -i "s/.*autologin=.*/autologin=$USER_NAME/" /etc/lxdm/default.conf