551
171
submitted 3 months ago* (last edited 2 months ago) by Coki91@lemmy.world to c/linux@lemmy.ml

Hello, I am writing this because this topic was at first a question I had and I couldn't find an answer to it, information about it online is scarce and outdated so here I am to share what I have figured out; so

Let's establish things

  • Remote Machine = The device processing the program/audio and holding the files, streaming them over to the Local Machine
  • Local Machine = The device which initiates the connection to the Remote Machine, hears the audio, interacts with the programs and receives the files requested

What we'll be using (L/R means Local or Remote respectively)

  • SSH (openSSH) L&R
  • waypipe L&R
  • pipewire, pipewire-pulse and wireplumber L
  • sshfs L
  • Any wlroots based Compositor L
  • Any Terminal Emulator L
  • FUSE L

In my case my compositor of choice will be Labwc, keep in mind all of the components used have a lot of options and you could benefit from checking out whats hot in each of them, I will only cover settings up to things WORKING

First things first install the packages and on the Local Machine make sure you have your sound system running for your User, if you hear audio already you should be okay otherwise review your specific distro documentation on how to start the services

For example on Arch: systemctl start pipewire pipewire-pulse wireplumber --user

Next is to start your Compositor of choice and open up a terminal emulator, you should first make a connection from the Local Machine to the Remote Machine with SSH and your credentials so

For example: ssh -p 7777 -l user 192.168.100.2

Managed to connect to your Remote Machine? Great now we'll need to do the set-up, we're going to need to make an environment variable set automatically on each SSH login

This variable has to set-up on SSH LOGIN ONLY as to not disturb the Remote Machine's local audio playing for when it is used locally, there might be many ways to setup this, in my case I'm gonna add this line to ~/.bash_profile

