You are not logged in.

#1 2017-05-29 14:48:45

Utini
Member
Registered: 2015-09-28
Posts: 481
Website

Run .service (OpenVPN auto connect) on specific user login ?

Hello everyone,

I have just finished setting up my OpenVPN server and now want to auto-connect to it everytime my "user x" logs into Arch. The auto-connect should only effect "user x" but no other user. So according to the wiki this can be done with:

1. Save .service file in "~/.config/systemd/user/"
2. Enable .service file with "systemctl --user enable service"

Is this correct?

If so, my next problem would be to create the correct .service file to get Network-Manager-OpenVPN (I am using GNOME) to connect to my VPN.

Thanks in advance !


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

Board footer

Powered by FluxBB