Safe to install RPMs? No flatpak for mullvad VPN

I'm new to fedora atomic desktop in general. Is it generally safe to install RPMs in this thing? I guess is the question. Do I have to restart every time it does? For example I installed 1Password RPM but then had to uninstall then it asked me to reboot... not sure if that's normal in general
76 Replies
HikariKnight
HikariKnightβ€’8mo ago
installing rpms through rpm-ostree is always a last resort for things that will not work in distrobox and is not available as a flatpak VPNs are such programs. and yes you need to reboot in most cases when installing through rpm-ostree. it has the option to apply live, but in many cases it will not work and you need to reboot from what i remember.
Prinny
PrinnyOPβ€’8mo ago
@HikariKnight how do you get around it all then? like even htop took forever to install as it did a new hash id entry with rpm-ostree do I have to do a custom image with the applications I want in my bazzite installation?
HikariKnight
HikariKnightβ€’8mo ago
if you want to avoid layering then yes you need to make a custom image
Prinny
PrinnyOPβ€’8mo ago
and the updates it would receive? do I have to rebuild the image every time and rebase?
HikariKnight
HikariKnightβ€’8mo ago
automatic its all automatic through github bazzite releases update github actions on a timer grabs newest bazzite and puts in your changes and builds the custom image you download newest custom image
Prinny
PrinnyOPβ€’8mo ago
ok I'm just scratching my head... is there an issue when packages are installed in /opt? the installer kept moving them to /usr/lib/opt/APPNAME (installer as in rpm-ostree install)
ogglord
ogglordβ€’8mo ago
Hey @Prinny I'm playing around with a simple custom image, based on bazzite https://github.com/Ogglord/bazzite-ogglord it's quite easy and fun, my daily driver it all starts with the Containerfile - and the github action compiles it, and uploads it to ghcr.io
Prinny
PrinnyOPβ€’8mo ago
yea I saw the containerfile I was just hoping to keep things a bit more ... simple I guess 😦 but I imagine it pushes, then I just rebase to that with whatever atomic desktop I'm using is the gist ?
ogglord
ogglordβ€’8mo ago
yes, precisely rpm-ostree rebase ostree-unverified-registry:ghcr.io/somethingsomething you can always undo, and the last one is still an option in grub
Prinny
PrinnyOPβ€’8mo ago
thanks, I think I absolutely love where this rpm-ostree is heading but it man forking and doing my own thing wasn't in my "welp, just want an stable distro without the hassle of scripting" haha
ogglord
ogglordβ€’8mo ago
gotcha πŸ™‚
Prinny
PrinnyOPβ€’8mo ago
i do hope that eventually they could like create units you can just select/drag into these things and it's all a 'choose your packages' for non-containerized things
ogglord
ogglordβ€’8mo ago
once you have it, its hella stable
Prinny
PrinnyOPβ€’8mo ago
oh absolutely no doubt okay, my frustration (not related to this) is gone so my mind is clear. what steps did you follow ?... Ill probably just fork what you have lol. the other is how does anyone inspect that artifacts (layers) generated without really rebasing can we just mount the image or something?
ogglord
ogglordβ€’8mo ago
haha cool! I followed this guide, my repo is based on this template https://github.com/ublue-os/image-template I'm sure you can mount/boot any layer, as its a generic OCI containers. But what I've done (I have just done this for two weeks lol) is to look at the github repos, it's quite easy to track once you get the gist of it
Prinny
PrinnyOPβ€’8mo ago
do you have a schedule for it or?.. (when it comes to like grabbing updates/etc I'm still wrapping my head on how receiving updates works)
ogglord
ogglordβ€’8mo ago
in that template repo, there is a github action
Prinny
PrinnyOPβ€’8mo ago
ah ok I just... thought it didn't include the batteries (scheduler)
ogglord
ogglordβ€’8mo ago
github grabs the upstream bazzite:testing each day, and rebuilds my image. And it also rebuilds it on each commit automatically on my desktop there's the automatic update or ujust update
Prinny
PrinnyOPβ€’8mo ago
noice, I'm more used to gitlab so sorry haha but nice to know
ogglord
ogglordβ€’8mo ago
I'm just baffled that im getting this compute and storage for free (so far..) from github
Prinny
PrinnyOPβ€’8mo ago
well, microsoft has that infinite money glitch going for them πŸ˜‚
ogglord
ogglordβ€’8mo ago
lol yea I guess
Prinny
PrinnyOPβ€’8mo ago
so basically you rebase then after that it's ujust update from there on if so that sounds pretty good to me
ogglord
ogglordβ€’8mo ago
yea
Prinny
PrinnyOPβ€’8mo ago
I guess I just hope that the RPMs I install are actually properly installed what kept happening is that i installed mullvad vpn but it installed it in the wrong place so everything broke (installed it in /usr/lib instead of placing it in /opt) but hopefully committing the layer fixes all that in the building stage
ogglord
ogglordβ€’8mo ago
add the yum repo, then in my repo, I would try to add it to apps.yml but under optfix: - mullvad-vpn look what the scripts/rpm-ostree.sh does for those apps correction: mullvad-vpn goes under install: and each directory that should be linked goes under optfix
Prinny
PrinnyOPβ€’8mo ago
yeap sounds good, thanks for the help and insights πŸ‘
ogglord
ogglordβ€’8mo ago
so you gotta know where mullvad-vpn is installed, and for each list them like /opt/[path-to-optfix] I guess, I have not tried this but it should work lol
Prinny
PrinnyOPβ€’8mo ago
does your 1password communicates with your browser now? noticed you had that in πŸ€”
ogglord
ogglordβ€’8mo ago
yes it works flawlessly you can also install mullvad-vpn in a distrobox distrobox enter [install classic fedora style] distrobox-export --app mullvad-vpn
Prinny
PrinnyOPβ€’8mo ago
interesting... also if I want to recompile a package I imagine distrobox I can do multi stage like docker and get the artifacts ? no worries if you don't know I can always ask in the dev channels to see how they go about it I think I have way more than enough information to fix all my issues and have a proper(custom) setup rolling
ogglord
ogglordβ€’8mo ago
great. glhf!
Marcus Lee
Marcus Leeβ€’8mo ago
I wonder if I can do this as well but with Windscribe
Prinny
PrinnyOPβ€’8mo ago
thanks to @ogglord I've been able to adapt it to my liking to be honest. that's the image I just built without rebasing (i'm using ubuntu lts right now).
No description
Prinny
PrinnyOPβ€’8mo ago
but to answer your question yea I don't really see why not I'll probably put out a script if necessary
Prinny
PrinnyOPβ€’8mo ago
https://github.com/thndgonz/bazzite-custom-rebazze (ill rebase the git later but need to do further testing)
GitHub
GitHub - thndgonz/bazzite-custom-rebazze: Personal image based on b...
Personal image based on bazzite-stable. Do not use unless you know what you are doing. - thndgonz/bazzite-custom-rebazze
Marcus Lee
Marcus Leeβ€’8mo ago
Hmm, these stuff is still a bit confusing to me The problem I have with Windscribe currently is that they don't have a repo
ogglord
ogglordβ€’8mo ago
you could curl the rpm in a bash script https://windscribe.com/install/desktop/linux_rpm_x64 seems to give the "latest" and install the rpm file using rpm-ostree
Marcus Lee
Marcus Leeβ€’8mo ago
Oh I thought the images explicitly needs a repo to work, neat
Prinny
PrinnyOPβ€’8mo ago
it will not persist because it installs the app in the /opt so when you restart all you have is the binaries in the /usr/bin but everything else is gone
Marcus Lee
Marcus Leeβ€’8mo ago
Yeah, I've read something about optfix
Prinny
PrinnyOPβ€’8mo ago
I did a layer for mullvad vpn but you are better off asking in #πŸͺcustom-image-support as they might all have different opinions on how to package it but yea once you get the optfix in you are golden πŸ™‚
Marcus Lee
Marcus Leeβ€’8mo ago
Alright
Metakw
Metakwβ€’8mo ago
ty
Marcus Lee
Marcus Leeβ€’8mo ago
My custom image builds! Problem is uh, I rebased to it but I didn't realize that I was using the KDE image instead of GNOME after I had already booted I did read that rebasing to a different DE is not recommended, what happens now?
Prinny
PrinnyOPβ€’8mo ago
ask in #πŸͺcustom-image-support @Marcus Lee sadly can't help you there, in theory you can just boot to an old entry.
ogglord
ogglordβ€’8mo ago
just try it as far as I know, the major issue is that KDE and Gnome like to step on eachothers configs
Prinny
PrinnyOPβ€’8mo ago
i basically just started bazzite a few days ago and achieved plenty if I'd say so myself but don't have the knowledge of those sort of oopsies haha
ogglord
ogglordβ€’8mo ago
the stuff in you ~home folder if you have a backup, or if you don't care about your ~/.config especially then I would simply go for it
Marcus Lee
Marcus Leeβ€’8mo ago
I see
Peaches
Peachesβ€’3w ago
Hi. So has anyone figured out how to get the mullvad vpn working in boxbuddy? The app starts for me but does not connect to the service. That is where I am stuck.
HikariKnight
HikariKnightβ€’3w ago
vpns require you to layer them, or use the openvpn or wireguard configs they offer
Peaches
Peachesβ€’3w ago
So should I get the openvpn setup in bazite?
Chris
Chrisβ€’3w ago
If it satisfies your needs (separate configs for every country) then that's better than layering
Peaches
Peachesβ€’3w ago
Guess I gotta learn how to do that
HikariKnight
HikariKnightβ€’3w ago
if you dont figure out how to import the file, you can just layer their rpm with rpm-ostree install /path/to/rpmfile and it will just work after a reboot
Peaches
Peachesβ€’3w ago
Isn't a that the last resort? Won't that screw up down the road?
HikariKnight
HikariKnightβ€’3w ago
VPN clients require it which is where the last resort comes in some software require host system access to function majority of stuff will work through flatpak or distrobox though, but we know VPNs do not (unless they offer a flatpak like protonvpn does) just dont try to install everything with rpm-ostree you dont need your text editor and development libraries and such layered πŸ˜„
dnkmmr
dnkmmrβ€’3w ago
htop can be installed via brew
Peaches
Peachesβ€’3w ago
Yeah I figured that
dnkmmr
dnkmmrβ€’3w ago
The link isn't working
HikariKnight
HikariKnightβ€’3w ago
youre replying to ancient messages
Peaches
Peachesβ€’3w ago
I'm still enjoying it. Just one last quick question. With the desktop version I have, how do I access the decky loader in gaming mode. Just wanna play around with settings. I know this isn't the support for that but I'm lazy ATM.
dnkmmr
dnkmmrβ€’3w ago
I didn't realize how old it was
HikariKnight
HikariKnightβ€’3w ago
i never used decky on the desktop. but to open the right side menu in big picture mode (and gamemode) you press CTRL+2 or GUIDE+A on the controller (GUIDE being the "steam" button) done the same mistake myself πŸ˜„
Peaches
Peachesβ€’3w ago
Sweet. I'll mess with that tomorrow. Thanks for the help.
ogglord
ogglordβ€’3w ago
there are prob better examples rn, but heres my current image https://github.com/Ogglord/birdie
GitHub
GitHub - Ogglord/birdie: Bazzite with wings, a custom spin of Fedor...
Bazzite with wings, a custom spin of Fedora Silverblue - Ogglord/birdie
Peaches
Peachesβ€’3w ago
So I installed mullvadvpn just fine but idk what setting for openvpn I need to enable in order for the service to connect. But also I browse the opt folder and it says it is not writable. Does that have anything to do with it?
Chris
Chrisβ€’3w ago
If you layered mullvad, then just use the app, there is no need to configure openvpn at this point
Peaches
Peachesβ€’3w ago
I reinstalled it using rpm-ostree command and tried cleaning out all of mullvad from box buddy. Same results here, so idk if it is just the app being dumb or if I am missing something.
No description
dnkmmr
dnkmmrβ€’3w ago
Imagine if distrobox supports vpns
Peaches
Peachesβ€’3w ago
Lmao yep
waw
wawβ€’2w ago
πŸ’€ i use mullvad and remember this u have to do sudo systemctl enable --now mullvad-daemon (assuming u layered it) also mullvad has tailscale integration but its super insecure so dont use it
Peaches
Peachesβ€’2w ago
Gig mcthankies, it worked. Have not used tailscale though.
Want results from more Discord servers?
Add your server