Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 5 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
add comment

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.