-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect. Username and password dialog not showing #158
Comments
C++ isn't really my thing, but I've tried to follow the code, and what I think is happening is calls to In my install, I can see a socket getting created at /tmp/user/1000/openfortiGUI when the application is opened. While the socket file itself and the directory is owned by my local user, the parent directory is owned by root and does not allow group or other read access. This is likely a default of the Xubuntu setup. There is also a config-err-KATMCo file in the same directory that is rw by my user only. In my 20.04 install, the same socket file is located under /tmp. Understandabley, the /tmp direct has rwx for ug and rwt for owner. I wonder if a lack of read access by root (group) to /tmp/user/1000, and possibly execute, is causing the issue. I'll try some incremental changes to the permissions of those directories and see what happens. |
Nope, that did not work. I tried changing the group of /tmp/user/1000 to be reuben-local and even fully opened permissions to rwx for /tmp/user/1000, but no dice. There must be something going on in connectToServer, rather than just testing that the socket is open. |
Small update. The VPN side of things is working. If I supply the password in the config, then when I ask the GUI to Connect, and I complete the MFA side of things that the VPN server requires, the pppd session is started and works a treat. However, the GUI doesn't get any feedback about this, and the logs/openfortigui.log file has "openfortiGUI::Warning: Socket not open" spammed into it (every 2 seconds). For completeness, another log
When I hit the Disconnect button, the UI crashes and I have to kill the background --start-vpn process. |
Got exatly the same issue with Ubuntu 21.10 I could provide log if needed, but every detail is the same. |
No. I ended up running openfortivpn directly in a shell and then I use
KDocker to hide the terminal in the background. I haven't looked back.
Regards
Reuben Helms
…On Tue, Jun 21, 2022 at 3:28 AM wojciechcwek ***@***.***> wrote:
Hi @rhelms <https://github.com/rhelms>, I've got the same problem on
ubuntu 22.04. Fortigui for a one month worked good, but today the issue,
you described on 11th October, occurs to me. Have you found solution?
—
Reply to this email directly, view it on GitHub
<#158 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGHGB7UN7224AHCNFA6QBDVQCS3NANCNFSM5FQT4FYQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi
I'm running Xubuntu 21.04 with i3, and attempting to use openFortiGUI 0.9.5 installed from the https://apt.iteas.at/ repo.
When I try to connect to the configured VPN, the username and password dialogue does not show.
This is from the logs.
However, when I run as root, or rather, via
sudo openfortigui
from the command line, everything works fine.I do have the SUDO -E Option selected, but as you can see from the log, it may not be kicking in, or it may be totally unrelated.
I use this successfully on Xubuntu 20.04 running i3, although I'm on version 0.9.0, and I don't want to risk it not working by upgrading.
The text was updated successfully, but these errors were encountered: