I'm using FortiClient for VPN purposes only and don't need it running any other time. I can't get disabled from starting on startup. How to disable auto-launching of FortClient on startup?
Asked
Active
Viewed 8,955 times
2 Answers
32
You can do it using these commands with sudo privilege:
To shutdown FortiClient:
systemctl stop forticlient-scheduler
To disable the auto start at the next boot:
systemctl disable forticlient-scheduler
Edit: As mentioned by others, for the newer versions forticlient-scheduler is changed to forticlient
Sudesh Chaudhary
- 601
- 7
- 12
-
Thanks! Worked for me. – Raj May 29 '21 at 07:19
-
2Thanks! Using forticlient 7, it's just "forticlient" :) – Quentium Dec 24 '22 at 10:31
-
1Like @QuentiumYT mentioned, the command is now `systemctl disable forticlient` – Marcin Jóźwikowski Jan 19 '23 at 10:57
0
This took me quite a bit to find, after running systemctl disable forticlient the fortytraylauncher was still autostarting. I still had to remove the file /etc/xdg/autostart/Fortitray.desktop. If yours is in a different location, try finding it at one of the paths from $XDG_CONFIG_DIRS/autostart.