Linux

46013 readers
939 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
1
 
 

For me, I really want to get into niri, but the lack of XWayland support scares me (I know there’s solutions, but I don’t understand them yet).

Also, I stopped using Emacs (even though I love its design and philosophy with my whole heart) because it’s very slow, even as a daemon.

2
3
4
 
 

Hello so today fedora/linux cannot find any audio devices and it randomly started happening

Update: removing Pulseaudio and running Plasma-pa helped ty for the nice comments tho No help required anymore

5
6
7
 
 

Hi everyone,

This is my CONTAINERFILE for Bind9:

FROM debian

ENV LC_ALL C.UTF-8

# Update and upgrade system
RUN apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y

# Install BIND 9 and sudo (for debugging if needed)
RUN apt-get install -y bind9 bind9-dnsutils bind9-libs bind9-utils sudo

# Configure permissions for BIND directories
RUN mkdir -p /var/cache/bind /var/lib/bind /var/log/bind
RUN chown -R bind:bind /var/cache/bind /var/lib/bind /var/log/bind
RUN chmod 664 /var/cache/bind /var/lib/bind /var/log/bind
RUN chmod -R 664 /var/cache/bind /var/lib/bind /var/log/bind

# Create and configure log files
RUN touch /var/log/bind/default.log /var/log/bind/update_debug.log /var/log/bind/security_info.log /var/log/bind/bind.log
RUN chown -R bind:bind /var/log/bind
RUN chmod 644 /var/log/bind/*.log

# Define volumes
VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log/bind"]

# Set the entrypoint to the named executable
ENTRYPOINT ["/usr/sbin/named"]

# Set the default command arguments for the named executable
CMD ["-g"]

I keep getting this error when I run it with podman:

26-Jul-2024 03:18:21.328 loading configuration from '/etc/bind/named.conf'
26-Jul-2024 03:18:21.328 directory '/var/cache/bind' is not writable
26-Jul-2024 03:18:21.332 /etc/bind/named.conf.options:2: parsing failed: permission denied

As you can see from the CONTAINERFILE, the bind user should be able to read and write to /var/cache/bind but for some reason it doesn't.

I have been at this for a while and I'm at my wits end. Your help is appreciated!

8
 
 

This is my first post on my new site, I hope someone finds it helpful!

9
 
 

geteilt von: https://discuss.tchncs.de/post/19377025

[...] I announce that our move off of wlroots is now complete and MR 6608 is now merged.

10
11
 
 

Running EndeavourOS and found a few games that have had some issues on linux, that I have found to be pretty much unfixable.

Unfortunately that would mean using a windows dualboot, and I really don't want windows on this laptop.

Would there be a way to run a windows VM with passing through the dgpu (AMD RX 6700m GPU), BUT able to use the dgpu when the VM is powered off? Unless I'm misunderstanding the guides, the gpu would be "locked" to the VM, and that would be unacceptable as I would mostly game on the host OS.

This is probably a given but the laptop does have integrated graphics as well (AMD Ryzen 7 5800H).

Any potential help would be appreciated, thanks!

12
 
 

I've been on Linux for close to a year but I'm still kinda a newbie and the past 40 something hours have been really testing me.

I had my 4tb backup HDD break on me in a strange way, it still mounts and at first glance seems to still be working, But KDE throws an error saying the drive won't mount (even tho it is?) and I'm unable to copy files from it using Gui or Term commands it just freezes up without throwing an error message, It also freezes after using Ls more than once or twice on it.

Now last night I used clonezilla to copy the entire drive to a portable HDD of the same size, now that drive is giving me the same issue. So I'm assuming it's a software issue and not the drive itself? at least for the 2nd drive.

I already tried fsck to no avail and I'm abit stumped on where to go from there. Any help would be great!

Edit: Should also add the drives EXT4

Update: At the directions of a Gentoo nerd I know. I'm currently in a live boot of Ubuntu copying files to another drive and they seem to be working so far.

Part of the issue might with my few month old install of Endeavour, But I'm still gonna replace the drive. I already paid for a new on.

Another Update: I was able to recover the majority of my files to other drives by running an Ubuntu live USB and copying them over on that, So seems something on my main install was preventing me from copying files? Either way the drive itself is still done for and I got two others on the way to replace it, I've also reinstalled my distro as I was having some bugs with it anyway.

13
 
 

Hello, I'm kinda new in Linux and I've downloaded openSUSE Tumbleweed, since here all right but I wanted to put the language in Hawaiian, this one specifically, and I didn't found the language in the main languages, could I install it from other place, I've found this link from Ubuntu https://askubuntu.com/questions/1449257/where-can-i-find-a-list-of-the-languages-supported-by-ubuntu-in-the-ui they were talking about this but for Ubuntu, how could I install the pack for openSUSE. I appreciate every help, thank you.

14
68
submitted 2 days ago* (last edited 1 day ago) by EvolvedTurtle to c/[email protected]
 
 

So like I was trying to install Davinci resolve (an editing program) and while doing so it basically said "removing" followed by that appears to be everything installed on my computer

So I nope right out of there and I notice a bunch of important things are missing ex: the terminal, file manager, etc

So I just decided Maybe if I reboot everything will be a ok

And now on this screen and it won't even let me enter my logic

This was the latest update of Kubuntu And idk what I did wrong or how I got here

I've only been using Kubuntu for probably about 4 months ish

Edit: please help

Edit 2: I got it working by reinstalling Kubuntu as suggested, Thank you for the help :>

15
16
 
 

So I've been playing Forza Horizon 4 for a while without any issues using a XBox One Controller via Bluetooth. First i used Proton experimental and later Proton GE. Absolutely no problem.

Now however, the controller is not being recognized in game anymore (the on screen buttons show keyboard keys, not gamepad buttons) and I can't use any of the buttons (except the screenshot one). In the Steam menu, the controller test settings, big picture mode etc. it works fine and its recognized normally.

I didn't make any changes (before it happened, now of course it tried a bunch of stuff) but I did upgrade the system normally.

Any ideas what might have caused this issue?

17
 
 

I've only used ufw and just now I had to run this command to fix an issue with docker.
sudo iptables -I INPUT -i docker0 -j ACCEPT
I don't know why I had to run this to make curl work.

So, what did I exactly just do?
This is behind my house router which already has reject input from wan, so I'm guessing it's fine, right?

I'm asking since the image I'm running at home I was previously running it in a VPS which has a public IP and this makes me wonder if I have something open there without knowing :/

ufw is configured to deny all incoming, but I learnt docker by passes this if you configure the ports like 8080:8080 instead of 127.0.0.1:8080:8080. And I confirmed it by accessing the ip and port.

18
 
 

I'm using sunshine for remote gaming on my Linux PC. Because I use Wayland and don't have an Nvidia I use kmsgrab for capture (under the hood sunshine uses ffmpeg).

I have noticed that I can enter tty and kmsgrab will capture it as well. If it just captured after logging in my user I wouldn't be surprised, but it also captures the login screen.

I autostart it at login using my systemd user configuration (not systemwide) so it should just have my user's permission level. I get the same results if I put it in KDE's autostart section, so it's not a systemd thing.

Why does that work? Shouldn't you need special privileges to capture everything?

The installation instructions tells you to do sudo setcap -r $(readlink -f $(which sunshine)) is this the reason why it works? What does the command do exactly?

19
20
21
31
submitted 2 days ago* (last edited 2 days ago) by BrianTheeBiscuiteer to c/[email protected]
 
 

Couldn't find the project in my browser history or Lemmy saves. I'm pretty sure it was Lemmy though that led me to find a GitHub project similar to OSTree. It sounded like it was maintained by one person and it hasn't been updated in a long time because the author thought it was "done" and they used it frequently.

It was a tool that let them basically create images that could be booted from and it was easy to layer software on top of a base image and I think there were config files similar to Containerfiles but didn't look the same. Don't think it be was "goldboot" either but that might be a little closer to what the project does. I don't think it was something Fedora specific either like bootc.

Update: Found it! It was in the history of a laptop I rarely use (of course). The project is https://github.com/godarch/darch and it does appear to be those things I said: layered, docker-like, bare metal, and OS agnostic.

22
23
 
 

All I wanted is to install the current yt-dlp (2024.07.16-1) on debian 12.6.

Suggested way to that according to https://packages.debian.org/sid/all/yt-dlp/download is to add that line to that file (etc/apt/sources.list), but do I really need to download the 1600 files that upgrade would entail?

I don't want to download the tar.gz 'cause upgrading that would be a pain.

24
25
 
 

I am trying to install Fedora KDE 40 on my HP laptop alobside windows 11 on a 40 GB partition. for some reason, installation works fine but gts stuck at 'Generating initramfs' i cant see any other issues and USB access is fine. what could be going wrong?

view more: next ›