/r/debian

Photograph via snooOG

Subreddit to discuss all the Debian things, the Universal Operating System

/r/debian

96,791 Subscribers

3

Debian doesn't recognize my wireless adapter

I've just installed debian for the first time and it seems like it doesn't recognize my Realtek Semiconductor wireless USB adapter... Now I had a dual boot windows 10 and Kali Linux before this and it was okay in both of them. Is there anything that I should install so it recognize my wireless USB?

3 Comments
2025/02/04
00:52 UTC

0

Sources.list modernized and key's for debian-multimedia and nordvpn

I ran the script brought up by sudo apt dist-upgrade for modernization of the sources.list in Debian Trixie.

Some keys complained about not being there so I added them.

One for nordvpn in /etc/apt/sources.list.d/nordvpn.sources :

Signed-By: /etc/apt/trusted.gpg.d/nordvpn-keyring.gpg

And one for multimedia in /etc/apt/sources.list.d/unofficial-multimedia-packages.sources :

Signed-By: /usr/share/keyrings/deb-multimedia-keyring.pgp

Just to save you the hassle to find ...

Peace.

8 Comments
2025/02/03
21:15 UTC

5

How Do You Use KVM & Proxmox? What's Your Best Use Cases

I started with virtualbox and VMware Workstation Pro, I have been really enjoying networking and pen-testing lately and I heard that KVM and Proxmox are like the end-game hypervisors for that kind of thing, Im wondering what might suit my needs better. So, I'm curious-what's everyones use case? Do you prefer KVM for a minimal setup or Proxmox for ease of management?

8 Comments
2025/02/03
20:47 UTC

10

debian doesn't boot

Hi, I'm new to linux and decided to install the latest Debian. I went with guided partitioning on free space that I had reserved in windows diskmanager. Grub installed without any problems. I was curious if my first attempt at this would be a success, but unfortunately it was not.

So first time booting into Debian I get this list of "OK" and commands or what you would call them.
The first time the process continued until "Terminate plymouth boot screen..." It was strange, 'cause it took 3-4 minutes and no progress so I figured I'd just reboot. After reboot the process continued another 2 lines, but then stopped again.
I have actually tried rebooting again (I know, kinda hopeless) but from now on there is simply no progress after the "network manager script dispatcher service".

https://preview.redd.it/qlipr6hldzge1.jpg?width=2250&format=pjpg&auto=webp&s=2680570bca03c6871d64724748a44a073734b15d

My intuition tells me this is not an easy nut to crack, but if anyone has any pointers/tips/guidelines I would be very thankful.

At least I can boot into windows if I choose to.

6 Comments
2025/02/03
20:06 UTC

7

Gnome 48 will ship with debian 13?

GNOME 48 is the latest version of the GNOME desktop environment. It is scheduled for release on March 19, 2025, and it will include a number of new features and improvements.

22 Comments
2025/02/03
19:03 UTC

1

missing WiFi and Bluetooth adapter

i have tried every posible way but cant find a solution

3 Comments
2025/02/03
17:38 UTC

4

Debian kernel and 'broken' HDMI sound

I have nothing against the stock kernels used by Debian (and Ubuntu) but i cannot use those kernels due to poor performance with HDMI sound. For proper HDMI sound I am forced to use the Liquorix branded kernel, where, in my opinion, the stock kernel should suffice.

Thoughts?

lspci:

00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)

00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)

9 Comments
2025/02/03
15:49 UTC

9

Will debian 13 trixie support btrfs from graphical install?

As the title says.

Honstly it's hard to setup btrfs from the expert install and even harder to partition the disk

Especially when dual booting windows, user might do something dumb

13 Comments
2025/02/03
07:28 UTC

4

Recent upgrade to Bookworm broke my system

OVERALL EDIT -
This was fixed by installing pipewire-audio and rebooting. Anyone having this issue try pipewire and it should help the situation. I think my system is MOSTLY usable now, I just have to figure out the resolution change on lockscreen.

