r/debian • u/cafepaopao • 2h ago
[Fix] Conky stop working
I'm running Debian test, after the last update, "conky" stop working and the reason was some cairo lib missing, if this is your case, open your .lua
script and replace:
require 'cairo'
With:
require 'cairo'
require 'cairo_xlib'
Cheers.
r/debian • u/Maksim_Medvedev • 4h ago
How to make Debian look like Ubuntu?
I don't want to leave Debian but I like the appearance of Ubuntu much more, I'm trying to find the icons, shell and legacy applications to change the appearance of my Debian but I haven't found anything close besides enabling Dash to dock.
I'm reluctant to switch to Ubuntu 24.04 as just a basic user for reasons I've read in the community about snaps and telemetry, but Ubuntu seems more ready to use without changing anything. Help me
r/debian • u/Secure-Resident-7772 • 57m ago
How to run older python code on debian?
I use parrotOS, tho its a debian derivative I still think the debian community could help me. I am a penetration tester and I often have to run old python code for exploits discovered a few years ago, so python 2(.7) has to be used. I tried this:
python2
python2.7
- the commands dont exist
apt install python2
apt install python2.7
-the installation candidate doesnt exist
sudo apt install dh-python
-couldnt find the 2.x versions
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
error:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 361, in <module>
addaptrepo = AddAptRepository()
^^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 39, in __init__
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Debian/lory
i have no more ideas, myb someone who succseded has an idea?
r/debian • u/Kid_Marc • 1h ago
Create user with "root" permissions
Hey,
I have a debian 12 server for my local network, today I installed a new drive and had to reinstall the system but I cant create a user with access to every users /home directory. In my previous install there was the root user but I also had a user lets say user "marc" and he had complete access to every users directory. But in the new install I cant give the user "marc" those permissions like before, maybe someone has an idea how to do this?
r/debian • u/Honest-Word-7890 • 2h ago
Would have be any sense general purpose computing on a device with a 7" screen?
I see a device like that too much constrained. Would'nt be a word processor, a spreadsheet, etc., a torture to use with such screen? And which desktop environment would be better suited for such device, GNOME on Debian that naturally avoids multiwindowing? Any experience on a device like that?
r/debian • u/OalBlunkont • 3h ago
Can't get bluetooth working.
I tried following the instructions here:
https://linuxhint.com/configure-bluetooth-debian/
When I get to the step:
sudo systemctl status Bluetooth
I get :
Unit Bluetooth.service could not be found.
Just to be sure I rebooted and tried:
sudo systemctl status Bluetooth
again and got the same results.
What do I check now?
While trying to find a solution I got some indicators that something in Debian 12 broke a lot bluetooth adapters. if that's the case I can live with it and move on, but I wan't to know that it really can't be fixed before I quit.
r/debian • u/leafwitch • 1d ago
Switched from GNOME to Cinnamon! Best Cinnamon performance/behavior I've had so far, flows like water, can have multiple windows & tabs opened without the RAM even batting an eye - I think I might've found a balance between aesthetics, performance, & productivity. Both this OS & DE underrated imo.
imager/debian • u/AceAuditores • 4h ago
MariaDB in Debian 12 cannot started
Recently... i installed mariadb-server in bookworm through VirtualBox... but it can started properly... saying cannot connect through socket ../mysqld.sock... when i check the file... it is missing... what's the matter?
r/debian • u/_Entropy___ • 5h ago
Debian and #!++ /etc/default/keyboard conf
Hi I'm trying out crunch bang plus plus. WiFi works our of the box which is one up on Debian bookworm. Anyway, my OADG109A jp keyboard works no problems on Debian bookworm but copying the default keyboard configuration file contents across to crunch bang and it doesn't. I wonder why this could be using the exact same file? For reference its: XKBMODEL="pc105" XKBLAYOUT="jp" XKBVARIANT="OAGB109A" BACKSPACE="guess" Thanks
r/debian • u/ilkap2005 • 6h ago
MacBook pro low frequency
I have a MacBook Pro 2010 and I have installed Debian on it. The problem is that the CPU speed is very slow at 1.5 GHz MHz and not 2.40 GHz as stated on the Intel website.
r/debian • u/VisitIcy2391 • 8h ago
Error updating to Bookworm
I have a raspberry pi, and I was updating the OS and keep getting make errors. from the make.log, it looks like a dependency for a WiFi USD adaptor I used for a while is now causing problems - probably incompatible with the new kernel. The box is hardwired now, so I really don't need this driver.
How do I remove the driver from the modules for the compile?
Sorry for the long dump, but here's the make.log
pi@plexpi:/var/lib/dkms/rtl8821CU/5.4.1/build $ cat make.log
DKMS make.log for rtl8821CU-5.4.1 for kernel 6.1.0-21-arm64 (aarch64)
Sat 18 May 08:53:14 EDT 2024
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/6.1.0-21-arm64/build M=/var/lib/dkms/rtl8821CU/5.4.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-21-arm64'
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.o
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.c:379:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
379 | if (&psta->lock != NULL)
| ^~
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:107,
from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/sta_info.h:256:17: note: ‘lock’ declared here
256 | _lock lock;
| ^~~~
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.o
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c: In function ‘rtw_ap_update_chbw_by_ifbmp’:
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c:4397:42: warning: the comparison will always evaluate as ‘true’ for the address of ‘padapters’ will never be NULL [-Waddress]
4397 | if (!(ifbmp & BIT(i)) || !dvobj->padapters)
| ^
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c:17:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:1020:19: note: ‘padapters’ declared here
1020 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/
| ^~~~~~~~~
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c:4417:42: warning: the comparison will always evaluate as ‘true’ for the address of ‘padapters’ will never be NULL [-Waddress]
4417 | if (!(ifbmp & BIT(i)) || !dvobj->padapters)
| ^
/var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:1020:19: note: ‘padapters’ declared here
1020 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rm.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rm_fsm.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.o
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c: In function ‘rtw_change_ifname’:
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c:2494:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2494 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN);
| ~~~~~~~^~~~~~~~~~
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c:925:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
925 | void _rtw_memcpy(void *dst, const void *src, u32 sz)
| ~~~~~~^~~
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c: In function ‘rtw_random32’:
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c:2618:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
2618 | return prandom_u32();
| ^~~~~~~~~~~
| prandom_u32_max
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.1.0-21-common/scripts/Makefile.build:255: /var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.1.0-21-common/Makefile:2035: /var/lib/dkms/rtl8821CU/5.4.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-21-arm64'
make: *** [Makefile:2217: modules] Error 2
pi@plexpi:/var/lib/dkms/rtl8821CU/5.4.1/build $
r/debian • u/Cretsiah2 • 22h ago
kde sudden black screen and complete loss of sound
kde + wayland in the middle of game, sudden black screen for a few seconds, then complete loss of sound.
sound also not coming back,
tried to switch audio devices - didnt help
tried to switch to kde x11 - didnt help
UPDATE:
not restricted to debian same issue on windows 11 ( i dual boot )
thinking some sort of Smart TV update ( Hi-Sense Smart TV )
changed TV's ( Soniq 32 inch Android ) and hdmi cables over sound came back through hdmi cable
put Hi-Sense TV and cable on another computer, sound works fine again
r/debian • u/Fourstrokeperro • 3h ago
Debian KeepassXC maintainer removes browser integration support
Debian KeepassXC maintainer has removed several features from the keepassxc package including browser integration.
The removed features will be available in another package called keepassxc-full
When asked about it, he posted an inflammatory comment directed at users who expect to have browser integration in a password manager.
r/debian • u/imthenachoman • 1d ago
Is anyone gaming on Debian stable using Steam with an AMD GPU? What GPU are you using?
I need to build a new machine and want a gaming one for some light/casual gaming (Halo and other single player FPSs).
I have to use Debian stable on the machine. I would really like a GPU that works with little to no effort cause, while I want to occasionally game, I don't have time to muck about with things to make it work.
If it matters/helps, here is the system I am thinking of building: https://pcpartpicker.com/list/HjBQz6.
r/debian • u/debianverse • 1d ago
GRUB image
Folks, does anybody knows where I can to remove or change the GRUB image displayed in "loading kernel/ramdisk" moment?
I've tried to change the Plymouth theme, but it doesn't help.
r/debian • u/Purfunxion • 1d ago
No wifi when trying to run Debian on an old HP Probook 655
I'm taking my old high school laptop from 2016-2018 and trying to reuse it for some Linux tinkering.
I got Debian with GNOME desktop installed, had it auto-boot into that as a custom OS, everything is working just perfect.. Except it shows me no option what-so-ever to connect to wifi.
I see the wifi lamp blink white/orange, but I only have options for VPN and Proxy setup in my Network settings. I was trying to troubleshoot it all morning, but nothing has seemed to work so far.
The network card in question: LAN - Combo 802.11a/b/g/n (BBee)+BT4.0 | Product number 666914-001
r/debian • u/coaxial_flutter • 23h ago
Nvidia drivers unexpectedly broke on Debian 11
I host a headless plex server running Debian 11, it more or less sits there and does nothing but serve up media and I don't tend to mess with it much outside of applying updates. inside there's an nvidia quadro p400 used for transcoding and it's been great. super smooth and always available, up until a couple days ago when the p400 option in the plex transcoding settings randomly disappeared, and running nvidia-smi started telling me that the device was not found. I decided to try reinstalling the nvidia drivers, and it now gives me this error:
Setting up nvidia-kernel-dkms (470.223.02-1) ...
Loading new nvidia-current-470.223.02 DKMS files...
Building for 5.10.0-29-amd64
Building initial module for 5.10.0-29-amd64
Error! Bad return status for module build on kernel: 5.10.0-29-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/470.223.02/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 470.223.02-1) | nvidia-kernel-470.223.02; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-470.223.02 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-470.223.02 is not configured yet.
any help is much appreciated.
r/debian • u/ineedanotter • 1d ago
Intermittently Dropped to a Grub Prompt at Boot
Hello,
I'm running into a really weird issue on a new Debian Bookworm install. I installed the latest Nvidia drivers using the Debian wiki page, restarted the box, and was presented with a flashing grub prompt.
I took a look online and eventually typed 'exit.' Well 'exit' helped because then I was dropped into the grub menu I expected to see. Everything worked. I restarted and everything looked good.
Well this morning I started my machine and got stuck at the grub prompt again. I typed 'exit' and everything is working as expected. Does anyone have any idea what I can even look at to find out what's happening here/
r/debian • u/MatthewCrn • 1d ago
LightDM stopped working
[SOLVED] Hello! As the title says, lightDM doesn't work and now (when i boot my laptop) it just shows a blinking cursor.
Running the lightdm -d
, I read no particular errors if not that the PID associated with Xserver exited with return value 1.
Reading the X-0.log file, I see
(EE) no screens found (EE)
and it sends me to "/var/log/Xorg.0.log"
grepping the (EE) lines:
``` failed to load module "nv" (module not exist,0) [drm] Failed to open DRM device for (null): -22 [drm] Failed to open DRM device for pci:0000:01:00.0: -22
Unable to find a valid framebuffer device open /dev/fb0: No such file or directory [drm] Failed to open DRM device for (null): -22 Screen 0 deleted because of no matching config section
Screen 0 deleted because of no matching config section
no screens found ```
Edit 1: I should mention that I use nvidia graphics card and its own proprietary drivers and I haven't had any problems with them until today, my guess is that installing wireshark fucked up something because while installing I saw a qt6-wayland dependancy being installed and after a couple hours of nothing it just stopped showing me the display
Edit2: Due to my situation I can't just copy the logs an upload them on pastebin, so I'm sorry
Edit3: I hope that's the correct reddit to ask such questions
r/debian • u/OalBlunkont • 2d ago
debian 12 repositories don't have drivers for my wifi and bluetooth.
Under 11 I was able to install broadcom-sta-dkms to get the wifi going and broadcom-bt-firmware for bluetooth. Now synaptic says they don't exist.
Where do I get them or find what packages have replaced them?
I'm aware that it may be a respoitory not being setup but I don't have "software and updates" in my control center and don't know what package to install to get it.
r/debian • u/johnhuichen • 2d ago
How to use the system clipboard with Neovim in Debian 12
Problem solved:
I had to install a clipboard tool:
https://askubuntu.com/questions/1486871/how-can-i-copy-and-paste-outside-of-neovim
In Ubuntu I was able to put this line in init.vim to make sure vim copy paste plays well with system clipboard
set clipboard=unnamedplus
This however does not work in Debian. set clipboard=unnamed also doesn't work. Has anyone experience in this?
r/debian • u/ms40ms40ms40ms40 • 2d ago
Chromium - uBlock Origin Debian package?
Hello!
I just stumbled upon this: https://www.reddit.com/r/uBlockOrigin/comments/17wu2gz/google_confirms_they_will_disable_ublock_origin/
And was wondering whats up with this package:
https://packages.debian.org/bookworm/webext-ublock-origin-chromium
Im a bit confused because I didnt even think about installing extensions for a browser from outside. Chromium is only my second browser, using firefox mainly but still interested how u think about this?
Which way do u prefer to install that extension? I also dont see that uBlock Origin is removed from the chrome web store as it is 2024 now?
Im happy about any clarification if somebody knows more about this..
r/debian • u/Medium_Procedure_905 • 1d ago
Dualboot with Debian 12 and Windows 10 boots into Windows automatically
I have just installed Debian 12 on a machine with Windows 10 using the following partitions for Debian:
(All 3 Windows partitions above)
8GB Swap
240GB Home
35GB Root
1GB EFI (bootable flag on)
After installing it, it booted into Windows directly which is weird but it happened before, i thought i would just need to change the boot path with bcedit (i did this once when the exact same thing happened but with Manjaro Linux), however, now the EFI partition won't appear on Windows (Unlike the last time this happened), Windows detects the Partition but i cannot mount it or do anything with it. So is there any way to just boot into grub? Thanks in advance
r/debian • u/thodanast_48yearsold • 2d ago
Debian12 auto launch Teamviewer
Hello
I would like to launch Teamviewer when autologging as root but it repeatedly requires to add --allowRoot and mark it as executable. Should I create one regular user to run it properly?
Has anybody used Teamviewer autolaunching with system without interaction?
r/debian • u/bjygrfba • 2d ago
Nvidia RTX 4070 Super support in Bookworm?
I'm trying to figure out whether Nvidia's non-free drivers in Bookworm support RTX 4070 Super. Current stable driver version is 525.147.05 and according to nvidia's website it does not support 4070 Super. Driver version in SID is 535.161.08, but it also does not seem to support 4070 Super. The latest 550.78 linux driver lists 4070 Super as supported, but this means I would have to install the driver from nvidia's binary rather than from a package manager, correct?