@nigelsezyarr It works! The secret was to add a ~/.ssh/environment file which defines XDG_RUNTIME_DIR, and to enable PermitUserEnvironment in /etc/ssh/sshd_config .
Display forwarding works again!
I'm trying to use #Waypipe to run graphical #Emacs, with the display forwarded to my laptop. But when I connect to my headless box, I get an error, "Env. var XDG_RUNTIME_DIR not available, cannot place display socket for WAYLAND_DISPLAY="wayland-BBZVb0ra" "
I can confirm that when I ssh into the headless box that XDG_RUNTIME_DIR exists. This is all on #Debian Stable (with emacs-pgtk from Unstable).
Does anyone have an idea what I should do?
#waypipe #emacs #debian #wayland
@publicvoit RE: x-forwarding:
I have used X11 forwarding before (to a mac no less) but I don't have personal experience with forwarding on Wayland. Have you tried #waypipe ?
Does anyone know if #Debian #Bookworm will have #PipeWire as the default sound server? It is currently the default in Fedora, and Ubuntu 22.10 will have it as a default later this year, so I presume so.
I'm looking forward to using #waypipe for network transparency without X.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999363
#waypipe #pipewire #bookworm #debian
PipeWire: A year in review & a look ahead
https://www.collabora.com/news-and-blog/blog/2022/03/08/pipewire-a-year-in-review-look-ahead/
I am most interested in #PipeWire because, as I understand things, with #WayPipe it will allow me to run programs with network transparency [0], without X Windows.
Coming in the next stable release of #Debian , https://tracker.debian.org/pkg/waypipe .
[0] E.g., I will be able to run PGTK #Emacs on computer A, with a graphical interface on computer B.
#emacs #debian #waypipe #pipewire
@alatiera @wyatwerp I watched that presentation a few years ago, and it made me feel very optimistic about #Wayland. I have to say, at this point in time, I don't notice any difference -- I suppose that means that the transition has been successful.
In terms of network capability, if I understand correctly, #Waypipe is the first program that provides similar functionality to what X had.
@wyatwerp @redstarfish Supposedly Wayland allows some sort of network transparency via Waypipe. I haven't found much information about it though. Since I run Debian Stable, I'll probably try Waypipe for myself in another few years...
In any case, #emacs is not giving up its X front-end, it's only adding a pure #GTK one.
@mobian those looking into remote forwarding might also be interested in exploring #waypipe
( thanks to https://social.librem.one/@chrichri/105666613468202272 )
@chrichri Thanks for the pointer to #waypipe, this seems like a good way to facilitate #convergence between devices, e.g. a @mobian #pinephone and your #linux laptop.
#waypipe #convergence #pinephone #linux