Skip to main content
Vlid
Visitor III
August 6, 2023
Solved

FortiClient VPN in KUbuntu 22.04 with SSO gets stuck in "Connecting..."

  • August 6, 2023
  • 5 replies
  • 14878 views
 

I'm facing issues while trying to set up FortiClient VPN on KUbuntu 22.04. The installation goes smoothly after manually adding a dependency package. However, when I attempt to connect using Single Sign On (SSO), the authentication window briefly opens and closes, leaving me stuck on the "Connecting..." stage. This is the window where I should enter my username and password and then use a 2FA app for verification.

Even after enabling "Use external browser as user-agent for saml user authentication," the problem persists. The same behavior occurs, and an external browser doesn't open as expected.


I had no trouble with this kind of connection on Kubuntu 20.04. Has anyone managed to successfully establish this type of connection on (K)Ubuntu 22.04?

Best answer by norbertleupi

Hi,

I'm no Linux geek. After searching/testing I managed to get connected on a Kubuntu 22.04 LTS clean installation with FortiClient Ver. 7.2.1 and/or 7.2.2

Prereq was a installation of the gnome-shell:
$sudo apt update && sudo apt ugrade
$sudo apt install gnome-shell

But after this there are several redundant app installed on the system, coming from the gnome shell installation.
To reduce this I would be happy if a tech from Fortinet would find out whats missing on Kubuntu LTS 22.04 with KDE Plasma 5.24.7 or higher and no Gnome

Kind regards
Norbert

5 replies

akushwaha
Staff
Staff
August 7, 2023

Hi,


To understand the issue better, can you provide me more information about the issue:

1) Are the windows user able to connect:
2) What is the FortiClient version ?
3) have you tried a different version of FortiClient:
4) Are you trying to use IPsec or SSL:
5)Attach error screenshot

Best Regards, 
Abhimanyu

Vlid
VlidAuthor
Visitor III
August 7, 2023

1) Yes

2) 7.0.7.0246
3) I also tried 7.0.0.0018
4) I am not sure

5) There is no error message. Instead, the login window briefly pops up and disappears and then it gets stuck in "Connecting..."

chauhans
Staff
Staff
August 7, 2023

Hello @Vlid 

 

Could you please provide below SSL VPN debug output:

 

 diag debug reset 

diagnose vpn ssl debug-filter src-addr4 x.x.x.x>>>User Public IP

diag debug appl sslvpn -1

diag debug enable

Post running the above command, please connect to SSL VPN and share the logs which got generated.

Thanks
Shaleni

Vlid
VlidAuthor
Visitor III
August 7, 2023

Where should I enter this? The Linux command line does not recognize the "diag" command

chauhans
Staff
Staff
August 7, 2023

Hello @Vlid 

Please run the above commands in FortiGate CLI and Post running the above command, please connect to SSL VPN and share the logs which got generated.

Thanks

Shaleni

Contributor
August 7, 2023

Hi @Vlid 

 

We have not observed issues regarding this (K)Ubuntu 22.04 version.

 

In your Linux machine please try to reinstall the SSL VPN and then restablish the SSL VPN using the SAML SSO.

 

https://community.fortinet.com/t5/FortiClient/Technical-Tip-How-to-install-FortiClient-on-Ubuntu-22-04-LTS/ta-p/217162

https://docs.fortinet.com/document/forticlient/7.2.1/linux-release-notes/213138

 

 

 

Regards

Priyanka

 

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

Vlid
VlidAuthor
Visitor III
August 7, 2023

I tried this version, but it still has the same issue. I set up a virtual machine with Xubuntu 20.04, and I can connect without any issues inside it. At this point, I'm seriously considering giving up and reverting my system back to 20.04.

Contributor
August 8, 2023

Hi @Vlid 

 

In this case, you can collect the below command output and raise a TAC case to investigate further.

could you kindly collect and share the following data:

-SSL VPN config (FGT CLI > conf vpn ssl settings)
-FortiClient XML conf (EMS GUI > Endpoint Policies & Components > Manage policies > edit assigned policy > Download XML config.)
-FortiClient debug logs after replication:

1) EMS GUI > Endpoint Profile > System Settings > select assigned profile> use Advanced view instead of Basic > Log Level > change "info" to "debug" > select all features
2) Wait for FCT to sync the profile
3) Reproduce the issue
4) FCT GUI > Settings > export logs

-Finally, if you can provide command line outputs:

before VPN connection try:-
$cat /etc/resolv.conf
$resolvectl status
$ifconfig
$dig toyourinternalresource.com


after VPN connection try:-
$cat /etc/resolv.conf
$resolvectl status
$ifconfig
$dig toyourinternalresource.com

 

Regards

Priyanka

 

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

t0mX
New Member
April 9, 2024

Hi, I am also getting the same problem from the second time I launch and use the FortiClient GUI since installing it onwards. I am on standard Ubuntu 22.04. For me, the first time I open and use it after installation, everything works fine and I can enter my MFA code in a window that pops up after I enter my username and password. The next day, after a reboot, after entering username and password, it just hangs on "Connecting..." forever.

Could you please help me resolve this problem?

torel
Explorer
July 6, 2024

Installing gnome-shell triggers install of 248 packages. 

Would be nice to know if there is a minimum requirement of packages that needs to be installed?