Jump to content


Photo

Airvpn not working with Ubuntu 17.10 - Fedora 25 - WAYLAND

Wayland

Best Answer Greenliquid, 19 December 2016 - 01:29 PM

I was able to get it working on Fedora 25. LZ1 was correct, once I disabled wayland I was able to get it working. I disabled it by editing /etc/gdm/custom.conf. Thanks for the help LZ1 :good:

# GDM configuration storage

[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false
DefautSession=gnome-xorg.desktop

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true

Go to the full post


  • Please log in to reply
18 replies to this topic

#1 Greenliquid

Greenliquid

    Newbie

  • New Members
  • Pip
  • 2 posts

Posted 17 December 2016 - 01:14 AM

I'm trying to run the airvpn portable, but I keep getting this error message. I'm new to linux and was wondering if you guys could help me get it running.

 

beesu ./airvpn 
No protocol specified
I 2016.12.16 19:03:25 - Eddie client version: 2.11.9 / linux_x64, System: Linux, Name: \SKernel \r on an \m (\l), Mono/.Net Framework: v4.0.30319
. 2016.12.16 19:03:25 - Reading options from /home/iris/Downloads/eddie-ui_2.11_linux_x64_portable/eddie-ui_2.11_linux_x64_portable/AirVPN.xml
. 2016.12.16 19:03:25 - Profile options not found, using defaults.
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 <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.Control..ctor () [0x000ea] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.Control..ctor () [0x00014] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.Form..ctor () [0x00012] in <d5b72d15d4f7424c8a1538e3f19ec2e3>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at Eddie.UI.Linux.Program.Main () [0x000d4] in <b8e97840875a473088ab00992037175c>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.Control..ctor () [0x000ea] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.Control..ctor () [0x00014] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at System.Windows.Forms.Form..ctor () [0x00012] in <d5b72d15d4f7424c8a1538e3f19ec2e3>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>: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 <d5b72d15d4f7424c8a1538e3f19ec2e3>:0 
  at Eddie.UI.Linux.Program.Main () [0x000d4] in <b8e97840875a473088ab00992037175c>:0 

 



#2 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1825 posts

Posted 17 December 2016 - 03:10 AM

Hello!

Are you using wayland? Eddie doesn't work with it yet. I assume you're also using the beta:).

Sent to you from me with datalove

Hi there, are you new to AirVPN? Many of your questions are already answered in this guide. Its Guides Section has guides on Linux/Torrenting/Blocked sites & many other topics too.
Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please read the First Questions section in the link above for more details, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

Tired of Windows? Why Linux Is Better.

#3 exid

exid

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 18 December 2016 - 11:34 AM

Same problem with Fedora 25 and AirVPN 2.10.3
 
Spoiler


#4 Greenliquid

Greenliquid

    Newbie

  • New Members
  • Pip
  • 2 posts

Posted 19 December 2016 - 01:29 PM   Best Answer

I was able to get it working on Fedora 25. LZ1 was correct, once I disabled wayland I was able to get it working. I disabled it by editing /etc/gdm/custom.conf. Thanks for the help LZ1 :good:

# GDM configuration storage

[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false
DefautSession=gnome-xorg.desktop

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true



#5 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1825 posts

Posted 31 January 2017 - 01:42 AM

Same problem with Fedora 25 and AirVPN 2.10.3
 
Spoiler

By the way, just for reference, you need to be using the Beta client, not the current 2.10 Stable client, when using Linux :). Details in my signature if you don't know where to find it.


Hi there, are you new to AirVPN? Many of your questions are already answered in this guide. Its Guides Section has guides on Linux/Torrenting/Blocked sites & many other topics too.
Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please read the First Questions section in the link above for more details, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

Tired of Windows? Why Linux Is Better.

#6 shouldigobacktosleep

shouldigobacktosleep

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 26 May 2017 - 08:52 PM

Hi guys,

 

Edited the nano /etc/gdm/custom.conf just as shown

 

Still cant connect, does it have to do with the configuration files?

 

Can someone share how they have solved this?



#7 Staff

Staff

    Advanced Member

  • Staff
  • PipPipPip
  • 7339 posts

Posted 28 October 2017 - 01:19 PM

Hello!

 

We remind you that Eddie is currently incompatible with Wayland: momentarily please fall back to X11. Compatibility with Wayland has been planned with Eddie 3.

 

Kind regards



#8 Staff

Staff

    Advanced Member

  • Staff
  • PipPipPip
  • 7339 posts

Posted 29 October 2017 - 12:35 PM

Temporary workaround for Ubuntu 17.10 (until the next Eddie version is released)

- Install Debian package
- edit /usr/bin/airvpn
from terminal:

