Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

In arch linux I would like to have NetworkManager service available at gdm login page.

I enabled the two services like this:

systemctl enable gdm.service
systemctl enable NetworkManager

The issue is that the wifi connects after I log in into gnome 3. As a result, any startup program / script (e.g. weather extension) relying to internet connection to do their stuff will fail as the connection is not yet available.

How can tell NetworkNamager to stat as soon as possible?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You should write

[Unit]
Wants=NetworkManager.service
After=NetworkManager.service

to /etc/systemd/system/gdm.service.d/after_networkmanager.conf

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.