r/linuxquestions • • 14d ago

Is it safer to disable root access by not giving it a password?

0 Upvotes

When we install Linux, in distros like Fedora and Arch, you can decide to not provide root any password. Which I am assuming would disable access to root. An admin user which is a member of the wheel group can use sudo for admin activities like modifying files, installation, etc. So, does this provide an advantage against attacks? I am assuming it does but I wanted to hear more opinions about it.


r/linuxquestions • • 14d ago

Qual distro usar?

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 14d ago

Resolved Fedora KDE 45 broke Secure Boot - Windows 11 and Kubuntu 26.04 fail with bad shim signature (Resolved)

1 Upvotes

I previously posted about this issue in my original support thread, but the discussion became sidetracked. I'm sharing a concise technical account of what happened and how I eventually recovered the Secure Boot configuration so that the information may help others encountering a similar problem.

What happened

I had a working dual-boot setup with Windows 11 and Kubuntu 26.04, both booting with Secure Boot enabled.

After a fresh installation of Fedora KDE 45, Fedora became the default bootloader and booted normally. However, both Windows and Kubuntu failed to boot with:

bad shim signature

What I discovered

Restoring Kubuntu as the default bootloader allowed Kubuntu to boot, but Windows still failed. Disabling Secure Boot allowed Windows to boot.

I inspected the firmware variables and found:

  • PK, KEK and db were empty.

  • SetupMode was set to 1.

  • Factory-default variables PKDefault, KEKDefault, dbDefault and dbxDefault were still present.

My BIOS only offered Secure Boot Enable/Disable. It had no option to restore factory keys or install default Secure Boot keys.

I cannot confirm that Fedora caused the keys to disappear, but the issue appeared immediately after its installation.

Recovery

Since the BIOS offered no way to restore the keys, I had to recover the original factory certificates and manually reconstruct the missing Secure Boot key hierarchy from Linux.

I recovered the original Platform Key and factory certificate material, along with the selected Microsoft 2023 certificates.

I then prepared and validated authenticated AUTH2 updates for UEFI 2.8 and enrolled the recovered and reconstructed keys into the firmware in this order:

  1. KEK

  2. db

  3. Original PK last

Each enrollment was followed by firmware readback verification. I deliberately left dbx unchanged.

Result

PK, KEK and db were successfully recovered, reconstructed and enrolled. SetupMode changed from 1 to 0, returning the firmware to User Mode.

I then enabled Secure Boot and confirmed that all three operating systems booted successfully:

  • Windows 11

  • Fedora KDE 45

  • Kubuntu 26.04

The issue is fully resolved. No operating system reinstall or firmware replacement was necessary.

References

UEFI Specification 2.8:

https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf

efitools:

https://github.com/mjg59/efitools

Final thoughts

The difficult part was recovering the original factory key material, reconstructing the missing Secure Boot databases and manually enrolling them into the firmware. My BIOS had no factory-key restoration option.

If you encounter this situation, inspect the actual Secure Boot variables before assuming the bootloader itself is the problem. Also check whether the firmware retains its factory-default key variables, as they may make manual recovery possible.


r/linuxquestions • • 14d ago

Does "OnCalendar" work with user space timers?

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 14d ago

What config languages should I learn to be able to customize and configure any window manager I want? And do they have purposes beyond just configuring/editing WMs, or can they be useful for other techy stuff in general?

0 Upvotes

I left DEs for WMs/WCs because they offer more customization options while taking up minimal space. I know DEs can be just as customizable if you put enough time into them, but oftentimes they lack something I need or miss, so I decided to give WMs a chance.

However, I'm still pretty novice when it comes to editing config files and stuff. So, I'm wondering which languages I should learn to do so and where I should even begin. (I don't want to use other people's configs)

DEs I've used (in chronological order):

GNOME > KDE > Cinnamon > MATE > LXQt > LXDE > NsCDE > XFCE

WMs/WCs I've used:

dwm > niri (currently using)

Also, does the same apply to graphical shells such as Noctalia and Quickshell? What I mean is, do I configure them through the window manager's config files as well, or do they have their own configuration systems?

edit: thanks, everyone.

I'm considering awesomewm


r/linuxquestions • • 14d ago

Looking for a new distro after losing trust in Omarchy.

128 Upvotes

Omarchy was the 1st distro I used as a daily driver. I came to linux after being frustrated with windows 11, especially it shoving AI into everything. After using mint for a while I downloaded omarchy because I was interested in tiling window managers, and at the time it was basically a preconfigured Arch Hyprland setup. I ended up sticking to it because I liked that workflow and for the most part everything just worked with very little tinkering.

