Jump to content
Not connected, Your IP: 18.119.248.20

Recommended Posts

I've been using AirVPN for awhile on Windows and today I'd like to start using it on Linux.  I'm not completely new to Linux, but I must be doing something wrong because I can't figure this out.

 

I'm using Ubuntu 17.10 on an x86_64 machine.

 

I've installed the Eddie .deb package.

 

I see I now have a /usr/bin/airvpn executable.  I tried to launch it from the command-line, and it pops up an error about not being able to copy my .Xauthorization file and failing to run as root.

 

So I tried sudo airvpn and I get a very long stack trace basically telling me I don't have a config file in ~/.airvpn/AirVPN.xml and then letting me know it didn't have permission to use my x DISPLAY.

 

So my questions are:

1. Am I supposed to run airvpn with sudo?

2. Am I supposed to create a config file before running airvpn?

3. Do I need to do something to allow airvpn to access my display?

 

Sorry if these are stupid questions, and if there's a link that I've missed to a page that explains this I'd be grateful if you'd point me in the right direction.  Thanks in advance.

Share this post


Link to post

Found my own answer googling for the specific error message "Unable to copy the user's Xauthorization file" which is not specific to AirVPN.  All I had to do was create the .Xauthority file and it would proceed:

 

touch ~/.Xauthority

 

No, I didn't need to use sudo.

Share this post


Link to post

Apparently that's not all I needed.  I get the chance to enter a root password but then Eddie dies with another error about the DISPLAY variable.

 

Is there a simple for dummies guide to running Eddie on Linux somewhere?  It looks like I need to set up configuration somehow and enable X access to my display somehow.

Share this post


Link to post

This seems to be the error that is happening (it's embedded in a long stack trace when I run airvpn from a terminal):

 

[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)
 

Also further up above that there's a line about no protocol specified that makes me think I need to set up a configuration for Eddie somehow (where can I read about how to do this?)

 

No protocol specified
 

Share this post


Link to post

Hello!

 

That should be because you picked Ubuntu 17, which has Wayland as the default display server and Eddie can't handle that yet. We had a fair few Arch Linux users run into this repeatedly .

 

[staff fix for Ubuntu 17.10] (Eddie 3 is when it's due to be fixed)

 

It might be fixed sometime in the future. But as has been said before, it's not a priority, since it affects such a small amount of people. So it wouldn't be surprising if it hasn't been addressed yet.

 

As for your questions:

 

1. Am I supposed to run airvpn with sudo? (You're not supposed to do anything, but there should be a password prompt when Eddie is started)

2. Am I supposed to create a config file before running airvpn? (No, not for desktops, if you're using Eddie. For mobile yes, because then you need to import settings into a separate program)

3. Do I need to do something to allow airvpn to access my display? (It should be a straightforward install. In the case of Wayland, you may need to disable/change it)

 

There's also other ways around it.

 

I hope that helps a little.

 

Otherwise I commend your efforts and I likewise think it's brilliant that you're documenting your own progress and setbacks. Keep it up!


Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please also do not run Tor Exit Servers behind AirVPN, 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.

Share this post


Link to post

Thanks very much for the information!  I may consider downgrading to a version of ubuntu that works better.

My bad. You don't need to downgrade; you can simply change to Xorg, instead of using Wayland. There's nothing wrong with the system as such .


Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please also do not run Tor Exit Servers behind AirVPN, 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.

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

×
×
  • Create New...