Hi all
I have to install FortiClient 6.4 on ubuntu server 18.0 for remote access vpn but it's not working. Please see log information below. Please advice.
------------ Create VPN Profile ERROR"Failed to save client certificate password. Cannot autolaunch D-Bus without X11 $DISPLAY"-------------------------------------- administrator@forticlient01:~$ /opt/forticlient/fortivpn edit CTH-VPN-SSL ===================== Create new VPN profile: CTH-VPN-SSL ===================== Remote Gateway: XXX.XXX.XXX.XXX Port [default=443]: 10443 Authentication (1.prompt / 2.save / 3.disable) [default=1]: 2 Username: username Client Certificate (.p12 file URL) [default=None]: Do not Warn Invalid Server Certificate (y/n) [default=n]: y Failed to save client certificate password. Cannot autolaunch D-Bus without X11 $DISPLAY DONE. administrator@forticlient01:~$ ------------------ Check SSLVPN profile-------------------------------- administrator@forticlient01:~$ /opt/forticlient/fortivpn list VPNs: Personal VPNs: CTH-VPN-SSL
-------------------- Connect SSLVPN ----------------------------------- administrator@forticlient01:~$ /opt/forticlient/fortivpn connect CTH-VPN-SSL Connect VPN: CTH-VPN-SSL password: Failed to set creadential. Cannot autolaunch D-Bus without X11 $DISPLAY DONE. administrator@forticlient01:~$
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
it won't help. The problem is (it is in you errorlog) that FortiClient is not designed for use on a linux server. That is why it has the "Client" in its name ;)
FortiClient requires a running gui (i.e. X11 or X.org) on your linux which a linux server usually doesn't have since that would be a huge waste of resources and of no use as you usually acess aserver only via web or ssh or similar where you cannot use the gui anyways.
You would have to use some alternative. However I cannot tell you much on that as I am only using IPSec but never did sslvpn with a FGT on linux.
Just looked it up on the net. There used to be a forticlient cli version whch was included with forticlient linux but it seems not to exist anylonger in 6.4.x.
However there is openfortivpn included in ubuntu which can connect on cli:
https://serverfault.com/q...h-ubuntu/922767#922767
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Try installing gnupg2 , see if it helps .
apt-get install gnupg2
it won't help. The problem is (it is in you errorlog) that FortiClient is not designed for use on a linux server. That is why it has the "Client" in its name ;)
FortiClient requires a running gui (i.e. X11 or X.org) on your linux which a linux server usually doesn't have since that would be a huge waste of resources and of no use as you usually acess aserver only via web or ssh or similar where you cannot use the gui anyways.
You would have to use some alternative. However I cannot tell you much on that as I am only using IPSec but never did sslvpn with a FGT on linux.
Just looked it up on the net. There used to be a forticlient cli version whch was included with forticlient linux but it seems not to exist anylonger in 6.4.x.
However there is openfortivpn included in ubuntu which can connect on cli:
https://serverfault.com/q...h-ubuntu/922767#922767
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Dear all , thank you for your advice.
You are absolutely right: openfortivpn is amazingly simple to use in CLI.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1733 | |
1106 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.