Howdy, folks! Doing X11 forwarding over ssh has been my go to way to access graphical applications on my headless server. With X11 being deprecated with its many security issues, I was slightly bummed since I thought I’d have to setup VNC or RDP.

Low and behold I stumbled across Waypipe! Made my god damn day.

  • KeriKitty (They(/It))@pawb.social
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    3
    ·
    1 year ago

    runs around in circles flailing and fancrittering about Wayland, which is (finally) (pretty) good now (for many users and usecases) :3 \ö/ 🥳

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    So how do you do it? Like, what’s the Wayland equivalent of xinit ssh -X user@remote-server startkde to forward an entire desktop session?

  • themoken@startrek.website
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    I’m also glad to see Wayland tools maturing. The hand wringing about lack of X forwarding was always FUD and a nonsense reason to cling to the fiction that X works well over a socket and justify all the shitty compromises X made to remain compatible with it.

  • jared@mander.xyz
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    I’ll have to look into it, I just enabled Wayland on my Nvidia card to see how it goes.

    • coalbus@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      As of this week I’m giving Pop OS a try (coming from Windows 11) and this will be my 4th or 5th attempt at switching to Linux but I’ve always been driven off by odd issues that have no (clear) resolution or just general weirdness like bad performance even when just using a web browser. I was having a terrible time with high resource usage just sitting at the desktop, Firefox being sluggish, the entire DE freaking out for no reason, etc. and I kinda just came to accept that that’s how it is with an Nvidia card.

      I switched Pop OS to Wayland since there’s a toggle for it right on the login screen and suddenly everything is fine. Buttery smooth experience so far in terms of performance. Very little time spent playing games on it so far, but in my experience thus far it’s been better on Wayland. In X I booted up a game just to test and it put the game on a secondary monitor, upside down, and completely unresponsive to inputs. It also scrambled all of my windows and made my resolution weird and took a while for it to recover after force quitting the game.

      In Wayland, the same game booted up with no issues, Windows-like performance, and it didn’t mess up everything else. That was AimLab which I use for testing since it’s a smallish download.

      Second test was with Halo Infinite. Wouldn’t even run under X. Tried different proton versions but nothing worked. Under Wayland it booted up and ran. The campaign worked but I was having odd issues where it was kinda like having really bad ping in a multiplayer game where you rubber band backward and forward. Or like it was showing old frames mixed in with new frames. Low performance, about 55fps when under windows it’s 90-100. Still, better than X and could probably be improved with further tinkering.

      Ramble aside, it seems like Wayland with an Nvidia GPU is going well for me so far. I’m really not familiar with the technical aspects of Wayland vs X, but from an end-user perspective, I’m liking what I see so far.

      • 1984@lemmy.today
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Yeah it’s getting better with Nvidia but you should try it with an amd card. Absolutely stunning.

    • psudo@beehaw.org
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      It’s definitely not perfect, but I’ve been running Gnome Wayland on my Nvidia card for close to 6 months, and haven’t had too many problems.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Honestly I use moonlight for my virtual desktop. My desktop isn’t Wayland yet but I will likely move it to the new COSMIC desktop when that gets released as stable

  • StrangeAstronomer@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    waypipe - yes. But also wayvnc - I’ve been using wayvnc for a couple of years to export a headless wayland session from a file server. FOr my sins I use vncviewer on XWayland to consume it as it still seems to be the fastest.