89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
10.18k stars 419 forks source link

[Error] Cannot open X windows via ssh with custom home directory #1518

Closed phoppermann closed 1 month ago

phoppermann commented 3 months ago

Describe the bug When creating a distrobox with a custom home directory, X windows do not open anymore when ssh-ing to the distrobox host.

To Reproduce

Expected behavior The X window opens as without --home.

Desktop:

Additional context Copying .Xauthority from the host solves the problem. Can/should this happen automatically?

89luca89 commented 1 month ago

No it shouldn't this is because having different Xauthority relies on having different homes