Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use less memory for all qubes #114

Open
ben-grande opened this issue Feb 14, 2025 · 1 comment
Open

Use less memory for all qubes #114

ben-grande opened this issue Feb 14, 2025 · 1 comment
Labels
T: enhancement New feature or request

Comments

@ben-grande
Copy link
Owner

ben-grande commented Feb 14, 2025

Current problem (if any)

Many OSes are running a lot of services that aren't required for each qube.

Proposed solution

Use services supported by upstream such as minimal-netvm and minimal-usbvm that selectively disable services.

See:

Check which qubes needs the gui feature enabled:

  • Most service qubes don't as they don't open any graphical application.
  • Any template that doesn't install graphical applications also don't need it, would make Qubes Update with more concurrent qubes possible on resource constrained systems.

Enumerating the service qubes that need gui:

  • sys-net: needs NetworkManager.
  • sys-pgp: needs to accept zenity dialog when autoaccept ends.
  • sys-audio: pavucontrol, volumeicon
  • sys-print: system-config-printer
  • Any qube using tpl-browser such as sys-pihole-browser, sys-cacher-browser and sys-syncthing-browser
  • Any sys-gui variant

Non service formulas that need gui:

  • Qubes templates: debian*, fedora* etc, should we touch those? Qusal policy so far is not to touch besides updating them and lowering memory and removing gui might break expectations.
  • browser: obvious
  • dev: cause coding in a terminal is better than management console
  • electrum: obvious, but the disposable builders don't need it
  • element: obvious
  • fetcher: only if using transmission-qt
  • mail: just the reader
  • media: obvious
  • qubes-builder: doesn't need it, but will follow the same resolution as dev
  • reader: obvious
  • remmina: obvious
  • signal: obvious
  • sys-bitcoin: only itself and the gateway but not the builder qubes
  • vault: KeepassXC, but if using only the cli such as with pass (not implemented), can be removed, maybe something that can be set by pillar for some qubes.

Downside is obvious, I can see people having trouble in the beginning as some qubes will open a terminal while others will require using a different command to open the management console. There is no GUI entry in app-menu or qui-domain entry to open the console, only on Qubes Manager. There is also no av

Upstream issue for disabling gui:

The value to a user, and who that user might be

Running more qubes on resource constrained machines.

@ben-grande ben-grande added the T: enhancement New feature or request label Feb 14, 2025
@Atrate
Copy link

Atrate commented Feb 20, 2025

Check which qubes needs the gui feature enabled:

As for a sys qube that will probably need gui, I'd add sys-audio, for pasystray and sometimes pavucontrol.

@ben-grande ben-grande changed the title Use less memory for service qubes Use less memory for all qubes Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants