Twingate setup using Distrobox
Following up here from my Youtube comment on @mikes-tech-tips on his video on using Distrobox / Box Buddy to install and use Twingate... I use it for accessing my home file server, PS5 remote play, Moonlight, etc.
I've set up a distrobox Ubuntu 22.04 and installed systemctl and twingate, but it gives the following error:
OSError: [Errno 30] Read-only file system: '/var/log/journal/twingate.service.log'
mikes-tech-tips says he managed to get it working, but I'm curious how he did it, or if there's anything specific I need to do to accomplish that.
6 Replies
Hey π that was a while back. Let me see if I can get it up and running again
Struggling to figure it out again. Will try again tomorrow.
Much appreciated, here's kinda where I'm at.
Still not working but the service is installed.
Run this in your host system the '--init --additional-packages "systemd libpam-systemd"' part is important
Inside the distrobox, run this (in the linux twingate docs for setting up a linux client)
These were the setup options I picked
However, the process is immediately exiting if I check
But I immediately get this error
Process: 8791 ExecStart=/usr/sbin/twingated /etc/twingate/config.json (code=exited, status=1/FAILURE)
Approach 2
Layered Twingate in the atomic image by adapting the Fedora instructions
Put this into the content of the file, this will allow you to add twingate to your Atomic image
Now layer twingate into your Bazzite installation note that this runs for a very long time
Reboot (important step, since you are layering twingate)
Now when I type the following it gives me a browser url to paste in my browser
And now it's working. This probably isn't the solution that you were looking for but this works for Atomic desktops. I can try a bit more with the Distrobox approach a bit later
OMG, thank you! actually I figured the second approach would be the right one but I was getting some weird problems with ostree ("already requested") but i've got a fresh-er install now so I'll give that a go. Really appreciate you taking the time to help me on this! π
You are welcome
However, have you tried tailscale? It's very easy to use and preinstalled
Yes, I have and that worked for using Moonlight while I'm out and about, but PS5 Remote play using Chiaki4Deck couldn't reach my PS5. Tried openVPN on my router and Tailscale using my PC as an exit node, but it just didn't come together quite right. Some such configuration always left me unable to access the internet.
I may try Tailscale again, since there's Decky plugins for it.