Debian — The Universal Operating System

6 readers
1 users here now

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

founded 1 year ago
MODERATORS
1
 
 
The original post: /r/debian by /u/sofuego on 2024-12-27 12:40:42.

Has this happened to anyone else on Debian 12 (X11). xandr only shows 1 display (although I'm not sure if nvidia drivers intercepted it before and that is normal behavior). The NVIDIA settings menu is now very bare and missing the multi-monitor configuration settings.

LLM suggested using nvidia-xconfig (which isn't installed having just checked). The description says deprecated. Could that be the issue or is there something I'm missing?

2
 
 
The original post: /r/debian by /u/vishwaravi on 2024-12-27 12:28:49.

i have trouble to connect wifi in my debian. pls anyone help me. and my wifi adapter is realtek semi conducter. device : lenovo V15 G4 AMN

https://preview.redd.it/kiuky386xd9e1.png?width=1920&format=png&auto=webp&s=258b1a91ca953f5d5f5534034ce40fd133edf89b

3
 
 
The original post: /r/debian by /u/Wise_Stick9613 on 2024-12-27 11:25:39.

I have only found guides on how to build packages (.deb), but that is not what I am looking for.

4
 
 
The original post: /r/debian by /u/Hawkeye_2706 on 2024-12-27 11:23:02.
5
 
 
The original post: /r/debian by /u/Kyuusaki on 2024-12-27 10:49:23.

Heya! I have to admit, i am quite a noob, when it comes to linux stuff. So please be patient.

I have some home-server running with OpenMediaVault installed on top of debian. But Latley i got an issue with my kernel. When I boot, i need to go in advanced options and select the oldest kernel, to run my server, else i will get:

Kernel panic - not syncing: VFS: Unable to mount root fs on unkown-block(0,0)

See attached photo for more details.

Any one got an idea how to fix?

https://preview.redd.it/umc6croped9e1.png?width=1280&format=png&auto=webp&s=e4987ff81704cc89446b52180eba5dfda1c2a531

In Advanced options i have the following options. I select

Debian GNU/Linux, with Linux 6.1.0-0.deb11.7-amd64

for booting

https://preview.redd.it/om8es6qjfd9e1.png?width=1280&format=png&auto=webp&s=14628dfe1dd89ffa70fdfda5684fbdea0c3c61a1

output of df -h

Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
udev             32G       0   32G    0% /dev
tmpfs           6,3G    3,0M  6,3G    1% /run
/dev/sda1       116G     47G   64G   43% /
tmpfs            32G       0   32G    0% /dev/shm
tmpfs           5,0M       0  5,0M    0% /run/lock
tmpfs            32G    4,0K   32G    1% /tmp
/dev/sdb1       916G    581G  336G   64% /srv/dev-disk-by-uuid-05dacc9e-bc45-4783-b866-c29526d3c015
/dev/sdd1       7,3T    4,8T  2,5T   67% /srv/dev-disk-by-uuid-066c7a64-1746-4d3f-8aea-605de3dfa289
/dev/sde1       7,3T     48K  7,3T    1% /srv/dev-disk-by-uuid-0e978f83-16c2-4906-af03-cc9fda3958c6
/dev/sdc1       3,6T    3,6T   78G   98% /srv/dev-disk-by-uuid-74a5b560-6a4c-41fe-85ba-deee7b3e7271
overlay         116G     47G   64G   43% /var/lib/docker/overlay2/77d3d94c5ecb8690fdb6ad2b7b1bb15c5d2a2d1979c07ae13114e07a9e1c98e4/merged
overlay         116G     47G   64G   43% /var/lib/docker/overlay2/9d812304e05c97f35a76e8130e54dc8fc279421ab6668935e672e846ed0f334e/merged
overlay         116G     47G   64G   43% /var/lib/docker/overlay2/4aaf3cd9ac5e3ad0741ce56cae87909b0263bc8ab0ed1f60159a02d41f45171a/merged
overlay         116G     47G   64G   43% /var/lib/docker/overlay2/edd6e05ee18a558db45df050720ffebdb08fd051267e7303294ad8882dc965e3/merged

output of ls -l /boot

insgesamt 153808
-rw-r--r-- 1 root root   258972  8. Okt 2023  config-6.1.0-0.deb11.13-amd64
-rw-r--r-- 1 root root   259010  6. Mai 2024  config-6.1.0-0.deb11.21-amd64
-rw-r--r-- 1 root root   259028 23. Apr 2023  config-6.1.0-0.deb11.7-amd64
drwxr-xr-x 5 root root     4096 30. Aug 08:39 grub
-rw-r--r-- 1 root root 67417214  1. Okt 20:45 initrd.img-6.1.0-0.deb11.21-amd64
-rw-r--r-- 1 root root 65224837 10. Aug 2023  initrd.img-6.1.0-0.deb11.7-amd64
-rw-r--r-- 1 root root       83  8. Okt 2023  System.map-6.1.0-0.deb11.13-amd64
-rw-r--r-- 1 root root       83  6. Mai 2024  System.map-6.1.0-0.deb11.21-amd64
-rw-r--r-- 1 root root       83 23. Apr 2023  System.map-6.1.0-0.deb11.7-amd64
-rw-r--r-- 1 root root  8060512  8. Okt 2023  vmlinuz-6.1.0-0.deb11.13-amd64
-rw-r--r-- 1 root root  8091584  6. Mai 2024  vmlinuz-6.1.0-0.deb11.21-amd64
-rw-r--r-- 1 root root  7891840 23. Apr 2023  vmlinuz-6.1.0-0.deb11.7-amd64

Should I try something like:

update-initramfs -c -k 6.1.0-21-amd64 ?

Thanks

6
 
 
The original post: /r/debian by /u/Spaceberryy on 2024-12-27 10:39:33.

Hello dear debian users!

I've been using mint for a little over two months now but due to unforseen circumstances, I've to reset my hard drive and I saw this as a very good opportunity to switch my distro!

Can you tell me about your experiences and another thing, how hard is it to install drivers on this? I've been having some trouble installing a driver on mint for a device called adafruit blinka mcp2221.

Back to the point, I'd love to hear your thoughts about this distro and if it's worth switching to. I program a lot tho so pls keep that in mind and I am comfortable in the terminal as well!

7
 
 
The original post: /r/debian by /u/PenDramatic1821 on 2024-12-27 07:09:16.

So I was following a tutorial to run kismet from virtualbox and I either did not complete all the steps or I followed a wrong set of steps. Now Im unable to use Sudo anymore. This is the error code I receive..please if somebody could help me resolve this. Google hasnt been super helpful. Im unable to just re-install I must fix it. Thank you guys so much for your time.

┌──(sdv㉿sdv)-[~]

└─$ sudo apt upgrade

[sudo] password for sdv:

Error: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/virtualbox.list

Error: The list of sources could not be read.

Error: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/virtualbox.list

Error: The list of sources could not be read.

///////////////////////////\\\\\\\\\\\\\///////////////////////////\\\\\\\\\\\//////////////////////////\\\\\\\

When I open my ETC/APT sources list in nano this is the only text it has in it.

See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/

deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware

Additional line for source packages

deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmw>

8
 
 
The original post: /r/debian by /u/_BEER_Sghe on 2024-12-27 02:20:58.

Hi all!

I recently assembled a new PC and wanted to try Debian distro (I'm new to Linux, been only using a little bit of Manjaro before).

So I installed Debian Bookworm with the graphical tool and it all went fine, but the problems started at the first reboot: it was stuck in a black screen and a blinking "_".

After some search I read that it has something to do with the GPU drivers (I have a GeForce RTX 4060), so went on a quest by reading some tutorials.

First, I haven't disabled secure boot since on the Debian Wiki it's not suggested.

When I disabled the integrated graphics in the UEFI I could start to reach the login, but everything on the screen is huge and with a low resolution.

I tried the two ways:

  • using the drivers installer downloaded from Nvidia site (so the .run file), which if I got it correctly is a bad habit.

  • using the regular "apt install nvidia-drivers" from another tutorial (not the official wiki procedure though).

Both these ways have been carried out with a fresh reinstall of the os, and both weren't succesful.

After the nvidia-drivers package installation the "nouveau drivers conflict" window appeared, but after rebooting I typed "nvidia-smi" to check if all went fine and THIS line appeared: "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."; what does it indicate?

Now I'm stuck with the wiki guide at point 2 of the "Debian 12 Bookworm" section: after opening the "here" link of that point I installed the dkms package but there is no /var/lib/dkms/mok.key...

What am I missing, did the install process of some package go wrong?

Thank you in advance for your time and your patience :)

Edit: error message prompts after nvidia-smi, not during pre-login screen.

9
 
 
The original post: /r/debian by /u/Peenerforager on 2024-12-27 01:26:34.

Is there a way to control my monitor brightness through powerdevil on a desktop PC? I used a more recent kde version that allows you to do this in power devil but is there a way to do this in KDE 5.27?

10
 
 
The original post: /r/debian by /u/AJR_2611 on 2024-12-27 00:04:54.

I just installed Debian 12 on an old laptop and when installing the OS it warned me about missing drivers so I installed them once finished, however I can't connect to the internet, can you help me?

https://preview.redd.it/qu6tnwyc8a9e1.jpg?width=1599&format=pjpg&auto=webp&s=28475c44d769cab6c660be436862ecda978437d4

https://preview.redd.it/vz3pwwyc8a9e1.jpg?width=1599&format=pjpg&auto=webp&s=155bfd25bb091e5efa3adc636e6c14c4a2e23cb6

https://preview.redd.it/q0qrf6zc8a9e1.jpg?width=1599&format=pjpg&auto=webp&s=28ee6d9d6f7cea0979c4866923f230bba6bd670b

11
 
 
The original post: /r/debian by /u/Ok_West_7229 on 2024-12-26 21:56:19.

Title, - reading the official debian wiki, it says that it's risky to install Spotify because of the third party repos to be added.

EDIT for clarity after some replies: I'm not interested in using flatpaks—please don't suggest them. I don't use flatpaks and am not a fan. I'm asking specifically whether the Spotify repo might break Debian or cause stability issues. Please stay on topic and avoid hijacking my question with unrelated suggestions. Apologies if this sounds harsh, but I'd appreciate responses that address what I wrote.

My question is, can it really cause stability issues or even break debian in the long go?

For example, if I happen to upgrade from 12 to 13 in the future, and "forget" to disable the spotify's repo manually, would it cause big headaches?

Furthermore, I've been checking directly the spotify repo itself, and it seems all the required dependencies are thankfully in the official debian repos so they get pulled from there, and it only provides the spotify-client deb packages themselves (and I further inspected the .deb file also, and it creates its own separate folders under /usr/share/spotify and /bin so doesn't seem to overwrite anything).

This is the only third party repo I would have, because it seems that on any kind of Linux distro I tried, whenever I use the spotify-client (so, the program itself and not the website) I get no ads, even by not being premium subscriber lol. Yes, I know there's browser version + ublock workaround, but for me, the program itself is more convenient to use. I wanted to use some more straightforward approach, by using Clementine, because back in the times, it supported spotify also, which sadly no longer the case :/ (their website is outdated, they didn't remove spotify from their list)

