Linux

48371 readers
1437 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
201
202
 
 

I've attached a literal screen shot of all systemd errors. It seems to be caused by kscreenlocker_greet because of a missing shared object file. The boot 9 hours ago was from a read-only snapshot, and therefore doesn't have it.

I have already tried updating with zypper dup, but that did not help.

Error as text:

PAM unable to dlopen(/usr/lib64/security/pam_pkcs11.so): /usr/lib64/security/pam_pkcs11.so: cannot open shared object file: No such file or directory
203
 
 

This is an Acer Aspire one laptop, with a 32 bit CPU and Debian 12.7. Whenever I install Linux on it, the Internet works for about one day. And when I boot it up the next day, it just stops working. This is the case for WiFi, Ethernet and USB tethering via Android.

After running networkctl it gave me this:

I can ping 8.8.8.8 in this state, but not gnu.org. I can't open websites in Firefox either.

Then I ran "sudo systemctl start systemd-networkd". The networkctl output changed but everything worked exactly as the above two images. Couldn't open websites still.

Yesterday everything was working perfectly

Edit: Thanks to @nanook@friendica.eskimo.com and @MyNameIsRichard@lemmy.ml I finally have internet access on my 12-year old e-waste!

204
 
 
marty@Marty-PC:~/git/exllama$ pip install numpy
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

I get this error every time I try install any kind of python package. So far, I always just used the --break-system-packages flag, but that seems, well, rather unsafe and breaking.

To this day, I see newly written guides, specifically for Linux, which don't point out this behaviour. They just say [...] And then install this python package with 'pip install numpy'

Is this something specific to my system, or is this a global thing?

205
206
207
 
 

I downloaded the AppImage file from the GitHub Repo and I did check that my USB Drive is connected which I can access it through my File Manager as well as Gnome's Disk Utility.

Oddly, when I tried to set an directory for Movies and TV-Shows in MediaElch, it acts like I hadn't plug my USB drive.

208
209
210
 
 
211
212
 
 

We're kicking off our 2024 end-of-year fundraiser just in time for Halloween!

Even if the spine-tingling horrors of the long dark night of Walpurgis are mostly imaginary, the sinister threats of predatory proprietary software providers remain all too real.

Fear not! We, the KDE community, will help you, your friends, family, company, and community banish all the creepy and insidious proprietary software that haunts your computers, phones, and household appliances.

But we can't do it alone! We need you to help us fight the good fight against the tech-ghouls from beyond. Use the form to donate any amount to our fundraiser (or become a regular donor to our community) and help us keep the dark forces of proprietary software at bay.

Check link for the horror stories and fundraising progress 👍

213
214
 
 

Since systemd parses fstab and generate .mount files to mount the drives at boot, I figure I might be able to get them somehow without manually converting my fstab to mount files.

edit: they're in /run/systemd/generator/*.mount

215
216
217
19
submitted 3 weeks ago* (last edited 3 weeks ago) by heartbreaker@lemmy.world to c/linux@lemmy.ml
 
 

On startup of my laptop, all wifi networks are detected, my laptop connects to the wifi, but I don't have internet and get wifi with a question mark icon.

Upon running the following command I have immediately an internet connection: resolvectl --no-pager status

Does anybody have a clue what is going on, and how to resolve it?
I am running Fedora Linux 40 (Workstation Edition) firmware Version 2.29 DNS4, DNS6 : Automatic

Edit: updated to fedora 41, and the issue seems to be resolved for now

218
 
 

Today I needed to do a clean install. I downloaded and installed the distro as usual choosing similar installer options as I did in the past (however I didn't install CUPS this time because idk what's up with that vulnerabilities).

After a reboot and fixing some systemd-boot freeze issues in BIOS, the system started and the GDM login prompt appeared without any issues. But there was no usual gear icon in the corner that lets you choose between Wayland, X11 and GNOME Classic modes.

I tried to log in but I got my usual Wayland issue (2/3 of the screen is black and 1/3 is artifacting). So I needed to switch to X11 to figure out if I can do anything about the issue this time.

I rebooted to fix the display issue and entered CLI mode (ctrl + alt + f2). I checked for xorg packages and they were indeed installed. However doing startx gave an error about XAuthority not being configured and launched an empty session with 3 or 4 xterm windows.

For those thinking of the 61st /usr/lib rule, I do not have an NVidia GPU so that's not the issue.

So, all of that made me think that new releases of EndeavourOS come with the stupid X11-less version of GNOME. Can I add the support myself via CLI or do I have to install an X11-only DE and use that to compile a version of GNOME with mandatory X11?

EDIT: everyone said that I should change the hardware but I figured out a fix myself. It turned out it was actually a distro issue.

219
 
 

Thanks to Valve's Linux graphics team, VK_EXT_device_generated_commands is now supported by the Radeon "RADV" Vulkan driver with the upcoming Mesa 24.3 release.

Prominent RADV developer Samuel Pitoiset at Valve has landed support for VK_EXT_device_generated_commands, the multi-vendor device generated commands "DGC" implementation. Last month with Vulkan 1.3.296 the VK_EXT_device_generated_commands extension was introduced to succeed NVIDIA's vendor-prefixed DGC extension. The device generated commands extension allows for the GPU device to generate a number of commands for command buffers. VK_EXT_device_generated_commands is a very big and important addition to the Vulkan API: Valve's Mike Blumenkrantz has argued that DGC is the biggest addition to Vulkan since ray-tracing.

