5 ms·
Complex apps can bundle their own dependencies-- that's what the Flatpak and Snap package formats do. You can also run Firefox in a Docker or LXD container with
by markstos 7y ago
Complex apps can bundle their own dependencies-- that's what the Flatpak and Snap package formats do. You can also run Firefox in a Docker or LXD container with it's dependencies. By sharing the X11 or Wayland socket with the docker, the apps can appear on your main desktop.
- jackhalford 7y agonone of those solutions apply the BSDs though
- LeoPanthera 7y agoCan you run graphical applications inside a BSD jail?
- napsterbr 7y agoYou can with SSH and X11 forwarding. Whether that's practical is a different question and may vary according to the application and user
- toast0 7y agoYou wouldn't need to use SSH, just linking/bind mounting the X socket and xauth into the jail (plus/minus whatever shm stuff).
- beefhash 7y agoPedantic note: Jails are not a BSD concept, they're a FreeBSD concept. OpenBSD has no notion of jails.
- dddddaviddddd 7y agoYes. Here's an example for Firefox on FreeBSD: https://wiki.freebsd.org/VladimirKrstulja/Guides/JailingGUIApplications https://wiki.freebsd.org/VladimirKrstulja/Guides/JailingGUIA...
- markstos 7y agoTrue.
- fao_ 7y agoYes, and it sounds ideal but I've had a recurring problem where having snap installed on a system increases the boot time, and apps hang on load. They stop hanging when I install the native app, and use that instead.
- ric2b 7y agoIIRC that's because Snap's are stored compressed and have to be uncompressed when you first run them after boot. I think that's because Snap is also meant to be used in IOT where disk space is limited but it definitely should be optional on work machines with lots of disk space.