TL;DR: anyone using spotify repos under debian, without experiencing any stability issues or breakages, and did main version upgrades (from 10 to 11, or 11 to 12) without issues by not disabling this repo?

12
 
 
The original post: /r/debian by /u/Snowars on 2024-12-26 20:50:47.
13
 
 
The original post: /r/debian by /u/immmas on 2024-12-26 20:15:07.
14
 
 
The original post: /r/debian by /u/Jeron_Baffom on 2024-12-26 17:53:01.

I'm trying to disable the display of my laptop with the following cli:

xrandr --output LVDS-1 --off

However, instead of disabling the display, the laptop is rebooting.

Any idea what might be happening?


Additional Info

  • Notebook: Gateway NE56R
  • CPU: Intel Pentium 2020M
  • Operating System: Debian GNU/Linux 12.8
15
 
 
The original post: /r/debian by /u/Charming_Pie9000 on 2024-12-26 14:55:42.

newbie here just trying to setup an open source ERP system (ERPnext) for my business that i could access anywhere from this world.

i already own domain names and stuff but how do i actually go ahead and implement it

im doing this on VirtualBox with debian on my old laptop (which i thought id use it as a server)

Please share me some relevant information that i could put to use

16
 
 
The original post: /r/debian by /u/chennystar on 2024-12-26 14:36:26.

