Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 6 down vote accepted

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

/usr/share/gdm/autostart/LoginWindow/

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/
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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