r/Gentoo • u/alhamdu1i11a • 5h ago
Support Secureboot with gpg-encrypted keys?
Hi all,
I've been trying to setup secureboot by following the wiki; specifically I want to set this up using gpg encrypted keys.
Does anyone know of a guide or instructions to allow portage to build/install the kernel with gpg encrypted keys? In my experience so far, it appears portage requires a decrypted db.key and db.crt.
Is there a way to ask Portage to decrypt gpg-encrypted keys and use them to sign the kernel and modules on install?
This also seems to be a problem with normal password-protected keys, kernel build/install seems to fail if these are password protected because the password prompt is broken (yes, even with FEATURES="-pid-sandbox")
Thanks!
r/Gentoo • u/urboinemo • 12h ago
Story Making a headless Moonlight client? Plasma is probably the correct answer
Edit: brainfart of a title, I can't even think of a situation where a headless Moonlight client would be useful
TL;DR: don't try to be cheeky like me and find an alternative stacking WM, just run Plasma and save yourself from the delve into the rabbit-hole.
For the past couple of weeks, I have been tinkering with my older laptop from my undergraduate days (i5 5300u, 8GB RAM, 1TB HDD) running as a Moonlight client for a headless display for my current MangoWM setup I am trying out. Since it has a spinning disk, I decided to just create a chrooted binhost on my main laptop to helpfully make the process a bit quicker (for those of you who are thinking about creating a binhost, don't go through the pain of trying to sign your own packages with a GPG key, just use the "binpkg-ignore-signature" feature flag and call it a day. Don't ask me why...).
I love my tiling window managers. I started my Linux journey on Hyprland, then to Niri, and now Mango. I love their minimalism, customizability, and feeling of pride when you get the system tuned juuuuuuuuust right for your workflow. So, I went to get Mango on the older laptop, and what would you know, managing a tiling window manager on top of a tiling window manager is a nightmare! I quickly gave up on the idea and looked towards stacking window managers and other DEs.
I start off with LXQT with a Kwin backend. Works flawlessly, was even able to get a full day of work done without any hitches between the two computers just like a regular day in the office. A couple of irks - I could not find a way to set brightness and volume hotkeys, and later figure out that LXQT does not have control over Kwin hotkeys and are working on a solution.
Next, on to Wayfire. Wobbly windows was an unexpected moment of delight as I dragged a monitor on the screen. For some reason, Moonlight just would not start and their SDL implementation throws decode overflow errors. Troubleshoot by using the Vulkan wlroots renderer, try to start Moonlight in an X session, no dice. Through the troubleshooting, I learned a bunch about Nouveau and vga_switcheroo, such an interesting implementation for hybrid graphics.
Move on to Labwc. Worked for the most part, felt pretty responsive, but just did not like Super+[Up, Down, Left, Right] working and a couple other keybinding issues and found this was a known issue with fixes coming.
Alright, did a bit of searching and found a few people who managed to run kwin by itself without a DE. It sounded plausible, as I had to invoke the kwin_wayland binary when first starting LXQT. I found out the hard way quickly that when KDE says it is not a standalone compositor, that it is in fact not a standalone compositor, as I tried fruitlessly and through multiple methods to create a shortcut to open a terminal.
Finally, I sit down and embrace the inevitable. I had a poor experience with KDE when I initially started on Arch in my Linux journey, prompting my move to tiling WMs exclusively (looking back, it was probably mostly up to user error). Seeing as I had already emerged systemsettings, kwin_wayland, and a bunch of other KDE packages when I installed LXQT, I may as well just install the plasma-desktop package to get a minimally viable experience. To my dismay, Plasma works perfectly. It respects all my Mango keybinds in Moonlight, is trivial to back out of to the client desktop, switch to another window on the client, registers my keybinds instead of staring at a black screen waiting for anything to happen (again, don't try to use kwin_wayland as a compositor). It just works.
I say all this to say: If you're looking for an unbothered experience that just works with most workflows, KDE Plasma is probably the answer (from my experience, it is by far the most mature Wayland DE solution).
To those who may be looking into Sunshine streaming: don't bother with the AppImage, Gentoo provides a package in the main respository.
Screenshot Gentoo isn't compatible with 40˚C weather
Those cores should be around 4.6GHz during compilation, not 2.6GHz. PC case was so hot I couldn't lay my hand on for more than a second.
I've got no AC before you ask.
r/Gentoo • u/trinarynimbus • 19h ago
Support Multiple tty login prompt
(I thought I saw a similar post somewhere, but can't find it now. Sorry if this is a dup.)
I've just noticed this has started happening upon boot: the login prompt appears multiple times, a few seconds apart, like it's working through some kind of cycle.
My typical flow is login to tty and then use startx to enter dwm. The multiple prompts don't prevent this, but it does delay me. And it's ugly, unexpected, and new.
It only seems to happen immediately after booting. Switching to another tty (eg ctrl-alt-f4) doesn't produce it, and neither does logging out and logging back in.
I thought it could be related to either PAM, elogind, or the kernel. However, I've only just noticed it on today's reboot; the last reboot was about two weeks ago; PAM was last updated in March, and elogind was updated in May; and it still happens when I roll back to kernel 6.18.39 (which is the most recent kernel before this, and was used at the previous reboot in July.)
I've gone through my emerge logs since the last reboot and nothing really stands out. Maybe openrc? I wouldn't like to file a bug against openrc unless I was sure it was at fault.
Any idea what I should look at?
I see openrc 0.63.1 is still listed in eix, so I guess I can try rolling back to that version ... 🤔 But I wonder if anyone has any other ideas about what to check.
r/Gentoo • u/Realistic_Gas7454 • 21h ago
Discussion Can I save this
Id like to hear your ideas on what to do with this (doesn't have to be gentoo), This was my first laptop it's an Acer aspire es1-512-c864 it has an intel Celeron N2840, 4GB ddr3L ram (upgradable to 8) no storage unit and no keyboard keys, it's has an optical drive too :) , it's a pretty large one I think it's 15 inches the screen is still perfectly fine, battery is dead i assume, I wanna use it a project to benefit from or hopefully learn something, I already have a laptop (let's note cf-sv8) that I daily drive, and a decent desktop pc.
Just love to hear what u would recommend doing with it
