Jump to content
Not connected, Your IP: 3.128.226.128
qwertyuiop1990

ANSWERED How to run and connect on boot (Raspbian, RPi 4)

Recommended Posts

I'm on an RPi 4, running Raspbian 64-bit, latest version.  The Eddie UI client has an option "Connect at startup", which will connect right when I open Eddie, however, after a system reboot Eddie does not open automatically.  I've tried the systemd files in this forum post from a few years ago, but it doesn't seem to work (not sure why).  Does anyone have a succinct guide on how to autostart the VPN connection on Raspberry Pi (raspbian) boot?

Share this post


Link to post

That forums post refers to the CLI version with a configuration preconfigured in the GUI. Autostarting apps should be started by the desktop, not with Systemd. Which desktop environment are you using? Contents of these vars?

$ echo $XDG_SESSION_DESKTOP \| $DESKTOP_SESSION \| $XDG_CURRENT_DESKTOP

.

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

Here's the output to that:

lightdm-xsession | LXDE-pi | LXDE

I've used the LXDE-pi/autostart file before to automatically launch UI clients at start up.  I've tried doing that here but perhaps I have the name wrong of the Eddie client.  Would this be a viable option?

Share this post


Link to post

Ok I figured out it was @eddie-ui.

I opened the file:
 

/etc/xdg/lxsession/LXDE-pi/autostart
And added the line at the bottom:
@eddie.ui
Then I enabled the settings to autostart and connect the client.  Not sure why this option isn't mentioned anywhere else.

Share this post


Link to post

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

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