Tag forwarded X11 connection as remote
Michal Srb
msrb at suse.com
Tue Oct 3 18:23:01 AEDT 2017
On pondělí 2. října 2017 14:56:33 CEST Peter Stuge wrote:
> > SSH should mark the connection as remote, so X server knows to not
> > attempt things that can not work remotely.
>
> I was suggesting to make them work. But it depends on what the fd is of
> course. If it's a device handle then I think your suggestion is the only
> approach that makes sense.
It is a device, usually /dev/dri/card0 or similar.
Most applications do not really require DRI(3), they just try to use it for
direct rendering. If DRI(3) is not available, they will render using other
methods which work fine remotely.
The same situation was so far with DRI2 or SHM, but attempts to use those at
least gave an error, so the application knew to fallback to something else.
DRI3 does not fail, the file descriptor just gets lost.
Michal
More information about the openssh-unix-dev
mailing list