1
7
OpenSSL 3.4 released (openssl-library.org)
submitted 2 hours ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
2
41
PipeWire 1.0.9 released (gitlab.freedesktop.org)
submitted 4 hours ago* (last edited 4 hours ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml

Highlights

  • Fix an fd leak and confusion in the protocol that would cause leaks and wrong memory to be used.
  • Fix bug where the mixer would not be synced correctly after selecting a port, leaving the audio muted. (#4084)
  • Backport v4l2 systemd-logind support to avoid races when starting. (#3539 and #3960).
  • Other small fixes and improvements.

PipeWire

  • Fix a bug where renegotiation would sometimes fail to deactivate link.
  • Fix an fd leaks and confusion in the protocol.

modules

  • Fix a use-after-free in the rt module when stopping a thread.

SPA

  • Fix bug where the mixer would not be synced correctly after selecting
  • a port, leaving the audio muted. (#4084)
  • Fix a compilation issue with empty initializers. (#4317)
  • Backport v4l2 systemd-logind support to avoid races when starting. (#3539 and #3960).
  • Fix a potential crash when cleaning ALSA nodes.

JACK

  • Align buffers to the max cpu alignment in order to allow more optimizations.
3
22

Fixed a bug that could cause suspend/resume to fail when using the NVreg_PreserveVideoMemoryAllocations option: https://github.com/NVIDIA/open-gpu-kernel-modules/issues/472 Fixed a bug that caused the cursor image to be truncated on Gamescope: https://github.com/ValveSoftware/gamescope/issues/1099 Re-enabled GLX_EXT_buffer_age on Xwayland. This extension had been previously disabled on Xwayland due to a bug which is now fixed. Added support for mmap of exported DMA-BUF objects. Reduced some cases of stutter with OpenGL syncing to vblank while using GSP firmware. Fixed a regression that could cause some applications to exit due to resource exhaustion on some GPUs while using GSP firmware. Added several new per-plane and per-CRTC vendor-specific properties to nvidia-drm. These properties may be used by Wayland compositors to program the GPU's color pipeline for HDR hardware acceleration. Introduced a driver optimization to mitigate the performance loss from the 'd3d9.floatEmulation' option in DXVK. Fixed a bug that caused FarCry 5 running through DXVK to display a black screen. Updated the framelock settings page of the nvidia-settings control panel to use the GTK3 theme text color rather than defaulting to white for the text color, improving legibility with some themes. Fixed some performance regressions that were observed with Vkd3d 2.9. Fixed a bug that could cause flickering in some applications when using Unified Back Buffer (UBB). Fixed a bug which could cause incorrect and/or washed out colors to be displayed with HDR scanout: https://bugs.kde.org/show_bug.cgi?id=482780 Implemented support for VK_EXT_depth_clamp_control. Fixed a bug which could cause applications using GBM to crash when running with nvidia-drm.modeset=0. Fixed a bug that could cause kernel crashes upon attempting KMS operations through DRM when nvidia_drm was loaded with modeset=0.

4
16

Ubuntu 24.10 is available to download and install from the official website. It ships with the Linux 6.11 kernel and the latest GNOME 47 desktop enviroment. This version switches to Wayland by default for hardware with NVIDIA graphics, matching the previous Xorg transition for Intel and AMD graphics users, and uses the open-source NVIDIA 560 kernel modules by default on supported hardware. The kernel also has kdump-tools, which enables kernel crash dumps by default. This helps streamline troubleshooting by automatically capturing critical data after a crash.

Canonical also said in its blog post, "For gamers, significant improvements have also been made to the compatibility of the Steam snap, with an expanded permissions model and improved NVIDIA driver support. The Steam snap also bundles gaming-specific Mesa PPAs to deliver optimized performance out of the box when combined with the low latency settings enabled in the latest kernel."

Updates are also visible in the Ubuntu Dock, which better handles Progressive Web Applications. The OpenJDK 21 and OpenJDK 17 packages in Ubuntu have also changed and are now TCK (Technology Compatibility Kit) certified on amd64, arm64, s390x, ppc64el, and armhf. Passing the TCK tests means the OpenJDK packages for version 17 and version 21 on Ubuntu are compliant with the Java SE specification for their corresponding versions.

5
9

TL:DR : I just want xterm to not do anything special when I start typing ctrl+shift+u so I can write special character, so I must remove the ctrl+u default keybind.

I'm using xterm on a laptop (no discrete gpu and pretty bad integrated graphics, so gpu-accelerated ones like kitty are counterproductive, and I use i3 so an xorg based one sounds better). I also like using vim.

I'm also using a qwerty keyboard, but sometimes write in French and need accents. I've memorized the codes for those I often need, like ctrl+maj+u+e+9 for é, but it doesn't work in xterm because it executes the ctrl+u keybind (delete previous characters and then types "(" (because it's maj+9).

So, following online guides, I've created a .Xresource file with the following code:

XTerm.VT100.translations: #override \n\
   Ctrl <Key>U: none

And I also added the line

exec xrdb ~/.Xresources

But to no avail, even when restarting the x session or manualy running xrdb ~/.Xresources.

What am I doing wrong?

6
29
submitted 18 hours ago* (last edited 18 hours ago) by Zeon@lemmy.world to c/linux@lemmy.ml

Hello, I'm having trouble unlocking my PinePhone Pro. I went through the introduction / tutorial, set a password, connected to my WiFi, and rebooted. But ever since then, its just been this spinning circle. I tried swiping up, down, left, right, nothing. I mean I can drag down the top menu or switch to my camera, but that's about it.

How do I unlock it?

7
20
submitted 23 hours ago* (last edited 2 hours ago) by 0v0@scribe.disroot.org to c/linux@lemmy.ml

Hi there, I will preface this by saying that I'm brand new to server stuff. I have used Linux for a very long time as a personal desktop computer, but not as a server exposed to the internet. I've previously only hosted Minecraft servers for my friends and also once had a VPS for a Discord bot, but otherwise never touched servers.

I've bought a VPS and domain name (let's call it domain.com) and have spun up a Nextcloud instance with it, currently at cloud.domain.com. It's all working smoothly and I'm happy with it.

I wanted to use this VPS to host multiple services. Currently wanting to self-host the following:

  • Mail server
  • Mastodon instance
  • Matrix server
  • Static website (on domain.com)
  • Forgejo instance
  • Possibly other miscellaneous things I might want to put on it, but that's what I'm planning for now

Now this is where the noob question comes in. I want to use this same VPS to host these services, probably as Docker containers, under subdomains like mail.domain.com, mastodon.domain.com, matrix.domain.com, etc, with the root domain being used to host my static website. Is it possible to do this all on one VPS? What about all on one IP address just using different ports? e.g. could I have mastodon.domain.com pointing to the same IP address as cloud.domain.com but just a different port? How do I set up the DNS records to do this?

Currently I have an A record at domain.com pointing to my VPS's IP address (so I can ssh into it with ssh 0v0@domain.com) and a CNAME record at cloud.domain.com pointing to domain.com. This was kind of a complete guess as to how to set this up as this is my first time managing a domain name and I didn't know anything about DNS records before doing this. It seems to work with my current setup of just using the VPS for Nextcloud but obviously I want to do more with this VPS, either that or I'd like to reduce the specs of this VPS to save money as I picked an option that I imagined would be capable of hosting all these things. Is it possible to set up DNS records such that when you connect to subdomain.domain.com it connects you to a specific port? Or is that not something DNS records can do, but I can set up server-side on my VPS?

My VPS provider also lets me buy additional IPv4 addresses for the VPS, if I can't have them on the same IP address with different ports should I buy more IP addresses instead? How do I go about using different IP addresses for the same server?

Or do I need to host these services on completely different VPSes and point towards the different IP addresses with A records?

I've also heard of reverse proxies and that they might be able to achieve this, is this something I should look into or am I barking up the wrong tree here?

I know this question betrays a complete lack of knowledge as to how networking works, so please bear with me. Before someone says "well if you don't know this, you shouldn't be hosting all these services", I have been finding the experience so far (i.e. just having set up my server with Nextcloud) to be fun and educational. I learn best by doing (I have ADHD and struggle with just reading books without doing any exercises alongside it) and I'd like to try host all these services just for the sake of the experience. I'm not hosting anything critical, it is purely for personal projects and I plan to have my friends on my Mastodon and Matrix servers. If this were for something serious I agree I'd get it managed by a professional sysadmin or at least someone who knows what they're doing, but this is just for fun.

I don't need my hand completely held, like I don't need a step by step, but if I could at least be pointed towards concepts/things to research to achieve what I want, I would appreciate that. Literally if I could just be told search terms to look up that would be great, or if you have any more specific pointers than that with specific articles etc even better, or just explain on a high level how I would achieve this setup. Thanks in advance for any help!

TLDR: Is it possible to host these different services on one VPS with one IP address on different ports? If so, how do I set up the DNS records accordingly with my subdomains? If not, how should I achieve hosting these different services on different subdomains, preferably on the same VPS if at all possible?

Edit: Thank you for all the responses, sorry I couldn't give everyone an individual response, but I'm grateful for all the help. I'll look into reverse proxies :) Appreciate it!

8
176
submitted 1 day ago* (last edited 44 minutes ago) by Mwa@lemm.ee to c/linux@lemmy.ml

Which is the better option + spinning a vm is possible and ltsc the only issue is I have to repirte a windows license for ltsc(and according to Microsoft ltsc was mostly designed for embedded systems) thanks for any help and I decided to post it on the linux community bcs I couldn't find a suitable place to post it and this is related to linux but man I love linux tho and if I go with the jumpship method I have to sadly leave some games behind like roblox (it's fine due to some moderation issues bad games etc etc but ngl its a fun game ik sober exists but i kinda dont wanna use a android emulator to play roblox i could use it since its our only option for linux and also i need to wait some time for my affinity subscription to end orrrr i try running it on bottles/wine again)
Edit: I have delete roblox due to 2 reasons one to ease deleting windows and their management

9
65
submitted 1 day ago by joel1974@lemmy.world to c/linux@lemmy.ml
10
48
11
30
submitted 1 day ago* (last edited 23 hours ago) by N0x0n@lemmy.ml to c/linux@lemmy.ml

TIL something new... My hate for MacOS took over common logic. 2.8GB, 3 seconds file transfer on USB was to beautiful to be true. After some further investigation and hints from @JonnyRobbie@lemmy.world @nanook@friendica.eskimo.com I learned that Linux writes to cache before writing it to the device, to see whats happening in the background: sync & watch -n 1 grep -e Dirty: /proc/meminfo.

Still, the transfer speed on Linux was slightly faster than on MacOS. My rant was unjustified, It just my fault for being clueless on some more advanced Linux stuff. But I learned something new today, so this post was actually helpful !

Howerver, I still hate MacOS and will probably give Asahi remix a try.

Thanks to everyone !


Hey guys ! I'm getting tired/bored of MacOS' shenanigans... Yesterday was the last drop that make me think of trying an alternative.

While trying to upload a 2.8 GB file over to an USB-C stick it took like 8 minutes? Okay that's "good" enough if you only do it from time to time... But 25 files takes literally 1h30min... Are we in 2001?

I mean the exact same 2.8GB file, with the exact same USB-C stick took FU***** 3 seconds on Linux !!

Ohh and don't think I didn't tried to "fix" the issue, after a long search on the web I came across a lot of people having similar issues that aren't fixed since 2 major updates? With a total radio silence from the shiny poisonous Apple...

Among other things I tried:

  • Disable Spotlight indexing sudo mdutil -a -i off
  • Reformat the USB stick from Mac
  • All available filesystem FAT32, exFAT...(yes even MacOS native APFS)
  • Another USB stick
  • ....

Enough is enough. I was willing to learn their way of thinking for my personal experience and somehow always got my way around to reproduce what I learned on Linux to Mac. But now that there is an alternative OS, I think I'm ready to get back home.

So does anyone here already gave Asahi Remix a try? If so what was your experience with it?

I read their FAQ and most of their documentation and it seems good enough for daily drive (except for some quirks here and there) but I wanted to hear from people who already made the jump and how was their personal feeling.


PS: I got that MacOS for my birthday from a family member with good intentions. That wasn't a personal choice. While I'm more than happy and thankful for the gift, I totally hate it more and more... Especially because MOST of my self-hosted services, applications, scripts, are open source.

12
197
submitted 1 day ago* (last edited 1 day ago) by mfat@lemdro.id to c/linux@lemmy.ml

I had a Chinese Android box gathering dust in a drawer. It had been sidelined because it was stuck on an outdated version of Android, with no updates in sight from the manufacturer. I started considering alternatives like a Raspberry Pi or a budget x86 mini PC to set up a PVR with TVheadend. But before placing an order, I wondered if I could repurpose the Android box as a Linux server. After all, it had decent specs: an Amlogic S905X2 chip, 4 GB of RAM, and 32 GB of internal storage.

A quick search revealed that it was possible to boot Linux on the box using a microSD card or USB stick. Within an hour, I had CoreELEC up and running. One of the great things about CoreELEC is the ease with which you can install Docker and TVheadend. This meant that my forgotten Android box was now transformed into a functional Linux server.

I hooked up a TV tuner (yes, I'm aware it's not exactly cutting-edge, but I need OTA TV for work) and installed TVheadend. It essentially turned the box into a budget-friendly HDHomeRun. I even set up AdGuard Home and configured my router to use it as a network-wide ad blocker.

Once you have Docker running, the possibilities are endless. To my surprise, I even discovered that you can boot Armbian on these inexpensive boxes and use them as a lightweight desktop. Or turn them into a router or pihole box using openwrt.

13
230
14
34
submitted 1 day ago* (last edited 1 day ago) by BobGnarley@lemm.ee to c/linux@lemmy.ml

What am I doing wrong here? The computer has Windows 11 on it but I don't want to use it I want it all the way off the machine.

Can this installer not overwrite the Windows OS with Debian? Edit: Just want to say thanks to all of you I'm going to experiment around with the advice you all have given and see how it works out! Absolutely love the passion and helpfulness of this community here on Lemmy for real!

15
28
16
34
submitted 1 day ago by BobGnarley@lemm.ee to c/linux@lemmy.ml

On Debian's website it is saying to write the image to the USB stick I should use a bash script "# cp Debian.iso /dev/sdX

sync"

Is there another way to do this without using root access?

17
87
submitted 2 days ago* (last edited 2 days ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml

Userland library functions such as allocators and threading implementations often require regions of memory to act as 'guard pages' - mappings which, when accessed, result in a fatal signal being sent to the accessing process.

The current means by which these are implemented is via a PROT_NONE mmap() mapping, which provides the required semantics however incur an overhead of a VMA for each such region.

With a great many processes and threads, this can rapidly add up and incur a significant memory penalty. It also has the added problem of preventing merges that might otherwise be permitted.

This series takes a different approach - an idea suggested by Vlasimil Babka (and before him David Hildenbrand and Jann Horn - perhaps more - the provenance becomes a little tricky to ascertain after this - please forgive any omissions!) - rather than locating the guard pages at the VMA layer, instead placing them in page tables mapping the required ranges.https://lore.kernel.org/lkml/cover.1729196871.git.lorenzo.stoakes@oracle.com/

18
149
submitted 2 days ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
19
29
How do you deploy in 10 seconds? (paravoce.bearblog.dev)

cross-posted from: https://lemmy.world/post/21065836

Hi friends, as promised, I'm back with my second post. I'll be hanging around in the comments for any questions!

In this post, I take a look at a typical deployment process, how long each part of it takes, and then I present a simple alternative that I use which is much faster and perfect for hobbit software.

20
51
submitted 2 days ago by warmaster@lemmy.world to c/linux@lemmy.ml

My old 4790k finally died, and I need to replace both the CPU & MB. I was wondering if there would be any conflict in having an AMD CPU and an Nvidia GPU.

I want to use Bazzite on it. I'm running the same distro on my main rig and I'm very happy with it.

Any suggestions?

21
57
submitted 2 days ago by Tippon@lemmy.dbzer0.com to c/linux@lemmy.ml

I've got a Linux server running Xubuntu at the moment (It was a media player first), and it also runs two Minecraft servers for the family. It has two network cards that are both connected to the internet. Is there a way to bind the VPN to one of the cards and use the other one for regular use?

I've got Surfshark as my VPN, and it doesn't allow port forwarding under Linux. I've got some software that I want to keep behind the VPN, but the lack of port forwarding is stopping me from sharing the Minecraft servers, and when the VPN is active, it slows down the connection to some of my services like Plex.

I've tried to look it up, but I just don't know enough to get myself anywhere. I've found results that talk about name spaces and routing tables, but they assume a level of knowledge that I just haven't got yet.

I want to use the Arr suite and qBittorrent as the main programs behind the VPN, and Plex, Mylar (a comic manager), Syncthing, and Minecraft as the main programs without it. If I set up qBittorrent and the Arrs as Docker containers, can I use Gluetun to bind just them to the VPN? The VPN is using OpenVPN connections if that makes a difference.

Thanks in advance :)

22
20
submitted 2 days ago by dullbananas@lemmy.ca to c/linux@lemmy.ml
23
120
submitted 3 days ago by Tekkip20@lemmy.world to c/linux@lemmy.ml

Greetings, I am asking whether Linux has helped your family or not going from Windows to a friendly distribution that caters to young or elderly.

How was your experience with helping relatives or your kids with Linux? Was it because of an older spec machine? Costs etc?

I helped get my grandmother (dad's side) to move from windows 8.1 to Linux Mint which so far has been good, she only really browses and required some basic budgeting apps.

This was on something like an older core i3 or i5 but I didn't hear that many problems apart from getting drivers for her Epson printer to work.

So how has it been for you?

24
55
submitted 3 days ago by muhyb@programming.dev to c/linux@lemmy.ml

I like my Breeze-hacked cursor but I think it's time to find a native Wayland replacement.

I have some problems with X11 cursors and that's quite normal with Wayland obviously. For example, my cursor can become invisible if my screen sleeps. Additional controllers that control mouse cursor don't control X11 cursor, however they still work, I just don't know where the cursor is unless it highlights something. Things like this.

It's becoming kinda inconvenient so I'm asking for a replacement. Currently I don't really care how it looks.

I'm on River by the way.

25
116
submitted 3 days ago by MyNameIsRichard@lemmy.ml to c/linux@lemmy.ml
view more: next ›

Linux

47819 readers
574 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