Alright, so I'll start off by saying I installed Bookworm through apt by updating my sources and following directions from an artice I found. Everything appeared to work correctly until I noticed that my resolution kept switching on screen-lock. While I think this is related to something else...I then noticed that I'm unable to play videos in any applications whatsoever. Attempting to do so in firefox causes it to freeze, and VLC simply shows a still image and does not play anything. It's my belief that there's a driver issue, but I don't even know where to begin on troubleshooting this. Am I better off just creating an ISO and reinstalling the system completely? I have /home on a seperate partition so data loss isn't a huge worry, but I'd prefer for a solution that doesn't involve a full reinstall of the OS. For the record I run XFCE on it and have since Buster with no issues until this upgrade. Thank you in advance for any advice on my situation!

Edit Forgot to add the output of lpsci | grep -i vga

0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 03)

Another edit - Adding relevant information from running firefox & and trying to load a video in youtube

Gtk-Message: 21:05:05.347: Failed to load module "window-decorations-gtk-module"

ATTENTION: default value of option mesa_glthread overridden by environment.

ATTENTION: default value of option mesa_glthread overridden by environment.

[ERROR glean_core::metrics::ping] Invalid reason code active for ping usage-reporting

libva info: VA-API version 1.17.0

libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

libva info: Found init function __vaDriverInit_1_17

libva info: va_openDriver() returns 0

ATTENTION: default value of option mesa_glthread overridden by environment.

After allowing it to sit for a moment and buffer, with a weird glitched out effect on the screen, the video eventually started playing. So I suppose there's just some weird lag being caused that was never present before upgrading to Bookworm.

Another edit - Adding relevant information from loading a video in VLC in terminal, which DOES NOT work successfully regardless of waiting.

VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)

[00005561b4f40550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

Gtk-Message: 21:10:54.574: Failed to load module "colorreload-gtk-module"

Gtk-Message: 21:10:54.574: Failed to load module "window-decorations-gtk-module"

[00005561b4ffcd40] vlcpulse audio output error: stream connection failure: Timeout

[00005561b4ffcd40] main audio output error: module not functional

[00007f806d207690] main decoder error: failed to create audio output

[00005561b4ffcd40] vlcpulse audio output error: stream connection failure: Timeout

[00005561b4ffcd40] main audio output error: module not functional

[00007f806d207690] main decoder error: failed to create audio output

[00005561b4ffcd40] vlcpulse audio output error: stream connection failure: Timeout

[00005561b4ffcd40] main audio output error: module not functional

[00007f806d207690] main decoder error: failed to create audio output

[00005561b4ffcd40] vlcpulse audio output error: stream connection failure: Timeout

[00005561b4ffcd40] main audio output error: module not functional

[00007f806d207690] main decoder error: failed to create audio output

Possible this is actually being cause by pulse and not a video issue?

9 Comments
2025/02/03
02:33 UTC

0

How can I install multiple dependencies for a program?

11 Comments
2025/02/02
22:12 UTC

102

There is a low-key benefit of Debian stable

Stability of Debian stable is something I have always loved about it. When I was younger though, I would get that itch for more cutting edge things and I would look to something like Fedora or Ubuntu.

Now that I have gotten into self hosting, not only is the stability great, but the number one benefit that I never really see is the fact that tutorials of Debian stable are good for soooo many years. It really makes finding solutions easy.

Thanks for the devs and the community for keeping Debian king :-)

11 Comments
2025/02/02
21:24 UTC

0

Why is my nvidia driver not up to date even though I've updated it?

So I followed this guide to update my Nvidia drivers, but even though I've updated them and rebooted the system, nvidia x tells me that my GPU driver version is "535.216.01", although on the official nvidia website it says that the latest drivers version is "550.144.03". Did I do something wrong?

Here's the link to the official nvidia website.

15 Comments
2025/02/02
20:44 UTC

36

I am more than happy now.

I have gave the system a few final tweaks and got rid of some stuff I will never use that's pre installed.
I am that impressed with Debian I think I should pop over to their site and give a donation.
This system / distro is as near to perfect for my needs that I will ever find.
Over the moon to say the least.

https://preview.redd.it/8tmnf1inurge1.png?width=1600&format=png&auto=webp&s=f485437b3d3202e650dc291a71fb7ee7212b374d

https://preview.redd.it/j7codbjourge1.png?width=759&format=png&auto=webp&s=3d88ff139d7acdcec07caf37e127a582bfa6c334

6 Comments
2025/02/02
18:47 UTC

1

How do I fix this?

