27

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?

Sudesh Chaudhary
  • 851
  • 1
  • 9
  • 13

2 Answers2

47

You can do it using these commands with sudo privilege:

To shutdown FortiClient:

systemctl stop forticlient

To disable the auto start at the next boot:

systemctl disable forticlient 

To confirm which service name is correct for your installed version of FortiClient, you can run:

(systemctl list-units --type=service; systemctl list-unit-files --type=service) | grep forticlient
karel
  • 122,292
  • 133
  • 301
  • 332
Sudesh Chaudhary
  • 851
  • 1
  • 9
  • 13
7

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.

penguin
  • 71