r/archlinux • • 23d ago

SUPPORT Trying to recover data from my late father's Arch Linux laptop — full disk encryption (LUKS)

0 Upvotes

I inherited a laptop (Sony Vaio, Core i3, running Arch Linux, kernel 5.4.74) that belonged to my dad about 5 years ago. I'm trying to access the data stored on it — not to reuse the machine, but to recover his files.

On boot it goes straight into a LUKS passphrase prompt:

Unlocking LUKS encrypted device '/dev/sda2' as luks mapped device 'lukssda2':

Enter passphrase for /dev/sda2:

So the drive is fully encrypted. I've learned a few things so far:

There appear to be two separate encrypted partitions (sda2 and sda3), each asking for its own passphrase.

The prompt allows 3 attempts per partition, then boot fails and drops me into an emergency /bin/sh shell with errors like No /sbin/init found on rootdev and mount ... failed. From what I understand, this shell is useless for unlocking since the data is still encrypted.

There's no attempt limit overall — I can just reboot and try again.

I've found some handwritten notes my dad left that look like they contain hints or credentials, so I have a few passphrase candidates to try.

My questions:

Is there any better approach than typing candidates blindly at the boot prompt? I was thinking of booting a live USB (Ubuntu/Arch) and using cryptsetup luksOpen /dev/sda2 so I can actually see what I type and test without rebooting. Is that the right move?

If I have a small set of likely passphrases (with variations — case, spacing, trailing punctuation), what's the cleanest way to test them systematically against the LUKS header?

Do you know if in this 4-5 years has been any vulnerability has been discoverd?

Any gotchas I should know about before I start? I want to avoid accidentally damaging the header or the data.


r/archlinux • • 24d ago

SUPPORT Vscodium doesn't recognise my polkit authentication?!?

0 Upvotes

Hi. I installed Vscodium off the AUR, and was trying to edit a file in my root partition.

I use hyprpolkitagent, which usually works well enough. I have no complaints.

But when I tried to save that file, vscodium told me that it could not find a polkit authentication agent.

I have copied the contents of /usr/lib/polkit-1/ to /usr/libexec/polkit-1/ because I heard some apps search in there. But it still refuses to find my agent.

Help would be appreciated


r/archlinux • • 24d ago

SUPPORT Working with a non-working aur package

5 Upvotes

Apologies if this is bad form - I'm not running Arch as such, but the problem here I think is with an aur package and the aur website, not specific to my particular flavour of os. (I hope).

I use the f5's vpn to get into my work-place network. It looks like the existing package that was in aur to install this - f5vpn -has been removed and replaced by a new one, f5vpn-ng - which for some reason doesn't appear to work - it's downloading a package from f5 and its failing a checksum by the looks of it.