I seem to have hosed something. I can't get my Raspberry Pi 5 running Debian command line to boot successfully. See the attach photo of what is happening. Any help you can offer would be greatly appreciated.

https://preview.redd.it/i5i6hh2gsrge1.jpg?width=4032&format=pjpg&auto=webp&s=0fc60d7acf99d04820797d7af5f4170db8ba88ff

3 Comments
2025/02/02
18:32 UTC

26

Not telling my granny how to suck eggs.

This post is to help possible new comers or simply people on Debian who are not aware of this feature.
Its a little thing called "tasksel".
Tasksel package provides a simple interface for users who want to configure their system to perform a specific task. This program is used during the installation process, but users can also use tasksel at any time.
Its a very handy thing to install and use at your leisure.
sudo apt install tasksel ( to install Tasksel )
Link to Debian Wiki
https://wiki.debian.org/tasksel
Cheers I hope it helps someone.

https://preview.redd.it/jko4peyarrge1.png?width=957&format=png&auto=webp&s=630c0d40c7c5c6688bd25786dbfd39418460ef8b

17 Comments
2025/02/02
18:28 UTC

3

trixie/nvidia/kernel

Hi,

using trixie, and I installed nvidia driver without issue when I was on that kernel ; 6.12.10-amd64

but since yesterday the kernel has been updated to 6.12.11-amd64, and now when I rebooted my system, I boot into tty session, don't have my DE, do you know how to proceed?

thanks

17 Comments
2025/02/02
13:41 UTC

2

Installed Debian 12.9 on ThinkPad T14 Gen 5. Black Screen After Upgrading to Trixie. Why?

Is it because I made the mistake of assuming the graphics drivers were in order?

16 Comments
2025/02/02
09:26 UTC

6

nvidia driver installation problem. yet again.

Im following this one instruction on the latest debian 12 and it fails. Im in rage.

https://www.reddit.com/r/linux4noobs/comments/18n34c3/nvidia_drivers_for_debian_12_step_by_step/

The following packages have unmet dependencies:

nvidia-driver : PreDepends: nvidia-installer-cleanup but it is not installable

PreDepends: nvidia-legacy-check (>= 495) but it is not going to be installed

Depends: nvidia-driver-libs (= 525.147.05-7~deb12u1) but it is not going to be installed

Depends: nvidia-driver-bin (= 525.147.05-7~deb12u1) but it is not going to be installed

Depends: xserver-xorg-video-nvidia (= 525.147.05-7~deb12u1) but it is not going to be installed

Depends: nvidia-vdpau-driver (= 525.147.05-7~deb12u1) but it is not going to be installed

Depends: nvidia-alternative (= 525.147.05-7~deb12u1) but it is not going to be installed

Depends: nvidia-kernel-dkms (= 525.147.05-7~deb12u1) but it is not going to be installed or

nvidia-kernel-525.147.05 or

nvidia-open-kernel-525.147.05 but it is not installable or

nvidia-open-kernel-525.147.05 but it is not installable

Depends: nvidia-support but it is not installable

Recommends: nvidia-settings (>= 525) but it is not going to be installed

Recommends: libnvidia-cfg1 (= 525.147.05-7~deb12u1) but it is not going to be installed

Recommends: nvidia-persistenced but it is not installable

E: Unable to correct problems, you have held broken packages.

Like what the actual F??

11 Comments
2025/02/02
08:16 UTC

21

Which virtual machine you guys use for debian 12?

Was thinking about using virtualbox, would like your guys opinions!!
I'm looking to put debian on the virtualmachine

53 Comments
2025/02/02
02:29 UTC

8

Solved my RAID1 issue

Greetings folks...

This tale is to share with everyone my trials and tribulations in learning how to do a specific installation of Debian 12 stable in the hopes that it will help others. The hardware I wanted to install on is a Thinkpad X1 Extreme Gen 2. Because this laptop is able to have two NVMe drives installed, and has Intel RST available, I wanted to do an encrypted RAID1 array. After I installed the two 2TB NVMe drives, and configured the BIOS to RST, I started the installer. Upon reaching the partitioning section I was unable to see the RAID1 array. After searching for, and trying, several solutions, nothing seemed to work.

