Jump to content
Not connected, Your IP: 3.16.75.156
Sign in to follow this  
marmoset

ANSWERED Fedora 26 - cannot launch AirVPN client

Recommended Posts

Hello,

 

I recently upgraded to Fedora 26 (GNOME environment) and I'm encountering problems launching the AirVPN client. I've tried using versions 2.12.4 and 2.13.6 of the client but I get the same problem with both.

 

I did a little digging and found this forum post (https://airvpn.org/topic/20750-airvpn-not-working-with-fedora-25-wayland ) about a problem similar to mine, but it's about an earlier version of Fedora and the proposed solution doesn't solve my problem.

 

Basically the error message I get when I launch AirVPN in the terminal is this

 

    No protocol specified

    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 <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
       --- End of inner exception stack trace ---
      at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.Control..ctor () [0x000ea] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
      at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
       --- End of inner exception stack trace ---
      at System.Windows.Forms.Control..ctor () [0x00014] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.Form..ctor () [0x00012] in <2f8b04a5fbc8420bbb3895e91a62c74f>: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 <2f8b04a5fbc8420bbb3895e91a62c74f>: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 <2f8b04a5fbc8420bbb3895e91a62c74f>: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 <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at Eddie.UI.Linux.Program.Main () [0x000c3] in <827d8be374f3486292e08d514075969c>: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 <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
       --- End of inner exception stack trace ---
      at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.Control..ctor () [0x000ea] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
      at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
       --- End of inner exception stack trace ---
      at System.Windows.Forms.Control..ctor () [0x00014] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at System.Windows.Forms.Form..ctor () [0x00012] in <2f8b04a5fbc8420bbb3895e91a62c74f>: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 <2f8b04a5fbc8420bbb3895e91a62c74f>: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 <2f8b04a5fbc8420bbb3895e91a62c74f>: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 <2f8b04a5fbc8420bbb3895e91a62c74f>:0
      at Eddie.UI.Linux.Program.Main () [0x000c3] in <827d8be374f3486292e08d514075969c>:0

 

I do have the package "xorg-x11" installed so the problem can't be the absence of an X Server. But I'm not an expert and I am completely out of ideas as to what could be wrong here. Any help would be appreciated.

 

Thanks in advance.

Share this post


Link to post

Hello,

 

Thanks for the quick reply. I'd already tried that which is why I posted this in the first place. But then it occurred to me that I didn't restart my computer between the file edit and relaunching AirVPN the last time around. Now everything works fine, so it was the same problem and a shortsight on my part.

 

Thanks again and sorry for the inconvienience.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...