Jump to content


Photo

How to run Eddie on Linux?


Best Answer SubtleArrogance, 27 January 2018 - 07:32 PM

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.

Go to the full post


  • Please log in to reply
6 replies to this topic

#1 SubtleArrogance

SubtleArrogance

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 27 January 2018 - 07:24 PM

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.



#2 SubtleArrogance

SubtleArrogance

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 27 January 2018 - 07:32 PM   Best Answer

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.



#3 SubtleArrogance

SubtleArrogance

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 28 January 2018 - 04:21 AM

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.



#4 SubtleArrogance

SubtleArrogance

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 28 January 2018 - 04:24 AM

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
 



#5 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1800 posts

Posted 29 January 2018 - 02:29 AM

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!


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 SubtleArrogance

SubtleArrogance

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 03 February 2018 - 01:51 AM

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



#7 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1800 posts

Posted 03 February 2018 - 03:18 AM

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 :).


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.





Similar Topics Collapse

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Sessions: 13052 - BW: 35087 Mbit/sYour IP: 54.167.216.239Guest Access.