220
 
 

Here's the situation: I use the Obsidian Flatpak with Plasma on openSUSE Tumbleweed. For a long time the Obsidian file picker was the Plasma version, and life was good. After an update of openSUSE and my Obsidian Flatpak, I'm now getting the Gnome file picker. Life now makes less sense.

I've confirmed that other Flatpaks are still using the Plasma file picker. I've also been investigating my xdg-desktop-portal configuration based off of what I've been reading here, but it all looks correct to me.

I can't decide whether this change was because of Obsidian, the Flatpak packaging of Obsidian, or an openSUSE change. Does anyone have tips on tracking this down?

221
222
 
 

What are some of the easiest ways for a beginner to make their system untable when they start tinkering with it?

223
81
submitted 4 weeks ago* (last edited 4 weeks ago) by bpt11@sh.itjust.works to c/linux@lemmy.ml
 
 

Hey there Linux community. I’ve been interested in Linux lately and have been considering switching to Linux Mint from windows 11. My main pc is a Surface Laptop Studio with an intel i7, 32g ram, 1 terabyte ssd, and an rtx 3050 ti gpu. I’m thinking about trying out dual booting to see how I like it, but I have some questions. 

I use my laptop for a lot of creative work, video editing, web design, music production, photography, etc. I’m not too worried about it because I’ve come across many promising FOSS alternatives, but there’s some software I’d like to ask about specifically. I ditched Adobe Premiere in favor of Davinci Resolve a while ago and I know that there’s a native Linux version of Resolve, and I’m just curious about how well that runs for the people that use it?

As far as music production goes I’m an avid user of Ableton Live. It’s been my go to for years and I know that support for it on Linux isn’t the best, if it’s even there at all. I’ve seen a few people claim they’ve gotten it working but it seems a little suspicious to me. So to anyone in the music space, what are the best Linux supported alternatives? Or, in the event I decide to switch, should I maintain my dual boot setup to just stick with Ableton?

I’m also pretty locked into the Microsoft ecosystem with OneDrive (I get a terabyte of cloud storage for free so it’s where almost all of my files are). I’m in the process of trying to setup my own cloud storage with nextcloud or something similar, but until then I’m curious if I’d be able to set up OneDrive live file syncing in my Linux environment, similar to how it works on windows? If anyone has any experience with that I’d love to hear some input.

Not something that’s absolutely necessary, but I’m just curious if the touch support of my laptop would be maintained. Since it’s a surface device it’s actually a really nice touch screen, and the pen input is great, my wife borrows it for digital drawing sometimes and loves it. I don’t use it all the time but I do occasionally and it’d be a huge plus if it still worked just as well.

I think those are pretty much the only things holding me back from fully dedicating myself to switching, so I’d really appreciate some input. Thanks!

224
 
 

Edit: Tumbleweed and bazzite are currently the most attractive options based on what I've learned from the comments. I will trial run those and 1 or 2 others.

I am currently on Pop OS.

I am dissatisfied with the DE/UI and I've been playing with others but half the point of this distro is it's custom UI. So I figured I would try another. I have several criteria that may narrow it down.

  1. I am going to use KDE or KDE Plasma (preferred). This is the only non-negotiable criteria.

  2. I will be gaming. This means I would like relatively up to date kernel and software. Rolling or semi-rolling releases are preferred.

2.5. I also work from this pc. This mainly entails using discord and Firefox though so no special requirements. I do have 4 different sized monitors with 3 different refresh rates that I use for work. Only one for gaming. One is vertical. I can tell I'm pushing x to its limits with that setup.

  1. I would prefer Debian-based as that is what I'm used to and because .deb packages are so common.

  2. I don't want it to be a ton of effort to set up. Pop OS worked out of the box with my Nvidia GPU and all other hardware. I am willing to put in some effort though.

  3. I have been using and very much like apt and flatpak. This is not a requirement, just an observation.

  4. Wayland is neat

  5. Active community with lots of support to search through. Pop OS has been good for this as it's Ubuntu based and has its own great community.

Ultimately I want an easy to use desktop OS that uses some sort of KDE, supports up to date packages and drivers, supports most games and isn't a pain to maintain.

Here are some contenders that fit at least some of my requirements.

KDE Neon user edition

Opensuse tumbleweed

Kubuntu

Endeavor OS

Debian

Manjaro

Bazzite

Mint Debian edition

Right now I'm leaning toward KDE Neon, Kubuntu, or Debian (whatever the rolling release version is), but the others all have their draws. I've heard the aur is great but I have come across several applications only available in website downloads of Deb packages so I'm hesitant.

I have been using pop as my first desktop distro after Windows and I've enjoyed it a lot. I barely run into anything I can't solve with some effort and headache and not a single game I can't play. I'd like to keep it that way.

Now that that's out of the way, does anyone have suggestions? Am I looking in the wrong direction? Am I asking the wrong questions? Should I just install arch, live in the terminal, and throw away my mouse? /s

Thank you all for your advice in advance.

225
 
 

Personally, to keep my documents like Inkscape files or LibreOffice documents separate from my code, I add a directory under my home directory called Development. There, I can do git clones to my heart's content

What do you all do?

view more: ‹ prev next ›