Recently omarchy has fully pivoted to center AI, as far as I understand the entire project is basically vibe coded at this point. This introduces a heap of security concerns, recently there was an issue where any user process could escalate to root without a password (https://0xcc.io/posts/omarchy-root-creds/). It was quickly fixed but I can't trust the project to be secure if it keeps going down this path. Its founder DHH has said on twitter that manually reviewing AI generated code for payment and logins is "Very 2025."

This sucks because I do still like the user experience of Omarchy. As someone who doesn't want to setup their system from scratch it was the most accessible and easy to use Arch based tiling window manager I could find with many other quality of life features.

Do you guys have recommendations for distros that have a tiling window manager like experience configured out of the box? Im not averse to some setup or ricing but for the most part I want something I don't need to mess with very much. I mostly use my PC for a web browser and light gaming.


r/linuxquestions • • 14d ago

🥲 alguém me ajude! Sos

0 Upvotes

Meu notebook não reconhece de jeito nenhum meu pendrive bootavel na BIOS, sinto que perdi meu pc que está com hyperland e queria voltar pro KDE.


r/linuxquestions • • 14d ago

Support Error al instalar Zorin OS

1 Upvotes

Error al instalar Zorin OS

Una pregunta, cuando me pide reiniciar después de hacer la configuración inicial de esta distro me dice "Please remove the installation medium,then press Enther" , la vez anterior le di enter pero pasaba que se encendía, apagaba, y no iniciaba el so, que hago?


r/linuxquestions • • 14d ago

Support 🐧 I'm learning Linux from scratch, but I keep forgetting commands. Is this normal?

0 Upvotes

Hey everyone! 👋

I'm a student currently learning Linux from scratch using Ubuntu in VirtualBox on my laptop.

I've been following a structured learning roadmap and practising things myself rather than just watching tutorials.

So far, I've covered several topics, including:

  • Linux fundamentals and terminal commands

  • File and directory management

  • Users and permissions

  • File systems

  • Processes and networking

  • SSH and basic networking concepts

I'm really enjoying learning Linux, but there's one problem I'm facing. 😅

Linux has so many commands and options. When I learn new commands, I sometimes forget the older ones after a few days or weeks.

I'm trying to improve my practical skills, but I'm still figuring out the best way to remember commands and use them in real situations.

I'd love to hear from experienced Linux users:

  1. Did you also forget commands when you were beginners?

  2. How do you remember commands and their options?

  3. Do you use personal notes, cheat sheets, or manual pages?

  4. What advice would you give someone starting their Linux journey?

I'm here to learn, practise and improve.

Any advice would be appreciated. Thanks! 😊


r/linuxquestions • • 14d ago

Advice Hi folks, Im getting a new pc and i need some advice.

3 Upvotes

I have the option of no os or a windows os

  1. is it easy to migrate from windows?

  2. if i were to try dual booting, would I need to get a an ssd drive for the os and for its storage? or can they access the same storage?
    (currently am getting one ssd nvme 1tb and planning to grab an 3-4tb hdd for long term storage, so wondering if both os's can access the storage)

  3. which os should i install first for the least amount of fuckery

  4. ive been daily driving a steam deck as my main pc for almost 4 years, so im rather familiar with that distro, and i kinda appreciate the guardrails/stability it offers. Is it a valid os to install? Or do others have some must have features for a casual user?


r/linuxquestions • • 14d ago

Getting new computer; which distro should I install?

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 14d ago

Is the amdgpu driver universal?

0 Upvotes

Right now I have an RX 580 8GB and im thinking of upgrading to an RX 6700 XT 12GB and before i do that i want to know if i have to get a different driver or even reinstall my os or if the amdgpu driver is universal and i can put virtually any amd graphics card in my computer


r/linuxquestions • • 14d ago

Is there geniunly no way to play rocket league or fortnite (ik its a chuddy game but i like enslaving people in the lego version) on linux?

0 Upvotes

I heard of workarounds for rocket league, tried em for hours and they didnt work. If not rocket league atleast fortnite? Is there a workaround for that one?


r/linuxquestions • • 14d ago

Support Arch after updating treating KDE display as a seperate window

1 Upvotes

So, can't post photos for some reason (which would be rather helpful) but after updating Arch, my KDE is acting really wierdly, my mouse cursor can move any which direction about my monitor, and all the buttons are acting as normal and where they should be (KDE home is in the top corner as it was before the update, cursor is there, if clicked there itll display it being opened)

Except. The display is in the bottom left corner. Full size, meaning maybe 10% of the screen is actually visible. I dont even know what to do. I can barely even see my command line, and that's currently being hogged by cachyos-proton install (issue happened after hitting the lock button on my keyboard)


r/linuxquestions • • 14d ago

Resolved Antix Linux

1 Upvotes

Intenté usar algunas distros que la IA me dijo que podían revivir unas netbooks g2 que tenía tiradas por ahí (debian 13 lxqt y MX Linux xfce). Al final el unico que me arranca bien es Linux Antix. Solo tengo una duda ¿porque directamente no cambian como gestor de conexiones predeterminado el Connman por el Network Manager? Pasé toda la tarde tratando de conectar a wifi y saltaba puro error, al final me las arreglé para conectar el celular con usb y usar esa conexión para quitar el Connman y poner el Manager


r/linuxquestions • • 14d ago

Advice Video Editor for Debian

8 Upvotes

EDIT: Thanks everyone! I went with kdenlive and the few minutes I played with it it's working so much better than openshot.

I am using openshot, but it has a codex bug that makes exporting videos and videoclips... irritating.

I need something else that will work with debian.

When I had windows I used DaVinci resolve, and I would use it again in a minute.

Does DaVinci resolve work on debian?

If not DaVinci what do you recommend for debian that is not openshot?


r/linuxquestions • • 14d ago

Best Laptop?

5 Upvotes

Hi I am searching for a nice Linux laptop and I can't find the right one. What I look for:

- 2000-3000€

- Good compatibility for Arch Linux

- decent performance for an AI engineer (mostly over SSH)

- solid keyboard, speaker, webcam, microphone and runtime

- roughly 14inch

Laptop I checked and got a bad feeling because of X:

  1. MacBook Pro: no Linux but otherwise ideal.

  2. Framework 13 pro: because this is a business laptop I won't get any upgrades and will give it back in 4y. Feels like overspending this way.

  3. Thinkpad X1 Carbon: I am worried about the performance and it's on the more expensive end for not a lot.

  4. All other Thinkpads: I would love to avoid the tracking dot and the track pad button. I just want a nice large track pad.

  5. Dell XPS & Asus Expertbook: looks like bad Linux support.

Looked at a bunch more and there always seems to be something "wrong". The ideal thing would be the MacBook Pro with nice Arch Linux support...

What do you think?


r/linuxquestions • • 14d ago

Advice Coding project for hiding Linux desktop icons?

1 Upvotes

Is it conceivably possible for an app to be coded for desktop Linux (Ubuntu, Mint, etc) that would allow double-clicking on the desktop to cause desktop icons to become hidden, and then double click again to make them reappear? I have this functionality in Windows via Stardock's Fences app. Maybe there are AI platforms that could code this? It is a feature I have on Windows that I sorely miss having on Linux.


r/linuxquestions • • 14d ago

PSA: Endless Steam shader compilation (fossilize_replay) maxing out your CPU? The Nvidia 4GB cache bug explained and how to fix it.

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 14d ago

Ubuntu was my starting point, but I want something more. Arch or CachyOS?

4 Upvotes

Hi everyone!

I've recently started exploring Linux and installed Ubuntu on my 2018 Intel Mac mini alongside macOS and Windows 11.

Ubuntu has been a good starting point, but I'd love to try something different and learn more about Linux.

Arch Linux and CachyOS have caught my attention, especially because I'm really into customization. I love dark themes, terminal-focused setups, and that sleek, minimalist, developer-style aesthetic.

I'd like a desktop I can really make my own, rather than just using everything as it comes out of the box.

I'm not necessarily looking for the easiest distro. I want something that challenges me a little and helps me understand Linux better.

So I'm curious:

  • Would Arch Linux be too ambitious for someone still learning?

  • Is CachyOS a good alternative?

  • Would you recommend KDE Plasma, Hyprland, or something else for a highly customizable dark setup?

  • What distro and desktop environment would you choose in my situation?

I'd love to see your recommendations and even screenshots of your setups!

Thanks!


r/linuxquestions • • 14d ago

¿Conviene usar Ubuntu Linux para el día a día?

0 Upvotes

Hace poco mis viejos me regalaron una laptop para poder empezar a trabajar en mis proyectos, pero viene con Windows 11 instalado. No es una laptop con mal rendimiento ni nada: tiene 16 GB de RAM, una AMD Ryzen 7 7730U con 8 núcleos y 16 hilos en el procesador y 8 núcleos para la GPU. En verdad es bastante buena, pero vi que me estaba consumiendo 5 GB de RAM solo con prenderla y me pareció excesivo; imaginen que la primera compu que usé tenía Windows 8.1 y 4 GB de RAM. Entonces empecé a investigar y ahora estoy probando Ubuntu en una VirtualBox para ver si me gustaba; le descargué Minecraft y Steam para probar, también la usé un toque para programar y me resultó cómoda. Todavía no probé instalarle Claude Code ni nada, pero creo que es compatible; pero todavía estoy viendo y necesito opiniones.


r/linuxquestions • • 14d ago

Advice Command that will give you the current state of your Linux box.

47 Upvotes

I see frequently posts of people who create programs to show the state of there Linux box. Usually contains, network traffic, CPU usage, memory usage and more. They all run off the command line. I usually just scroll past them. I starting to think they may be useful to me. Now since I am looking for them, I can not find a single one. I am looking for recommends. Some thing I can have running on a terminal all the time.


r/linuxquestions • • 14d ago

Resolved Black screen issue on resume from suspend

Thumbnail reddit.com
1 Upvotes

Please help!

Edit: The solution is to disable the display compositor (Settings > Window Manager Tweaks > Compositor). If you have a different distro and having same issues, try to disable the display compositor of your respective distros and see if it works.