Jump to content
Not connected, Your IP: 18.224.44.207
QuarkZ

ANSWERED Eddie won't start, Arch headless client

Recommended Posts

Hello,

I'm trying to use Eddie on a headless VM running and getting this error:

Cannot initialize UI. Probably a DISPLAY issue, ensure your are not running as root. Error:A null reference or invalid value was found [GDI+ status: InvalidParameter]

I'm guessing this is tied to being headless, but I run many other apps without any issues. I also can run the CLI seemingly without issues and my main machine is also Arch with just about the same setup and is working just fine. Any pointers would be great.

Edit: the CLI sorta works, latency test makes it freeze after a while, it just stays there and never connects. Bypassing that connects properly, but it's not really related to the main issue.

Share this post


Link to post

Erm.. am I understanding correctly that you are trying to run the Eddie GUI on a server without a display server? I mean.. the CLI is your only option, then, isn't it?


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

There is a display server, just no monitor connected to the computer, I only remote into it using nomachine or proxmox directly. The system itself uses x11/kde plasma

Share this post


Link to post
5 hours ago, QuarkZ said:

just no monitor connected to the computer


Well, that's the issue, I think. Maybe Mono expects a physical monitor on 0 or 1, but according to some forums, if there is none and NoMachine is given permission to create a virtual one on 1001, Mono takes issue? Couldn't find any bug reports on this, though. (That's assuming you are not running this as root, though. Don't sudo eddie-ui, either, Eddie elevates itself after launch.)

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

I'm not running it as root and the CLI is quite impractical and buggy. I tried other VPN provider clients and they run without issue, I would appreciate a word from the staff about this.

Share this post


Link to post
4 hours ago, QuarkZ said:

I'm not running it as root and the CLI is quite impractical and buggy. I tried other VPN provider clients and they run without issue, I would appreciate a word from the staff about this.


Hello!

If possible, please drop Eddie momentarily, test the AirVPN Suite (especially Bluetit+Goldrest) and let us know. Check the user's manual.

If you need WireGuard support, which is not implemented in the Suite 1.3.0, please test directly Suite 2.0.0 beta.

Kind regards
 

Share this post


Link to post
8 hours ago, Staff said:

Hello!

If possible, please drop Eddie momentarily, test the AirVPN Suite (especially Bluetit+Goldrest) and let us know. Check the user's manual.

If you need WireGuard support, which is not implemented in the Suite 1.3.0, please test directly Suite 2.0.0 beta.

Kind regards
 

Thanks, I'll check it out.

Edit: I see no way to include routes or allow the local network outside the VPN, is there no option for it?

Share this post


Link to post
2 hours ago, QuarkZ said:

Edit: I see no way to include routes or allow the local network outside the VPN, is there no option for it?


Hello!

The local network is always outside the VPN with OpenVPN and an option to do so for WireGuard will be implemented soon (similar to the option you see in Eddie Android edition). Traffic splitting is implemented on an application basis (via the cuckoo utility), so specific routes to the Internet outside the tunnel must be specified manually, if the split over an app is not your optimal solution.

Kind regards
 

Share this post


Link to post
5 hours ago, Staff said:

Hello!

The local network is always outside the VPN with OpenVPN and an option to do so for WireGuard will be implemented soon (similar to the option you see in Eddie Android edition). Traffic splitting is implemented on an application basis (via the cuckoo utility), so specific routes to the Internet outside the tunnel must be specified manually, if the split over an app is not your optimal solution.

Kind regards
 

Alright, so I do use Wireguard and actually it does let me access my local LAN. Not sure if it's a good or bad thing, given that you said it's not yet technically implemented. Edit: it's not working anymore, it was earlier because I put the machine on my main VLAN, but on a different one, it doesn't work, even though they can communicate without the VPN on.

With that said, it seems to be working fine though using Goldcrest kinda locks me into the console, I can disown, but then if I try to do something like --reconnect, it doesn't work (DBusConnectorException: DBusConnector: not primary owner (2)), and I have to restart the Bluetit service.
Am I missing something? I'd like to just start a connection and have GC exit gracefully after that, same way it does if I use the status switch, instead of locking the console.

Share this post


Link to post
@QuarkZ

Hello!

We're glad to know that the main problems are solved.

Please consider to run Goldcrest through a terminal multiplexer like tmux or screen, otherwise Goldcrest's life will always end when the SSH session breaks. As usual, any multiplexer usage is recommended or even mandatory whenever you need some process not to be bound to your SSH session and/or emulated terminal. You can re-enter a specific window anytime even in future SSH sessions.

Error message DBusConnectorException: DBusConnector: not primary owner (2) when you start a 2nd Goldcrest instance is correct and due: in our model only one Goldcrest instance at a time is allowed. The rationale is avoiding multiple clients sending (potentially contradictory) commands to the daemon, causing confusion for the user and potentially risky situations.

Kind regards
 

Share this post


Link to post
5 hours ago, Staff said:
Please consider to run Goldcrest through a terminal multiplexer like tmux or screen, otherwise Goldcrest's life will always end when the SSH session breaks. As usual, any multiplexer usage is recommended or even mandatory whenever you need some process not to be bound to your SSH session and/or emulated terminal. You can re-enter a specific window anytime even in future SSH sessions.

Awesome, screen is definitely one thing I never used and didn't know I needed! Thanks for all the help, I'll be waiting for the local LAN option and for now I can just do it manually since that VM is pretty much permanently on VPN anyway.

 

Share this post


Link to post
On 8/11/2024 at 11:25 AM, Staff said:

Hello!

The local network is always outside the VPN with OpenVPN and an option to do so for WireGuard will be implemented soon (similar to the option you see in Eddie Android edition). Traffic splitting is implemented on an application basis (via the cuckoo utility), so specific routes to the Internet outside the tunnel must be specified manually, if the split over an app is not your optimal solution.

Kind regards
 

@Staff So it seems that OpenVPN also doesn't really exclude what I need. My computer runs on a different subnet and I really need to be able to automatically add routes. Will the implementation you're referring to include the ability to add routes like in the UI or use the Wireguard "Allowed IPs"? Do we have an ETA?

In the meantime, I tried to use the regular CLI, since it has routes, but it won't connect to wireguard, even though i specified the mode.type=wireguard. Is this a known issue? (Edit: Using Eddie on another machine to create the profile, I was able to force wireguard, still don't know why it's ignored as a command line, though)

Share this post


Link to post
10 hours ago, QuarkZ said:
@Staff So it seems that OpenVPN also doesn't really exclude what I need. My computer runs on a different subnet and I really need to be able to automatically add routes. Will the implementation you're referring to include the ability to add routes like in the UI or use the Wireguard "Allowed IPs"? Do we have an ETA?

Hello!

Approximately October (AirVPN Suite 2.0.0 stable release), but the option could be implemented in the next beta version which is planned for mid September. You can use a configuration file in the meantime. This article offers an immediate solution:
https://airvpn.org/forums/topic/55801-wireguard-access-local-network/?do=findComment&comment=217458
 
10 hours ago, QuarkZ said:

n the meantime, I tried to use the regular CLI, since it has routes, but it won't connect to wireguard, even though i specified the mode.type=wireguard. Is this a known issue? (Edit: Using Eddie on another machine to create the profile, I was able to force wireguard, still don't know why it's ignored as a command line, though)


That's a bug of Eddie CLI affecting various versions, it has been fixed on 2.24 beta. https://airvpn.org/forums/topic/57401-eddie-desktop-224-beta-released/

Kind regards

 

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