How to run VPN app Eddie on PureOS?

I can’t start the official VPN app Eddie. The deb package is installed normally, but the application does not start. What could be the problem? I have the latest version of PureOS. https://airvpn.org/linux/

Can’t find a reason why it isn’t working. Try watch this video maybe.


Have you done all that maintainer key stuff and also adding the stable PPA repo like they told you to?
1 Like

Try running it from the terminal and see what errors pop up.

Yes. I already added maintainer key and PPA repo. On Fedora 30 everything was installed without problems. At PureOS, I can’t understand why the application does not start. Here is the information from the terminal, maybe this will help to find the problem?

sudo eddie-ui
No protocol specified
. 2020.02.18 14:49:25 - Eddie version: 2.16.3 / linux_x64, System: Linux, Name: PureOS \n \l, Version: Linux PC345 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux, Mono/.Net: 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Wed Apr 17 16:37:36 UTC 2019); Framework: v4.0.30319
. 2020.02.18 14:49:25 - Reading options from /root/.airvpn/default.xml
. 2020.02.18 14:49:25 - Profile options not found, using defaults.
No protocol specified
at System.Windows.Forms.Control…ctor () [0x0000d] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ScrollableControl…ctor () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ContainerControl…ctor () [0x0000e] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Form…ctor () [0x00012] in <0e1823914d7643eeaf1207febb083a4a>:0
at Eddie.Forms.Form…ctor () [0x00000] in :0
at Eddie.Forms.Forms.Main…ctor () [0x0003f] in :0
at (wrapper remoting-invoke-with-check) Eddie.Forms.Forms.Main…ctor()
at Eddie.Forms.UiClient.Init () [0x00052] in :0
at Eddie.Forms.Linux.Program.Main () [0x00065] in :0

Unhandled Exception:
System.TypeInitializationException: The type initializer for ‘System.Windows.Forms.WindowsFormsSynchronizationContext’ threw an exception. —> System.TypeInitializationException: The type initializer for ‘System.Windows.Forms.XplatUI’ threw an exception. —> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x00435] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.XplatUIX11…ctor () [0x00077] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.XplatUI…cctor () [0x000e3] in <0e1823914d7643eeaf1207febb083a4a>:0
— End of inner exception stack trace —
at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Control…ctor () [0x000dc] in <0e1823914d7643eeaf1207febb083a4a>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control…ctor()
at System.Windows.Forms.WindowsFormsSynchronizationContext…cctor () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
— End of inner exception stack trace —
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Windows.Forms.WindowsFormsSynchronizationContext.get_AutoInstall () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Control…ctor () [0x0000d] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ScrollableControl…ctor () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ContainerControl…ctor () [0x0000e] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Form…ctor () [0x00012] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.MessageBox+MessageBoxForm…ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Boolean displayHelpButton) [0x0000c] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.MessageBox+MessageBoxForm…ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm…ctor(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)
at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at Eddie.Forms.Linux.Program.Main () [0x00087] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for ‘System.Windows.Forms.WindowsFormsSynchronizationContext’ threw an exception. —> System.TypeInitializationException: The type initializer for ‘System.Windows.Forms.XplatUI’ threw an exception. —> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x00435] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.XplatUIX11…ctor () [0x00077] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.XplatUI…cctor () [0x000e3] in <0e1823914d7643eeaf1207febb083a4a>:0
— End of inner exception stack trace —
at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Control…ctor () [0x000dc] in <0e1823914d7643eeaf1207febb083a4a>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control…ctor()
at System.Windows.Forms.WindowsFormsSynchronizationContext…cctor () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
— End of inner exception stack trace —
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Windows.Forms.WindowsFormsSynchronizationContext.get_AutoInstall () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Control…ctor () [0x0000d] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ScrollableControl…ctor () [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.ContainerControl…ctor () [0x0000e] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.Form…ctor () [0x00012] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.MessageBox+MessageBoxForm…ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Boolean displayHelpButton) [0x0000c] in <0e1823914d7643eeaf1207febb083a4a>:0
at System.Windows.Forms.MessageBox+MessageBoxForm…ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm…ctor(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)
at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <0e1823914d7643eeaf1207febb083a4a>:0
at Eddie.Forms.Linux.Program.Main () [0x00087] in :0

Are you using wayland?

I have Librem 15 v4 with PureOS preinstalled. I did not change anything in the system. I can’t say for sure most likely I have wayland.

I’m almost positive you are then (I don’t run pureos myself), and Eddie appears to need X. I see a line that says “(X-Server required. Check your DISPLAY environment variable.)”

That’s the diagnosis, but the fix is a bit out of my wheelhouse. Switching to X is somewhere on these forums, but I can’t recall where nor the procedure. Alternatively you can search the internet for “Eddie vpn wayland.”

That’s all I’ve got for you, though. Sorry I can’t help more.

2 Likes

Sorry dude. I’m too stupid. Contact rec because he is very smart even if he is a bit of an ass sometimes.
edit: ugh I was just about to send you a link from the arch repo but yours is debian. Sorry dude.

2 Likes

asking reC about VPN … :rofl: that’s a good one m8 :wink:

1 Like

From Cannot set 4k resolution on HDMI monitor on Librem 15 v4

(btw i had no ideaaa it was so easy to switch to X11 by just logging in and clicking the gear icon and selecting the X11 session)

So try that?

1 Like

Let us know how it goes @Morfius

1 Like

At the moment, I am not ready to make global changes in my PureOS due to a single program. I described the problem on the AirVPN forum. And switched to an alternative VPN app - Qomui. Qomui runs seamlessly on PureOS.

You will run just a session with x instead wayland doing that, you can go back in the next log in.

I contacted AirVPN support, this is what they told me: "You’re right, Eddie can not run in your environment. Can you please test Eddie 2.18.7 beta? Now the GUI runs with ordinary user privileges (no more GUI running with root privileges) and is run by the account of the DE you use. Other changes have been implemented and compatibility with Wayland should now be 100% - last but not least Eddie backend, running with root privileges, does not need anymore Mono framework ( it is written in C ++)

To test Eddie 2.18.7 beta please see here:
https://airvpn.org/forums/topic/45326-eddie-desktop-218beta-released/ "

I installed the beta version of Eddie 2.18.7 now everything works fine. Thanks to everyone who tried to help me!

1 Like