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.
runs around in circles flailing and fancrittering about Wayland, which is (finally) (pretty) good now (for many users and usecases) :3 \ö/ 🥳
Fancrittering is my new favorite word 🥰
Yaaaay I’m glad to provide this to you ^.^ :3
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?From the source, mostly
s/xinit/waypipe
: https://gitlab.freedesktop.org/mstoeckl/waypipe#usageThat looks promising. Thanks!
I love that this notation is generally accepted among the linux nerds. Lemmy FTW :)
To be fair, if you’re deep enough into Linux to use xinit, it’s extremely unlikely you’ve never used sed before.
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.
I’ll have to look into it, I just enabled Wayland on my Nvidia card to see how it goes.
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.
Yeah it’s getting better with Nvidia but you should try it with an amd card. Absolutely stunning.
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.
Whoot! Perhaps wayland can be a thing after all ;)
I’ve just enabled Wayland on my Nvidia card to see how things go. https://lemmy.ml/post/8569836 doodle jump
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
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.