I posted to this sub-reddit (https://www.reddit.com/r/debian/comments/1htoltn/raid\_install\_issue/) for advice and was told to try a software RAID instead. I went back into the BIOS, switched back to AHCI mode, and started the installer again. Set up the array, the partitions... everything going well... Set up GRUB... "Grub installation failed. This is a fatal error." Ugh! Starting to get a bit frustrated I took a step back, did something else for awhile, and let the issue simmer in the back of my mind.

Was it an issue with something I did during the partitioning process? I went about searching for any information about that part of the installer and going through trial and error of guided installs and then doing them manually. The error showed up again when I made the RAID1 array. So with more information, off to searching again. I was fortunate enough to stumble across the following links:

- https://serverfault.com/questions/1143899/debian-12-bookworm-installing-a-software-raid-1-fails-with-grub-error

- https://serverfault.com/questions/1101507/how-should-the-efi-system-partition-be-made-redundant-without-using-hardware-rai/1101516#1101516

- https://gist.github.com/thhart/35f6e4e715c70c2cbe7c5846311d1f9f

An issue between GPT and RAID taking up the whole disk. So I came up with a new partition plan:

- wipe both drives with:
# dd if=/dev/zero of=/dev/nvme0n1 bs=1M count=1024
# dd if=/dev/zero of=/dev/nvme1n1 bs=1M count=1024

- 100MB ESP at the beginning of both drives (both bootable)
(Note: The system won't see the ESP inside the array... it must be outside the array)

- RAID1 array to take up the remainder of both drives

- First partition in the array (md0) is 256MB ext2 assigned to /boot
(Note: found an issue if I don't "sudo apt autoremove" on a regular basis in that I run out of room... suggest 512MB)

- Second partition in the array (md1) is an encrypted partition filling the remaining space.
(Note this is on two 2TB drives... total time for this step is two and a half to three hours to write the meta data)

- Set up LVM (vg_deb_1) in md1_crypt

- Create first logical volume (lv_root) as ext4 assigned to /

- Create second logical volume (lv_swap) assigned to swap

With partitions written to disk I get to installing GRUB again and..... SUCCESS!!! So now I have an encrypted system with data redundancy and a backup ESP that is synchronized every session. Goal achieved plus. Total time about three and a half to four hours. Here is the layout via lsblk:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme1n1 259:0 0 1.8T 0 disk
├─nvme1n1p1 259:2 0 94M 0 part /boot/efi2
├─nvme1n1p2 259:3 0 244M 0 part
│ └─md0 9:0 0 243M 0 raid1 /boot
└─nvme1n1p3 259:4 0 1.8T 0 part
└─md1 9:1 0 1.8T 0 raid1
├─md1_crypt 253:0 0 1.8T 0 crypt
│ ├─vg_deb_1-lv_root 253:1 0 1.8T 0 lvm /
│ └─vg_deb_1-lv_swap 253:2 0 67.1G 0 lvm [SWAP]
├─md1p1 259:10 0 1.1T 0 part
└─md1p2 259:11 0 364.3G 0 part
nvme0n1 259:1 0 1.8T 0 disk
├─nvme0n1p1 259:5 0 94M 0 part /boot/efi
├─nvme0n1p2 259:6 0 244M 0 part
│ └─md0 9:0 0 243M 0 raid1 /boot
└─nvme0n1p3 259:7 0 1.8T 0 part
└─md1 9:1 0 1.8T 0 raid1
├─md1_crypt 253:0 0 1.8T 0 crypt
│ ├─vg_deb_1-lv_root 253:1 0 1.8T 0 lvm /
│ └─vg_deb_1-lv_swap 253:2 0 67.1G 0 lvm [SWAP]
├─md1p1 259:10 0 1.1T 0 part
└─md1p2 259:11 0 364.3G 0 part

I hope this helps others trying the same or similar. Good Luck!

Edit: Attempted to format code block but unsuccessful.

2 Comments
2025/02/02
02:26 UTC

8

Firewalld sources option not working as expected

I have a project server I run headless. I upgraded from Bullseye to Bookworm back in December. Today I'm revisiting my Firewalld default zone settings, because I upgraded my FIOS home router. I thought the Firewalld zone's sources setting/option would lock down the firewall to just those listed IPs. But it's not working. The new router assigned different IPs to my computers, and I could still SSH into the server!!

Either I misunderstand what sources does (and it's not limiting traffic to specified IPs) or there's another overriding setting.

What could be going on here?

Firewalld is running:

> $ sudo systemctl status firewalld
Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; preset: enabled)
Active: active (running) since Sat 2024-12-28 17:36:04 EST; 1 month 4 days ago

Has an active custom zone:

> $ firewall-cmd --get-active-zones
MYZONE
interfaces: eno1
sources: 192.168.1.222 192.168.1.101 127.0.0.1

Custom zone is nothing fancy, but I do want to only accept traffic to the server from IPs on my home network. Server machine is 192.168.1.102, and should only accept connections from two machines on my home network .222 and .101 However, since the router upgrade, I have actually been able to connect from other IPs not listed here. Yikes!

> $ sudo firewall-cmd --list-all
MYZONE (active)
target: default
icmp-block-inversion: no
interfaces: eno1
sources: 192.168.1.222 192.168.1.101 127.0.0.1
services:
ports: 80/tcp 8080/tcp 8000/tcp 22/tcp
protocols:
forward: no
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:

----

Also, there are other zones listed in Firewalld configs:

> $ sudo firewall-cmd --get-zones
MYZONE block dmz drop external home internal nm-shared public trusted work

But none of these have an `interfaces` option (no nic card associated), as evidenced by the command below. Is this true?

sudo firewall-cmd --list-all-zones | less

More ideas are occurring to me. I checked that the device listed is the one I'm using:

> $ ip addr
[...]
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 90:b1:1c:6a:21:a9 brd ff:ff:ff:ff:ff:ff
altname enp0s25
inet 192.168.1.102/24 brd 192.168.1.255 scope global noprefixroute eno1
[...]

8 Comments
2025/02/01
23:09 UTC

1

GNOME and KDE at the same time

Hi all! In your opinion or experience, which are the cons to have both installed at same time? Obviously I'm going to have less free space, but I wonder if it's possible to get problems, for example, for package compatibility or something else. (I usually use Debian unstable)

26 Comments
2025/02/01
22:39 UTC

3

Shorcut icons and files on desktop

I installed Debian 12.9 (gnome-core). it's already nice as it is, but I'd like to put shortcut icons and txt file on the desktop. I haven't yet understood how to do that.

Could you please help me? Thanks

5 Comments
2025/02/01
19:13 UTC

0

Touchpad randomly stops working

New Debian 12 user here...

Every now and then my touchpad on my HP laptop will stop working. It can happen shorting after boot or 20mins or 1 hour after. It happens doing anything and doesn't seem to happen during a specific action or program. Sometimes it will start working several minutes later but usually i have to reboot.

Any ideas?

4 Comments
2025/02/01
19:09 UTC

1

Strange NFS issue

I recently set up a new *arr ecosystem that is spanning two servers. The Plex media drives are on one Debian 12 system with the plex server and the *arr servers are on a Raspberry Pi running the Pi OS version of Debian 12. I set up an NFS share on my plex server so my download management servers can write the files over to it once the downloads have been completed.

This was all working fine until I had to reboot my systems. I forgot to add my mount to FSTAB on my Rpi client. I updated FSTAB and went to mount my NFS share like before, but now, it just sits there waiting to complete. I killed the mount request and reran it with verbose turned on. It's sitting at:

mount.nfs: trying text-based options 'vers=4.2,addr=<my server IP>,clientaddr=<my client ip>'

Nothing shows up in the logs. I also validated that I can connect from my Mac so the server is working as expected.

Thanks for any help you can give.

4 Comments
2025/02/01
19:02 UTC

1

Fresh installation of the latest debianOS 12.9.0 amd cant install anything

Hello! new debian/linux user here
I downloaded debianOS with just the SSH server and the things that the system needs
I first tried running the "sudo" command but its not there so I tried installing it
but all I got was:

Temporary failure resolving 'deb.debian.org'
Failed to fetch http://deb/debian.org/debian/pool/main/s/sudo/sudo_1.9.13p3-1%2bdeb12u_amd64.dev Temporary failure resolving 'deb.debian.org'
Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

tried running the apt-get update with the --fix-missing and it showed
Some index files failed to download. They have been ignored, or old ones used instead.

12 Comments
2025/02/01
17:52 UTC

Back To Top