Bookworm 12.8, on a laptop w/ hybrid graphics (Intel i7-12700H integrated GPU and Nvidia RTX 3050Ti). I was pleasantly surprised that, after having applied Debian's wiki config recommendations, Wayland/Gnome/Nvidia/Optimus work just fine.

I use the recommended PRIME offload method (https://wiki.debian.org/NVIDIA%20Optimus#Using_NVIDIA_PRIME_Render_Offload). Now, I'm aware that with the (now outdated) Bumblebee method, one had to explicitly invoke programs that we wanted to run on the Nvidia GPU, automatic detection has never been implemented (unlike under Windows, see https://en.wikipedia.org/wiki/Nvidia_Optimus#Linux_support).

Is it the same with the newer PRIME offloading method ? So far I launched some programs using :

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia command

It works fine, but I wonder if in some cases the system decides by itself to use the Nvidia GPU rather than the Intel one. I couldn't find the answer for the PRIME offload method. My guess would be that, as with Bumblebee, one always has to explicitly specify that we want to use Nvidia for a program. But then, I'm surprised that by default, after booting the laptop, nvidia-smi shows the /usr/bin/gnome-shell process using Nvidia graphics (it's the only process). So it seems that "the system" decided by itself to use Nvidia graphics for Gnome Shell.

So, does Optimus/Prime offload method automatically detect which GPU to use ? Or does one always have to specify __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia to use Nvidia GPU ?

17
 
 
The original post: /r/debian by /u/pawxed on 2024-12-26 13:34:54.

Hello! I'm advanced at these stuff but linux kernel seems to be having issue for me and i needed some help on how i should resolve this issue because i never seen anyone encountering this, I tried using fedora 41 workstation and debian bookworm, even ubuntu! It gave me the same result, I'm currently using debian 12 bookworm

[  127.555158] perf: interrupt took too long (2542 > 2500), lowering kernel.perf_event_max_sample_rate to 78500 
[  142.724751] perf: interrupt took too long (3271 > 3177), lowering kernel.perf_event_max_sample_rate to 61000" 

Yes i know that perf are meant to do that by the linux kernel but it really made my performance 10 times worse, considering my laptop is low end with only 2 core

My solution to this is that i have to reboot every single time i turned on my laptop, when it entered the loading plymouth screen i had to spam CTRL ALT DEL to reboot, after that the perf message no longer appearing in the dmesg

It's getting annoying to me because sometimes it solved it but sometimes it doesn't solve it and i had to reboot multiple times just to get rid of the sluggish performance, I'm pretty sure it's not related to my HDD since it could handle my Windows partition pretty fast (I do not have fast boot enabled) and it loads website pretty fast in firefox

but when i do the same thing loading a site in debian or fedora it'll run so sluggish as if i'm running intel celeron (I even tried using librewolf and it gave me the same lag issue)

Any ideas for the solution? I'm considering to turn off the perf by running

sysctl -w kernel.perf_cpu_time_max_percent=0

But when i think about it, it may be risky.

Specification:

Toshiba satellite C640

6gb RAM

500gb HDD (Partition: Windows 11/Debian bookworm)

Intel core i5 M430 (GPU: intel Integrated graphic)

Linux kernel: 6.1.0-27-amd64

18
 
 
The original post: /r/debian by /u/YOURLOCALPROGRAMMMER on 2024-12-26 13:28:04.

Yep, I accidentally sudo rm - rfed my pc and how do I restore my files. I'm posting this on my mobile because my pc is bricked

19
 
 
The original post: /r/debian by /u/Any-Butterscotch194 on 2024-12-26 13:24:42.

I would like to make a minecraft server with a computer with debian

bootable from ssh and I would like to put a package of custom mods

inside, there are about 100 and I was thinking of using twingate but

I don't know anything about it...I would like to make a minecraft server

with a computer with debian bootable from ssh and

I would like to put a package of custom mods inside, there are about 100 and

I was thinking of using twingate but I don't know anything about it...

20
 
 
The original post: /r/debian by /u/ehraja on 2024-12-26 08:32:58.

How big a task is it to create a debian 12 iso? Starting with debian 12 you get the non free firmware repository on your computer during installation. Only workaround I know about is the firmware=never option. https://www.debian.org/releases/bookworm/amd64/ch02s02.en.html Including non free firmware in the repositories by default had reasons. Better hardware support. However for free software people debian made another step backward. Why didn't debian also create an iso installing no non free firmware repository? It is one iso every 5 years. Because updates of the iso are not required. Am I ignorant about technical difficulties? Would a no non free firmware iso require its own updating system? Apart from the non free firmware matter, a debian iso also comes with other free software issues. I do not know them all. I can mention firefox and thunderbird. On the other hand the free software issues regarding a debian iso do not seem countless. Would it be a big task to make a free software iso version of debian and call it librean?

Thank you.

21
 
 
The original post: /r/debian by /u/Desperate-Dig2806 on 2024-12-26 06:22:05.

Hi there, looking for pointers.

Fresh install of Debian 12 on a Dell XPS 9315. Downloaded today. (Under the assumption "it just works" :))

Wifi working from "raw terminal" and if I reboot into recovery mode.

Installed KDE with:

sudo apt install kde-plasma-desktop

Nothing shows up in the wifi network manager and no connection.

sudo systemctl status NetworkManager says it's enabled but hey there might be something there I'm not getting, can't post screenshot/log since that machine has no internet connection :D

Also checked plasma-nm and that is also installed.

Any tips? Thanks!

22
 
 
The original post: /r/debian by /u/Austinitered on 2024-12-25 23:35:46.

Description:

ifconfig only shows lo, wlan0 interfaces on the rpi. Below is a printout from a diagnostic script I created. I'm pretty stumped on what to do from here? If it was actually PHY, NetworkManager wouldn't identify it right?

Some background:

  • This is on a freshly installed Raspbian instance (latest as of 12/25) with the latest eeprom version.
  • I have 4 other devices that work just fine and they were all initially using the same version. I upgraded just now as an attempt to resolve the issue.
  • I already swapped PoE hats with a working device, it's definitely this device.
  • I tried running rpi-update already and rebooted. Bring up attempt:

~ $ sudo ip link set eth0 up RTNETLINK answers: No such device

Diagnostics:

============================================
System Information
--------------------------------------------
Linux node1 6.6.67-v8-16k+ #1833 SMP PREEMPT Fri Dec 20 14:15:46 GMT 2024 aarch64 GNU/Linux
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:   bookworm
2. Kernel Version
--------------------------------------------
6.6.67-v8-16k+
3. Ethernet Device Detection
--------------------------------------------
0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
[    2.621874] mdio_bus 1f00100000.ethernet-ffffffff: MDIO device at address 1 is missing.
[    2.630020] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 112 (2c:cf:41:1f:39:4c)
[    5.861235] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.300628] macb 1f00100000.ethernet eth0: Could not attach PHY (-19)
4. PHY Attachment Logs
--------------------------------------------
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    1.626689] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    6.300628] macb 1f00100000.ethernet eth0: Could not attach PHY (-19)
5. Device Tree Information
--------------------------------------------
Device tree entry for Ethernet not found.
6. Loaded Kernel Modules
--------------------------------------------
rp1_pio                65536  0
rp1                    49152  1 rp1_pio
rp1_mailbox            49152  1
rp1_adc                49152  0
7. NetworkManager Logs
--------------------------------------------
Nov 19 07:39:38 node1 NetworkManager[618]: <info>  [1732023578.0472] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Nov 19 07:39:38 node1 NetworkManager[618]: <info>  [1732023578.0480] settings: (eth0): created default wired connection 'Wired connection 1'
Nov 19 07:39:38 node1 NetworkManager[618]: <info>  [1732023578.0480] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Dec 25 15:20:06 node1 NetworkManager[610]: <info>  [1735161606.1501] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Dec 25 15:20:06 node1 NetworkManager[610]: <info>  [1735161606.1511] settings: (eth0): created default wired connection 'Wired connection 1'
Dec 25 15:20:06 node1 NetworkManager[610]: <info>  [1735161606.1511] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Dec 25 15:22:37 node1 NetworkManager[628]: <info>  [1735161757.0760] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Dec 25 15:22:37 node1 NetworkManager[628]: <info>  [1735161757.0768] settings: (eth0): created default wired connection 'Wired connection 1'
Dec 25 15:22:37 node1 NetworkManager[628]: <info>  [1735161757.0768] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
8. Firmware and Bootloader Versions
--------------------------------------------
2024/12/19 11:57:13
version ccf64a4f0756db2e198bb3c32a2c7cde5064a260 (release)
timestamp 1734609433
update-time 1735161714
capabilities 0x0000007f
[all]
BOOT_UART=1
BOOT_ORDER=0xf461
POWER_OFF_ON_HALT=0
9. GPIO Configuration
--------------------------------------------
gpio command not found. Install wiringpi for GPIO information.
10. Summary of Findings
--------------------------------------------
Detected PHY attachment issue. Check firmware and device tree configurations.

23
 
 
The original post: /r/debian by /u/Ok_West_7229 on 2024-12-25 21:56:49.

When 13 will be released, I'm gonna follow this official documentation.

One thing that’s on my mind is whether I’ll get all the new packages bundled with Trixie that aren’t currently installed on my system.

For example, hypothetically speaking, if power-profiles-daemon were to be added ("shipped" by default) to Trixie, and it’s not currently installed on my Bookworm system—would it be pulled (installed) during the upgrade from Debian 12 to 13?

So in a nutshell: would the upgrade process ensure I get all the new default packages, just as if I were doing a clean install of Trixie?

24
 
 
The original post: /r/debian by /u/moz213 on 2024-12-25 20:24:55.

I installed Debian 12.8 xfce. I also installed the Lightdm with Lightdm-slick-greeter. After downloading and installing the Ubuntu Font family I get squares Instead of the Ubuntu Font in the login screen also in the font selector it shows squares when choosing Ubuntu Font. Any suggestions?

25
 
 
The original post: /r/debian by /u/AdLost4647 on 2024-12-25 19:21:14.

I already have 1 debian os installed but I want to install another one to use just for games. I don't want the second installation to overwrite the first one. How to install another debian os alongside it without overwriting the first one?

view more: next ›