Showing posts with label waypipe. Show all posts
Showing posts with label waypipe. Show all posts

Monday, December 15, 2025

X forwarding from a distrobox on a remote host

X11 connection rejected because of wrong authentication.

Assuming ssh is set to allow X11Forwarding, on a remote host .Xauthority will be created. But if you enter a distrobox on the remote host, the file can't be found. So in distrobox, export `XAUTHORITY` to point to the host's .Xauthority
distrobox-enter archbox
export XAUTHORITY=/run/host/home/username-on-host/.Xauthority
xeyes
It also works same when waypipe is used.

Tuesday, December 09, 2025

waypipe: "Error: Can't open display:" when using waypipe in Fedora distrobox

In ssh inside distrobox enable ForwardX11:
sudo vim /etc/ssh/ssh_config

Enable ForwardX11
ForwardX11 yes

Wednesday, December 03, 2025

Saturday, November 29, 2025