moonpiedumplings

joined 2 years ago

The screen uses the most power out of any other piece if thr system, for daily use (on laptops which supported driversets for the OS)

Just turn the brightness down, and that will save you more battery life than tinkering with anything, unless you know a specific piece of the system (nvidia gpu) is killing your battery life.

You can just run it from your local computer. I did that because I wanted it to be available offline.

Zram (compression), uksmd (deduplication) and swap.

For a different project, but in my blog I document how to set those up: https://moonpiedumplings.github.io/projects/setting-up-kasm/

[–] moonpiedumplings@programming.dev 3 points 2 years ago (1 children)

Somewhat related, there is a site I follow called royalroad. Royalroad is a site for web serials, which are basically books uploaded to the internet chapter by chapter.

Although royalroad used to be only google ads, at some point they started accepting user submitted ads. (Also, ads on that site have always been unobtrusive).

I like these ads much better because they are more privacy respecting (literally an a image and a link).

Also, they are really funny. User's with no art skills will make memes, or doodle stick figures, and I clicked on that one anyways, and the story was soooo good.

If you have multiple firefox profiles, then you have to create an sync account for each one if you want to sync. Not a good idea if you have 5 profiles, some of them using a main email (like a corp or school) that won't be around forever.

Being able to sync multiple profiles with only one account is convenient for me.

You want webtop: https://docs.linuxserver.io/images/docker-webtop

But just like with kasm, not all software will work, although I think most will.

About kasm:

Not really. I don't thing the default kasm images come with sudo or a root password, so you cant "sudo apt" or the like.

If you do create a software image with sudo, them yes, but only for a single session, if you keep it long running. Every time you destroy the session completely it will be reset.

Although, If you need software in your images, it's better to just build your own docker images for use with kasm, that have everything you want.

Also relevant: https://wiki.archlinux.org/title/Internet_sharing

Important to note from that article: docker (the "docker" one, but not podman) edits iptables rules so you have to run different iptables commands if you want it to work right.

Well, they don't seem to be replying to this post, so I guess we will never know if they have a BIOS password or even are signing or encrypting their initrd.

I still can't figure out how to tag people from eternity (infinity for lemmy).

[–] moonpiedumplings@programming.dev 1 points 2 years ago* (last edited 2 years ago) (2 children)

No, because either the initrd is signed, built into a signed unified kerbel image, or it's encrypted like on my setup (where everything but the grubx64.efi binary is encrypted and that binary is signed).

[–] moonpiedumplings@programming.dev 3 points 2 years ago (2 children)

Can you elaborate on what you found lacking in kasm? Because afaik, kasm is one of the best solutions for this, giving you a full desktop session inside a docker container.

Damn you're right:

https://documentation.ubuntu.com/lxd/en/latest/howto/move_instances/#live-migration-containers

It can live migrate cattle type containers if you enable some options, but not pet type (systemd) containers.

[–] moonpiedumplings@programming.dev 2 points 2 years ago (2 children)

No software is capable of doing live migration/high availability for pet type containers and virtual machines except lxd.

But nspawn isn't really a management software like lxd is, it's more of a container runtime like lxc is.

Ninja edit: Did some googling and I'm technically wrong. Hashicorp's nomad supports lxc as a driver, but according to the doc it only supports host networking...

https://developer.hashicorp.com/nomad/plugins/drivers/community/lxc#networking

But nomad also supports managing nspawn containers which is interesting.

view more: ‹ prev next ›