When I logout from my session, and no other user is logged locally, the wifi connection is stopped. I would like to keep it on, so that I can log on from a remote computer. How can I do that?

1 Answer 1


Edit your preferred connection and check:

  • Automatically connect to this network
  • Available to all users

Also give a high priority number for auto-activation (More than all other connections).

Make sure your wifi gets enabled at boot time (otherwise you have to login and enable it).

Now this connection will be activated before login and stay connected after logout.

Using CLI and nmcli:

nmcli connection modify [CONNECTION-NAME] connection.permissions ''
nmcli connection modify [CONNECTION-NAME] connection.autoconnect yes
nmcli connection modify [CONNECTION-NAME] connection.autoconnect-priority 10

Using GUI:

enter image description here

More info

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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