I need to connect to a specific wireless network before being able to successfully connect to my user account, since it needs access to a secured LDAP server.

The same applies when I am outside of the office, where I need to connect to a VPN before I can log in.


Turns out it's pretty simple; just need to add a .desktop file in the directory:


A quick way to do this is to copy the nm-applet.desktop file from /etc/xdg/autostart:

cp /etc/xdg/autostart/nm-applet.desktop /usr/share/gdm/autostart/LoginWindow/

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.