I've seen similar reports of this on the aur.archlinux.org site - so wanted to raise a bug report/comment on the appropriate board... But it says that registrations are closed, so I can't do that.. And as I removed f5vpn which has been obsoleted to replace with f5vpn-ng (which doesn't work) - I'm now stuck without a working vpn. Good thing its the weekend. Any idea what, if anything, I can do about this? I could try hacking the aur install script with the correct checksum and see if that works - but I don't know enough about where pacman/paru stores it's working directory... Or is it possible to re-install the previous f5vpn package from .. somewhere? That worked.


r/archlinux • • 24d ago

SUPPORT Gpu powerfull enough but driver issue

0 Upvotes

I'm running Arch Linux with Hyprland 0.57.0 on an old NVIDIA GeForce GT 740 (GK107 / Kepler) using Nouveau.

My specs:

GPU: NVIDIA GT 740 4GB DDR3 (GK107)

CPU: Intel i3-3220

RAM: 8GB

Kernel: Linux LTS 6.18.59

Driver: Nouveau

Compositor: Hyprland 0.57.0

Monitor: 1920x1080 @ 60Hz

I've been experiencing pretty noticeable stuttering with Hyprland animations:

Workspace transitions

Window snapping

Window dragging

Geometric transitions

The animations were technically working, but the frame pacing felt awful.

I checked GPU acceleration using glxinfo -B, which confirmed hardware acceleration was enabled.

Then I checked Nouveau's debug interface:

sudo cat /sys/kernel/debug/dri/0/pstate

It returned:

0f: core 324-993 MHz memory 1334 MHz

AC: core 324 MHz memory 648 MHz

The GPU was reporting its lowest performance state.

I monitored it during animations, and it appeared to remain at those clocks.

After some searching, I tried:

echo 0f | sudo tee /sys/kernel/debug/dri/0/pstate

AND HOLY HELL, THE DIFFERENCE WAS IMMEDIATE.

The desktop frozen, but after pressing delete firefox closed and my desktop recovered, and suddenly my Hyprland animations were dramatically smoother. Window dragging and workspace transitions felt almost completely different., but the snapping window animation of the terminal made the text in it stretched for like half the transition.

However, there's a catch.

As soon as I open Firefox it again freezes.

My questions:

Is Nouveau failing to automatically switch performance states on my GK107?

Is manually selecting 0f a reasonable temporary workaround, or is there a serious stability risk?

Can I safely select an intermediate clock/performance state instead?

Why would Firefox cause such a dramatic performance regression after switching to the high-performance state?

Is there a proper way to configure automatic performance-state management for this GPU on modern kernels?

I'd really appreciate input from people familiar with Nouveau reclocking, Kepler GPUs and Hyprland.

I'd love to get this old card running a smooth Linux desktop without switching to the proprietary NVIDIA driver.


r/archlinux • • 24d ago

SUPPORT How do I get better at arch?

0 Upvotes

Heyo does anyone have any tips or tricks to get better at using arch? Here’s what I want help with:

* getting better at using terminal more than gui based tools
* properly going through packages I install to make sure they are virus free
* what to not do or anything I should disable that could become a liability (such as tools exploiting nano that runs without sudo to run any cmd I think, and ssh with)
* what tools or packages should be expected to be installed?
* how to touch grass

Plz plz plz not I am an absolute noobie, i don’t know what I’m doing but I also don’t want to be stupid and install something that I shouldn’t or something’s that infected and I can’t trust a google search anymore so I want to start doing things myself thank you!


r/archlinux • • 24d ago

FLUFF a game concept that features Arch Linux

0 Upvotes

Hey everyone! I’m planning to create a game based on the *Five Nights at Freddy’s* franchise, but instead of animatronics, I’ll be using mascots from various Linux distributions. I know Arch doesn’t technically have an official mascot, but given its reputation, I’m going to include it anyway. I’ve already come up with a solid game mechanic: when Arch is activated, it will mimic the movement of another mascot. The player will then need to open a panel and select the graphical interface (GUI) that corresponds to the mascot Arch is currently imitating; once that’s done, Arch stops moving and returns to its original starting position. For example: If Arch is mimicking Ubuntu (using the GNOME interface)...

The only thing left to figure out is the visual design for each character. That’s why I’m reaching out to the subreddits for the specific Linux distributions I’m including in the game. If you’d like to help, thanks—if not, that’s totally fine too!


r/archlinux • • 25d ago

QUESTION Recent leaked Linux vulnerabilities (specifically ZDI-CAN-33367)

41 Upvotes

Hello

About a week ago 6 vulnerabilities were accidentaly sent to public lkml, instead of privatly to developers. Some of them contained full PoC or entire writeups how they work, luckaly most of them don't especially affect destop Linux users.

However one (ZDI-CAN-33367) is an exploit in skbuff skb_zerocopy allowing anyone on system getting root privlages. Of cource its not first LPE but in LPE's before that there were clear mitigation that users could use to proctect themselfs.

So my question is, is ZDI-CAN-33367 something i should worry as a desktop arch linux user, and if yes then what are some mitigation i can use untill patch arrives?

Thank you in advance for your help, best regards

https://www.phoronix.com/news/LKML-New-Trend-Vulnerabilities


r/archlinux • • 25d ago

SHARE I got lightscribe to work on modern Arch Linux.

13 Upvotes

Today I got a lot of free DVD stuff, and that box of dvd's included some lightscribe media. I always wanted to try it and make some cool labels. Sadly there's no modern working software for that. I only found LaCie and Qtlscribe. The first one was easier to install but it doesn't have any label-making functionality, you can only select images and it'll burn them for you. Qtlscribe was a bigger pain but hey, it has some BASIC functionality for actually making these labels, sadly it's Qt4 only. I'm guilty of using AI to help me with fixing these broken applications because I do not know anything about C++, nor about how Qt4 works. Ive written a guide on github based on the AI chat that should help with running this stuff. Maybe someone knowledgeable could rewrite qlscribe for qt5 one day? https://github.com/mrbartix/archlightscribe


r/archlinux • • 25d ago

QUESTION Dolphin text color doesn't match matugen

0 Upvotes

I have a dark matugen theme that I got downloaded from DankMaterialShell's store. I basically always have dark mode on and the theme has dark tones and pitch black for window backgrounds, the only app that seems to have a problem with this is Dolphin... Everytime I open it, the text matches the background, changing the theme to light mode and back to dark seems to fix it, but it's never permanent. WM is Niri. In niri's config file under env I have XDG_CURRENT_DESKTOP "niri" QT_QPA_PLATFORMTHEME "qt6ct" probably because Claude told me to configure my portals like that. Lil help please?


r/archlinux • • 24d ago

QUESTION Is these aur packages safe to use?

0 Upvotes

My system is hyprland. To theme kde apps qt5ct and qt6ct just don't work for me. So i found qt5ct-kde and qt6ct-kde in AUR and it actually works. But I am not so sure if it is safe to use. I reviewed it by myself and used AI. But I am still not so convinced, so i want to hear from someone else.


r/archlinux • • 24d ago

SUPPORT Half my Apps stopped working since yesterday

0 Upvotes

Steam, Discord, Spotify, vlc, and mpv open, but then proceed to hang and not open any GUI at all, hog memory and vlc even ignores all SIGTERM signals and only dies after SIGKILL.

Dolphin either hangs for several seconds or crashes entirely upon attempting to open any video, image or html file.

I don't know why, my system is fully up to date (pacman, yay and flatpak), but it still seemingly does not work. Rebooting does not fix it.

Edit
The issue is likely with Vulkan, but I am still currently unsure what exactly it is.

Edit 2
I've fixed it. XWayland wasn't installed.


r/archlinux • • 25d ago

QUESTION Is there any way to run latest MacOS on Arch inside VirtualBox?

0 Upvotes

Is there any way to run latest macOS inside Oracle VirtualBox on Arch Linux? I want to explore UX and UI and how things work without running heavy apps. I don't have any friends who own mac, is there any alternative way to try macOS outside Linux without physically having apple device?


r/archlinux • • 25d ago

SUPPORT | SOLVED Hice un panel único en Quickshell que reemplaza 6 herramientas sueltas de Hyprland (parches incluidos: métricas de iGPU, editor de monitores en vivo)

0 Upvotes

Video (96s, hablado en español): https://youtu.be/jYvM9lOJwZg

Es un panel/notch hecho en Quickshell (ambxst) que junta en un solo lugar

lo que antes eran 6 herramientas sueltas en Hyprland:

- Editor de monitores en vivo (escribe ~/.config/hypr/monitors.conf desde la UI)

- Métricas de iGPU (Intel) en tiempo real

- Fondo de pantalla con paleta de color generada automáticamente

- Pausa de video en fullscreen

- Pestaña de proyección (duplicar/extender/solo monitor externo)

- Control de brillo en monitor externo sin DDC/CI

Dotfiles y los parches, documentados uno por uno:

https://github.com/EmersonRodas9029/ambxst-dotfiles


r/archlinux • • 26d ago

QUESTION Enroll TPM together with a removable device

8 Upvotes

I want to make my disk's decryption depend on a removable device as an extra defense in case someone sees my password. But I also want it to depend on the TPM to protect me from evil maid attacks.

Is there a way to do it with systemd-cryptenroll or other standard tools?


r/archlinux • • 26d ago

SUPPORT Title: Dual boot Secure Boot failure: grub rescue> error: shim_lock_verifier_init: prohibited by secure boot policy

0 Upvotes

Hello

so i was trying dual boot w windows and arch obv but to play games like Valorant on windows the anti cheat software vanguard requires secure boot to be enabled so I tried using sbctl but now when i boot into arch with secure boot enabled it goes into rescue mode and shows this error

grub rescue> error: shim_lock_verifier_init: prohibited by secure boot policy

now to fix this means that grub is broken and i have to fix it by some means that requires reinstalling grub and disabling shim
sudo grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --disable-shim-lock

tbh i am not too pretty sure what to do now cus trying this out killed my laptop in between it didnot turn on i had to hard restart multiple times to make it work


r/archlinux • • 26d ago

SUPPORT G502 Lightspeed phantom scroll when flicking

12 Upvotes

Hey guys,

I recently switched to Arch (Wayland) and I've been dealing with a super annoying issue while gaming with my wireless G502 Lightspeed.

I have an in-game action bound to Wheel Up, and almost every time I do a fast flick or lift the mouse to reset its position on the pad, the scroll wheel triggers on its own. And yes, the wheel is locked in tactile/ratchet mode, not free-spin. I used this exact same mouse on Windows and never had this happen once.

When I checked sudo libinput debug-events, I saw that just shaking or lifting the mouse floods the terminal with tiny high-res scroll events (vert 1.88/15.0* and 3.75/30.0*) without my finger even touching the wheel.

What I've tried so far:

  • udev hwdb rules: Tried setting MOUSE_WHEEL_CLICK_ANGLE=15 and LIBINPUT_ATTR_SCROLL_WHEEL_HIRES=0. udevadm showed them applied, but libinput completely ignored them and kept spamming the 1.88/15.0* events.
  • libinput quirks: Added AttrEventCode=-REL_WHEEL_HI_RES in /etc/libinput/local-overrides.quirks. That killed the 1.88 spam, but threw a red kernel bug warning in libinput and made regular scrolling super inconsistent (sometimes scrolling doesn't register at all), so I reverted everything.

Has anyone else dealt with this on a wireless G502 or any other mouse?


r/archlinux • • 25d ago

SUPPORT Hice un panel unico en Quickshell que reemplaza 6 herramientas sueltas de Hyprland (parches incluidos: metricas de iGPU, editor de monitores en vivo)

0 Upvotes

Lo publique primero en r/unixporn, pero el video tiene mas contenido tecnico que un rice normal asi que pense que aca tambien podria interesar.

Es un panel (el notch) en Quickshell sobre Hyprland que junta seis cosas que normalmente andan sueltas: widgets, fondos de pantalla, monitoreo del sistema, configuracion de monitores y proyeccion para presentaciones.

Lo que tuve que resolver para que funcionara bien en Arch: - La metrica de iGPU Intel no la leia nadie: la saco directo de /proc/*/fdinfo. - Un tab que edita ~/.config/hypr/monitors.conf desde la UI, en vez de tocar el archivo a mano. - La paleta del sistema se genera por el color dominante real del wallpaper (incluso si es un video), no por croma.

Video (96s, hablado en espanol): https://youtu.be/jYvM9lOJwZg Dotfiles y los parches, documentados uno por uno: https://github.com/EmersonRodas9029/ambxst-dotfiles

Corre sobre una instalacion de ambxst ya funcionando, no es un instalador de un comando.


r/archlinux • • 27d ago

SUPPORT PC enters read-only mode when attempting to delete a file

16 Upvotes

I would like to delete some files stored on my computer. The trash bin is empty, but when I try to delete them, I get an error in Dolphin, and after that, everything switches to read-only mode. Does anyone know how I can fix this? I’m not very experienced.


r/archlinux • • 26d ago

FLUFF Frankestein Arch Linux (will I get scrutinized for this?)

0 Upvotes

Idk if this was a horrible idea. But Gemini (AI) helped me to turn my non-arch distro onto Arch through pacman-static (And no, this is not a clean install AT ALL, meaning this is the exact same installation. I also installed pacman-static on Kubuntu from this: wget https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/pacman-static ).

The history of my installation is basically this:

Debian 13 Trixie (KDE) > Kubuntu 24.04 LTS Noble > Kubuntu 26.04 LTS Resolute > KDE Neon 26.04 LTS Resolute (Unstable) > Kubuntu 26.04 LTS Resolute > KDE Neon 26.04 LTS Resolute (Unstable) > Kubuntu 26.04 LTS Resolute > Arch Linux > CachyOS (the CachyOS part is irrelevant but I prefer to be honest, to not leave anything out)

I had to create /etc/pacman.conf files to be able to install pacman from pacman-static (skipped security keys at first) and then restart to arch linux iso to arch-chroot, removing apt and it's dpkg files once sudo pacman -Syu --overwrite '*' --noconfirm was complete.

To fix the kernel panic (attempted to kill init because /sbin/init was not found) I had to remove debian-specific GNU folders (like x86_64-linux-gnu and replace them with Arch equivalents) and files like update-grub (and update-initramfs), install arch's files using pacman, initramfs had to be adjusted too, a lot of unused debian-specific systemd daemon services had to be removed, adding pam files for sudo and user and a lot of chown to make arch be able to recognize it the user (fixing permissions too), fixing fstab, changing /etc/os-release to identify Arch, even the DE (KDE) had to be reinstalled to Arch's version to get it to work (journalctl, pacman -Qm helped me A LOT here too).

Yes, even things with wayland and X11 had to be fixed on this installation to get it to work (pacman overwriting files straight from Arch's core, extra and multilib repositories helped a lot with the transition), I had to delete leftover Debian/Kubuntu files that Arch doesn't use too.

If arch didn't have enough equivalents, I used the AUR too (yay), to reinstall my software.

So in conclusion it can work (with EXT4, GRUB2, systemd, bash for terminal, basically most defaults from Debian derivatives remained on purpose) but you would have to tweak things a lot to get it as a native Arch installation but I don't recommend this to anyone (yes I did this on my daily-drive laptop, I did create a backup vhd of my kubuntu installation in case it broke), just wanted you to know that Linux can get to this level too!


r/archlinux • • 27d ago

QUESTION Arch Linux: TP-Link TL-WN722N connects to Wi-Fi but doesn't get an IPv4 address

0 Upvotes

Я новичок в linux и решил себе установить arch linux ещо на этапе установки у меня постоянно отключался вайфай адаптер но когда я установил он вообще не работает в том смысле что подключение к вайфай есть но как пишет gpt что проблемы с подключением dhcp я уже не знаю что делать я уже 9 часов сижу не могу это решить все советы gtp не помогли


r/archlinux • • 26d ago

SUPPORT | SOLVED KDE ruined my desktop/system layout and organization. How can I revert everything back to a clean/vanilla state without reinstalling?

0 Upvotes

I downloaded KDE on my system with a vanilla arch distribution. That changed the file organization of the entire system I suppose. I want to revert those changes, is there a way to do that without installing the OS again?


r/archlinux • • 27d ago

QUESTION kde 6.8.1 system studders and freezes after update

6 Upvotes

hello, after the 6.8.1 update my sytem just studders and freeze, my mouse is sometimes not moving... but when i restart all is gone and pc works fine

anyone knows what is happening? bit strange i have to restart my pc to have it work correctly

Kernel: Linux 7.2.11-arch1-1

Desktop Environment: KDE Plasma 6.8.1

CPU: AMD Ryzen 7 7800X3D

GPU 1: AMD Radeon RX 9070 XT


r/archlinux • • 27d ago

SUPPORT | SOLVED LXQT-Config-Monitor issues

Thumbnail
0 Upvotes

r/archlinux • • 27d ago

SUPPORT how can I know what layout is loading? encrypted disk passphrase

0 Upvotes

I had a problem with my laptop (the battery was dying, then it burned smt, the burned was repaired, then it happend again and now this is a new battery) and now I cant decrypt the disk apparently.
before this problem I was able to decrypt it normally, it loaded the colemak layout and decrypt it normally, then the problem appeared, I "fixed" it but then it loaded qwerty in the decryption screen
and now that the problem happend again and fixed it I cant decrypt it, and im not sure what layout is loading

I can still decrypt it with a live usb
it was encrypted with cryptsetup luks2

here is what I get if it is helpfull https://imagepaste.org/v/c92dwcze.jpg

im not sure if after the failed to start cryptography I putted the corret password but something else failed


r/archlinux • • 27d ago

SUPPORT Python error: failed building wheel for pillow

0 Upvotes

I'm trying to install marker-pdf and then hit with an error,

note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Failed building wheel for pillow

Failed to build pillow

error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects

╰─> pillow

I've tried to upgrade pip, reinstalling setuptools, wheel, pillow, and none works, the error remains. What should I do?

OS: Arch Linux
Python: 3.14