For example: if ! [ "x${PULSE_SERVER}" = "x" ]; then rm ${PULSE_SERVER#*:} fi

This will automatically execute on login, evaluating if it's an SSH login, and adding the environment variable PULSE_SERVER which will tell applications running locally (On the Remote Machine) that the audio socket is the SSH socket we will forward, which sends it back to your Local Machine's Audio Service (Encrypting it)

Next we would like to remove the audio socket when we're done so it doesn't bloat our filesystem right? We can add a script to ~/.bash_logout for this purpose just like we just did

For example: if ! [ "x${SSH_TTY}" = "x" ]; then rm ${PULSE_SERVER#*:} fi

When this is done, we can exit the Remote Machine's shell and everything is basically ready on the Remote Machine

Now on our Local Machine we have to modify our SSH command to forward the audio socket we have mentioned prior

For example: ssh -p 7777 -l user -R $XDG_RUNTIME_DIR/pulse-server-"$RANDOM":$XDG_RUNTIME_DIR/pulse/native 192.168.100.2

The important part is -R $XDG_RUNTIME_DIR/pulse-server-"$RANDOM":$XDG_RUNTIME_DIR/pulse/native which creating the UNIX Stream socket on the remote machine and giving it the name "pulse-server" + a random number to prevent multi-session conflicts and linking it to your Local Machine's audio socket

This makes applications on the Remote machine talk directly to your Local Machine's audio server and playing it there, everything basically functions as if it were running Locally, due to this the audio stream is uncompressed, you might want to add -c to the SSH command for all the data to be streamed with compression if you have limited data plans

Next up we should set-up waypipe, this application allows forwarding both Wayland native applications AND wayland compositors themselves, so if there is an X11 only application you can't forward through Waypipe, you can start a compositor instead and use it from there (Wine games, to say my use case) just like a Remote Desktop

For example: waypipe --video h264 ssh -p 7777 -l user -R $XDG_RUNTIME_DIR/pulse-server-"$RANDOM":$XDG_RUNTIME_DIR/pulse/native 192.168.100.2

In my example command, I use hardware accelerated video encoding which greatly increases performance, you may just want to use waypipe alone however which uses default settings, I highly recommend reading waypipe documentation for achieving the best performance for your setup and test it with your application of choice

For example: WLR_RENDERER=gles2 Labwc (executed on the Remote Machine Shell, will open it on your Local Machine's Compositor)

Finally, for setting up Remote File Access we use sshfs prior to connecting to the Remote Machine, this utility mounts a Remote Filesystem on a local directory through SSH and FUSE using the sftp protocol which is all encrypted

For example: sshfs -p 7777 user@192.168.100.2:/home/user/RemoteDirectory/ /home/user/LocalDirectory/

Nice, now we have it all set up and ready to work, we can finally make it convenient to use, in my case I prefer to run all of this as a script easily accessible on my terminal as a single command that executes the script located on my scripting environment, and we add two more commands that just unloads the Remote Filesystem mount when we're done

For an example script:

sshfs -p 7777 user@192.168.100.2:/home/user/RemoteDirectory/ /home/user/LocalDirectory/
waypipe --video h264 ssh -p 7777 -l user -R $XDG_RUNTIME_DIR/pulse-server-"$RANDOM":$XDG_RUNTIME_DIR/pulse/native 192.168.100.2
umount /home/user/LocalDirectory/

Let's say we create this script and it's saved in our home folder, we just have to make it executable (chmod +x scriptdir) and run it from our Terminal Emulator

For example: ./Remote\ Machine1.sh

And it will automatically set up everything for us and ask for our Credentials, we have a perfect workspace that imitates that of a remote desktop experience, on Wayland (may not be exclusive to this but that's what I'm doing here)

Did I miss anything? Have suggestions? Let me know what can be done better and I'll update this post, thanks for reading and have a good one

552
55
submitted 3 months ago by Batmorous@lemmy.world to c/linux@lemmy.ml

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

I was trying to think for a couple days on what can be done to make Linux phones a reality. Then I realized the EU is already pushing for more Open Source/ Linux to be made so why not make the most of it?

So if I may make a couple suggestions for Europe Linux enthusiasts and collectively all of us to push for:

1st. For EU and Europe to partner up with PostmarketOS, Mobian, Ubuntu Touch, and FSF Librephone Project to fund/produce/distribute open source repairable changable OS linux phones . Then for future tablets.

2nd. For EU and Europe to partner up with KDE, Framework, and Tuxedo Computers to fund/produce/distribute Laptops/Computers

Linux Community over there has so much ability to grow Linux if everyone there collectively gets it done. I humbly request you do that and I’ll do the same. Who should I call to get all this going as well? Want to help do this in a way that benefits all sides while keeping those projects independent

(I would have posted this on LinuxPhone but this community is way bigger and still open source related)

Really hoping all of you in and out of Europe and EU can push for it to be done.

"Help me, Obi-Wan Kenobi, You're My Only Hope"

553
7
submitted 3 months ago by ferramroberto@diggita.com to c/linux@lemmy.ml

VLC resterà gratuito per sempre: il suo creatore ha rifiutato offerte milionarie per venderlo. Una scelta che onora la filosofia open source e la libertà degli utenti. Ecco la storia #VLC #OpenSource

554
28
submitted 3 months ago by arsus5478@lemmy.ml to c/linux@lemmy.ml

debian 13.1, yt-dlp 2025.10.14

I'm wondering is this a regular occurrence meaning google changed something in the code again which renders this application useless and I just have to wait till the yt-dlp developers release an update and it works again or if it's something more serious.

error reads: ERROR: unable to download video data: HTTP Error 403: Forbidden

I also changed the MAC and username to get the same error message. Now I'm thinking about proxifying my computer, so each time I use yt-dlp it runs through tor, but I have no idea how to do it.

help appreciated.

555
33
submitted 3 months ago by Pondis@lemmy.world to c/linux@lemmy.ml

I have always been tempted by Linux, and the past few times I have tried it, I spent days setting it up, only to be forced back to Windows.

I want to be more committed, and create a support network before I format everything and start again.

I use my PC for gaming and work. For work I connect to the system via a vpn client which has a linux version, so thats ok

Games are mostly Steam, though I occasionally play Fortnite with my son, and I am aware Heroic/Lutris can help with that.

The last time I installed Linux (Ubuntu) my second monitor kept switching from extend to mirror. It might not sound like a big deal, but having to change it back every time it went to sleep was a pain, and it never happened on Windows which just worked. I also had some trouble with dark mode, some apps would set the text to white but not the background to black, so you couldnt read anything.

The time before I think I was using Mint, there was an issue with the boot script which made boot up times take up to 15 minutes which again just doesnt happen on Windows.

I dont know Linux enough to be able to sort these things myself, and I have tried message boards, but it can take days for a reply, if you get a reply at all.

I have heard a lot of people are switching to Bazzite, but does it have a desktop like other OSes, or is it just gaming? Its hard to figure out.

Is one of these better for support, advice, compatibility?

556
82
submitted 3 months ago* (last edited 3 months ago) by KarnaSubarna@lemmy.ml to c/linux@lemmy.ml
557
82
submitted 3 months ago* (last edited 3 months ago) by ayyo@sh.itjust.works to c/linux@lemmy.ml

Just wanna preface, I'm not trying to like attack Gentoo or anyone that uses it, I just wanna understand lol

I'm like an intermediate Linux user I'm definitely not an expert, and Gentoo is something I'm still quite confused about. To me it just seems unnecessary, like the real version of people making Arch just seem incredibly complicated. Does anyone actually use it as a daily driver? Why? Is it just for the love of the game? Is there some specific use case I've not heard or thought of?

558
69
submitted 3 months ago by Professorozone@lemmy.world to c/linux@lemmy.ml

Ideally, I would prefer to dual boot ( two different drives if necessary) Windows 11 and Linux Mint. From what I understand, the crap Microsoft is pulling now will prevent this. Is it because of bitlocker?

Either way, another option would be to dual boot windows 10 and Linux mint. I would keep Windows 10 offline, which is why I would prefer to dual boot Windows 11, since it and Linux would both be online.

So are either of these scenarios realistic?

I'd like to get answers before my post is deleted. So thank you in advance.

559
51
submitted 3 months ago by Aequitas@feddit.org to c/linux@lemmy.ml

My kernel version is ‘6.8.0-87-generic’ and hers is ‘6.14.00-33-generic’. My brother, who uses CachyOS, has kernel version '6.17.1-2-cachyos'. So it makes a little sense that the kernel is different. Even though I always thought that there was just one kernel that all Linux versions use.

But why is there a different kernel for the same distro?

560
11
KDE Plasma 6.5 Rilasciato (www.linuxeasy.org)
submitted 3 months ago by ferramroberto@diggita.com to c/linux@lemmy.ml

KDE Plasma 6.5 è finalmente disponibile! Dalla transizione automatica tra tema chiaro e scuro agli angoli arrotondati per le finestre, questa versione rappresenta l'equilibrio perfetto tra innovazione e usabilità. #Linux #KDE #Plasma #OpenSource

561
288
submitted 3 months ago by JRepin@lemmy.ml to c/linux@lemmy.ml

How do you make a great desktop into a fantastic desktop? Easy — chip away at the rough bits, polish the good stuff, and add awesomeness. After 29 years of development, KDE’s got the foundation nailed down. Plasma 6.5 is all about fine-tuning, fresh features, and a making everything smooth and sleek for everyone.

Ready to see what’s new? Let’s dive into Plasma 6.5!

Highlights:

  • Automatic Theme Transitions: Configure when your theme will transition from light to dark and back.
  • Caret Text Navigation: Zoom now swoops in to where you type
  • KRunner Fuzzy Search: Even if you type it wrong, KRunner will find it!
562
7
submitted 3 months ago by testman@lemmy.ml to c/linux@lemmy.ml
563
5
submitted 3 months ago by ferramroberto@diggita.com to c/linux@lemmy.ml

Liquorix Kernel 6.17 è disponibile per gli utenti Linux: prestazioni desktop migliorate, supporto hardware aggiornato e ottimizzazioni per carichi multimediali #Linux #Kernel

564
43
submitted 3 months ago by warmaster@lemmy.world to c/linux@lemmy.ml

I thought this would be relevant to Linux, since the options available to us Linux users are either unmaintained, hard to use, require a subscription, an account, or to upload your content to a server.

BentoPDF is the opposite of all that.

I just hope they add a dumb-proof way to install it (PWA? Flatpak?) for easy access.

565
847
submitted 3 months ago by uszo165@futurology.today to c/linux@lemmy.ml
566
15
submitted 3 months ago by hperrin@lemmy.ca to c/linux@lemmy.ml
567
45
submitted 4 months ago by zquestz@lemmy.world to c/linux@lemmy.ml
568
5
submitted 4 months ago by Xavienth@lemmygrad.ml to c/linux@lemmy.ml

Over the past several days, I have been trying to install Linux on my surface pro 2 because Windows is having issues with hogging memory, which is preventing me from finishing a drawing.

First I tried Linux Mint. After several freezes of the Bluetooth program, I was able to get my 8bitdo controller to connect, however i learned that neither using it as a wireless keyboard nor as dinput works. Mint was not detecting input from either mode, but it could detect xinput. Krita, however did not recognize the inputs because they were not keyboard keys, so i had to install a program to convert xinput signals to key presses.

Additionally, the on-screen keyboard on Mint has two options: always on when enabled, or on when a text box prompts. The former sucks to use because you have to toggle the keyboard in accessibility settings every time you want to turn it off or on, and the latter never detected a single text box in my experience. So the on-screen keyboard simply doesn't work on Mint.

I tried installing Kubuntu. I installed the Linux surface drivers recommended on r/SurfaceLinux. This resolved an issue where the pen and eraser were seen as the same. My controller also worked Flawlessly in keyboard mode right out of the gate. The Bluetooth program didn't freeze once. The on-screen keyboard is also acceptable. By all accounts the experience was a significant improvement.

Then I tried calibrating my pen. This did not work. The cursor was consistently 2-3 mm up and to the left of where i was holding my pen. KDE with wayland also does not support non-linear digitizer calibration. This is a problem because the errors in my tablet's digitizer are non linear. On windows I had created a script to add extra calibration points to rectify this. I can't do this in KDE with wayland. I could switch to X11, but then all the QoL improvements for touch screen/tablet use would be gone.

So I've been fiddling for hours trying to make a script in krita that will allow me to correct my pen inputs with an error matrix. Krita is refusing to even recognize the script is even there. Probably a Krita problem, not Linux, but blegh. I wouldn't have to do this if the system pen calibration worked.

But of course, my 5 year old experience with how troublesome Linux was is invalid today, and Linux has gotten so much better and Just Works™ now /s

569
168
My experience with Arch (sh.itjust.works)
submitted 4 months ago by utnapishtim@sh.itjust.works to c/linux@lemmy.ml

Hello everyone, lately I got really into Linux. I installed it in every machine I have, but I still had to try Arch. From what people were saying online I thought that it was going to be a hard and impossible task. So I bought a Thinkpad for a hundred euros (x260 if you're wondering) and I followed a guide on how to install Arch. I thought I was going to be using the terminal all the time, and had to type everything. No black screen of death, no prompt saying "Are you awake?" Matrix style, the pc didn't breack, reality didn't bend and just following simply the guide I had Arch running in fifhteen-twenty minutes no problem. Only the Network Manager wasn't on were I rebooted after installation but it took five minutes to search online how to fix it. Everything works: bluetooth, internet, apps and so on. I could leave it as it is and I could just use it as any other pc. So all I'm saying is that I'm having a great time with Linux distros, the pain to learn how install repository and other things is really worth it. Every time I learn something more about my computer puts me more in control. So thank you Linux and its community.

570
72
submitted 4 months ago* (last edited 4 months ago) by 721_bipsty@lemmy.ml to c/linux@lemmy.ml

Hello, I wanted to share my Artix Install Script, its not best but i think its pretty nice.

https://gitlab.com/user1312/ais

Features:

  • Nice tui with themes

  • Booster which is super fast initramfs

  • Automatic/manual partition of disk

  • Possible to mount more disks

  • Filesystems: ext4,btrfs,xfs

  • Swap: file, partition, zram

  • Encryption of root partition (FDE in future)

  • Inits: dinit, runit, openrc, s6

  • Bootloader: refind, efi stub, none

  • Aur helper: yay,paru,tritzen,yaourtix,none

  • Kernels: mainline, lts, zen

  • Shells: bash,zsh

  • Network: networkmanager,connman,iwd,dhcpcd

  • Graphics: nvidia,intel,amd,nouveau,legacy nvidia

  • Some Environments: hyprland,kde,niri,bspwm and more

  • Login Manager: sddm,greetd

  • A lot of modules

571
33
submitted 4 months ago by Stopwatch1986@lemmy.ml to c/linux@lemmy.ml

Is there a simple GUI application that will monitor running processes periodically and alert the user when a process is not running? The ones I have found are far too complex (eg Monit). I am sure this is trivial to achieve with a script, but I'd rather use a GUI.

A use case would look like this: every 60 minutes check if Syncthing is running and display a notification if it's not. In my experience, Syncthing is very reliable when it launches successfully but there may be an issue with conflicting versions that may prevent it from running at boot. Syncthing has no way to alert the GUI user when something goes wrong and you may find after you left home that your laptop hasn't synced. Checking manually is a headache, prone to errors and goes against the idea of fit and forget.

(Debian Trixie with KDE Plasma)

572
567
submitted 4 months ago* (last edited 4 months ago) by marcie@lemmy.ml to c/linux@lemmy.ml

Generated via ublue's countme script https://github.com/ublue-os/countme/blob/main/growth_global.svg

Here is Fedora's upstream graph to compare:

573
62

cross-posted from: https://piefed.ca/post/133958

Note: I'm not affiliated with Jolla.

574
19
submitted 4 months ago by Mark12870@lemmy.world to c/linux@lemmy.ml
575
66
submitted 4 months ago* (last edited 4 months ago) by GooseFinger@sh.itjust.works to c/linux@lemmy.ml

It started freezing maybe a month or two ago. It happens anytime between a few seconds after the OS loads, to hours or days later. I do not recall downloading anything around when this issue began that could be suspect.

I've put off fixing this because I have no idea how to even begin troubleshooting it. Internet searches for "Linux freezes" returns practically countless potential problems.

What are some recommendations? I have my root directory on a 30 GB partition separate from my home directory, which I think makes reinstalling my base image (Debian) easy without losing personal data, so that's an option. Maybe there's a system log file that would provide some insight?

I'm Linux dumb so please teach me how to fish!

I'll add that my Windows install (on a separate drive) doesn't freeze, and my Linux install is on a new Samsung drive that didn't report issues, so the problems unlikely hardware related.

02:05 18OCT: Thanks for all the quick responses, a lot of helpful suggestions so far. I should clarify that "my computer freezes" means it is 100% unresponsive until it is rebooted. Ctrl+alt+del spam or changing terminal sessions when its frozen does not get a response. The last few entries in my most recent journalctl boot outputs are different from one another, and the I did not see any errors. For now, I'll boot a live USB and let it sit for while, see if it crashes again.

view more: ‹ prev next ›

Linux

62524 readers
234 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 6 years ago
MODERATORS