How to enable automatic logon

For release 12.04 and on (LightDM)

You will need to create an /etc/lightdm/lightdm.conf with these contents: (do this as root)

autologin-user=<YOUR USER>

Stop autologin For release 12.04 and on (LightDM)

You will need to edit the /etc/lightdm/lightdm.conf with these contents: (do this as root)

Remove or comment out the following lines

autologin-user=<YOUR USER>

Fix Lubuntu / Xubuntu 14.04 Network Manager Missing From The Panel

Xubuntu 14.04 / Lubuntu 14.04: The Network Manager icon doesn’t show up by default for some users by default. Until the developers fix this, here’s how to get the Network Manager icon back.


Lubuntu 14.04: fix 1

To fix the Network Manager not showing up on the panel issue, from the Lubuntu menu select Preferences > Default applications for LXSession, then click on the Autostart tab and under “Manual autostarted applications” type “nm-applet”, then click the “+ Add” button on the left:


Now log out, log back in and you should see the Network Manager icon on the panel.


Lubuntu 14.04 / Xubuntu 14.04: fix 2

If the above solution didn’t work for you in Lubuntu 14.04 or if you’re using Xubuntu 14.04 and you’re having this issue, here’s another solution. Basically, the solution below is for those who must run “nm-applet” as root to get it to show up in the pane – we’ll be using dbus-launch to launch nm-applet at startup.


To get the Network Manager applet to work properly in either Lubuntu 14.04 or Xubuntu 14.04, run the following command:
sudo sed -i 's/Exec=nm-applet/Exec=dbus-launch nm-applet/' /etc/xdg/autostart/nm-applet.desktop

The command above replaces "nm-applet" with "dbus-launch nm-applet" in the nm-applet autostart desktop file.