You are not logged in.

#1 2024-05-03 22:46:34

odror
Member
Registered: 2015-03-17
Posts: 157

ssh with X forwarding from wayland to X11 works in reverse

I have a ssh server running Wayland and a client running X11

I am able to "ssh -Y remote-host"

But when running any gui application (after connecting) it presents itself on the remote server desktop. Not on the local desktop as it should.

I am sure that I am missing something.

if I prefix the command with GDK_BACKEND=x11 I get the same results.

Offline

#2 2024-05-04 07:44:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,883

Re: ssh with X forwarding from wayland to X11 works in reverse

Do they run as native wayland or xwayland clients?

Are those GTK clients tbw?
https://wiki.archlinux.org/title/Wayland#GUI_libraries

printenv

in the ssh login, maybe you're unconditionally exporting st. like XDG_SESSION_TYPE=wayland? What's $DISPLAY ?

Offline

#3 2024-05-04 07:48:54

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: ssh with X forwarding from wayland to X11 works in reverse

Try running "env -u WAYLAND_DISPLAY your_application_here". Unsetting WAYLAND_DISPLAY should make it fall back to X.

Offline

Board footer

Powered by FluxBB