xhost +local: && sudo gedit /usr/bin/airvpn
- Replace the line
mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"
with
xhost +local: && pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"
- Launch normally by double-clicking AirVPN icon.

#9 natttynate

natttynate

    Member

  • Members
  • PipPip
  • 14 posts

Posted 07 November 2017 - 11:25 PM

Temporary workaround for Ubuntu 17.10 (until the next Eddie version is released)

- Install Debian package
- edit /usr/bin/airvpn
from terminal:

xhost +local: && sudo gedit /usr/bin/airvpn
- Replace the line
mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"
with
xhost +local: && pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"
- Launch normally by double-clicking AirVPN icon.

 

Thanks for this fix!! It should probably be stickied in the Eddie section.



#10 frgt

frgt

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 09 November 2017 - 12:16 AM

This fix worked for me, too. Fresh install of 17.10 on brand new gamer.



#11 spe

spe

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 19 November 2017 - 03:55 AM


ost +local: && pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"

 

A minor thing, but it would be a bit more secure to restrict access to your X session to root and limit access duration. Something like:

xhost si:localuser:root && pkexec ... "$@"; xhost -si:localuser:root

This way we remove access as soon as pkexec is done launching AirVPN.exe.

 

And if you're running Fedora 26+ (haven't checked with earlier releases), there's no need to disable Wayland. There's a parallel XWayland session spawned to support programs that use X: Chrome, Firefox, Eddie, etc. No need to touch any config files.

 

Cheers!



#12 frgt

frgt

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 22 November 2017 - 11:48 PM

IThe above fix worked for awhile, but now, Eddie doesn't seem to connect to any server, it's stuck in a endless loop of reconnects. After unuinstall and reinstall of Eddie  the edit of xhost file via terminal gives a warning of Set document metadata failed: Setting attribute metadata::gedit encoding not supported

 I'm at a loss and at a loss of work.



#13 ailurus fulgens

ailurus fulgens

    Member

  • Members
  • PipPip
  • 10 posts

Posted 05 February 2018 - 12:29 PM

I could not get it to  work with 17.10. I did all the above and  It was working , I saved it,  used it but it then disappeared when it was closed . I was unable to put the new air setting on the icon bar.The original icon is still there on the icon bar, but does nothing.



#14 ailurus fulgens

ailurus fulgens

    Member

  • Members
  • PipPip
  • 10 posts

Posted 05 February 2018 - 05:09 PM

Tried a second time, removing air from the system first. Works until I close it. Then I cannot start from the icon.



#15 y9yyH8hOGI2uf4eTC4U5

y9yyH8hOGI2uf4eTC4U5

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 13 February 2018 - 02:59 AM

This command works well for me on Ubuntu 17.10.

xhost +local: && pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"


#16 weedco

weedco

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 10 March 2018 - 06:56 PM

ok seems to have worked so tank u



#17 toeternity

toeternity

    Newbie

  • New Members
  • Pip
  • 2 posts

Posted 28 March 2018 - 07:28 AM

Temporary workaround for Ubuntu 17.10 (until the next Eddie version is released)

- Install Debian package
- edit /usr/bin/airvpn
from terminal:

xhost +local: && sudo gedit /usr/bin/airvpn
- Replace the line
mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"
with
xhost +local: && pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"
- Launch normally by double-clicking AirVPN icon.

Terminal says "non-network local connections being added to access control list" and its stuck there ... Can you explain how to proceed.



#18 toeternity

toeternity

    Newbie

  • New Members
  • Pip
  • 2 posts

Posted 28 March 2018 - 07:34 AM

from terminal: xhost +local: && sudo gedit /usr/bin/airvpn

 

Terminal says "non-network local connections being added to access control list" and its stuck there ...

 

Can you explain how to proceed.



#19 pyq

pyq

    Member

  • Members
  • PipPip
  • 19 posts

Posted 30 June 2018 - 06:45 PM

Temporary workaround for Ubuntu 17.10 (until the next Eddie version is released)

- Install Debian package
- edit /usr/bin/airvpn
from terminal:

xhost +local: && sudo gedit /usr/bin/airvpn
- Replace the line
mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"
with
xhost +local: && pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mono /usr/lib/AirVPN/AirVPN.exe --path=$HOME/.airvpn "$@"
- Launch normally by double-clicking AirVPN icon.

 

Working for me on PureOS! I had the issue, that after starting eddie and entering the password nothing happened. Now it works fine. However, problem still exists with the portable client.







Similar Topics Collapse


Also tagged with one or more of these keywords: Wayland

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Sessions: 13474 - BW: 42918 Mbit/sYour IP: 54.81.254.212Guest Access.