I think you want
export DISPLAY=:0.0
or just
export DISPLAY=:0
----- Original message -----
From: "Jesse Gorzinski" <jgorzins@xxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: "IBMi Open Source Roundtable" <opensource@xxxxxxxxxxxxxxxxxx>
Cc: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: [IBMiOSS] YNT: ssh with x11
Date: Thu, Oct 28, 2021 12:55 PM
In my old notes (from ??? years ago) I say to also set "X11UseLocalhost
yes"
I doubt this helps you, but throwing it out as something to try.
"OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx> wrote on 10/26/2021
02:18:16 PM:
> From: "Nihat Ezer via OpenSource" <opensource@xxxxxxxxxxxxxxxxxx>
> To: "IBMi Open Source Roundtable" <opensource@xxxxxxxxxxxxxxxxxx>
> Cc: "Nihat Ezer" <nihatezer@xxxxxxxxxxxxxxxxxxxxx>
> Date: 10/26/2021 02:18 PM
> Subject: [EXTERNAL] [IBMiOSS] YNT: ssh with x11
> Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
>
> Kevin,
>
>
>
> Not setting DISPLAY to localhost, i get the following message:
>
> $ ssh -Y -v myuser@as400test
>
> ..
>
> ..
>
> Warning: No xauth data; using fake authentication data for X11
forwarding.
>
> debug1: Requesting X11 forwarding with authentication spoofing.
>
>
>
> > xterm
>
> debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max
16384
>
> debug1: client_request_x11: request from 127.0.0.1 44392
>
> Could not find ':' in DISPLAY: needs-to-be-defined
>
> debug1: failure x11
>
> X connection to localhost:10.0 broken (explicit kill or server
shutdown).
>
>
>
> --
>
> Cheers,
>
> Nihat
>
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [1]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [2]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [3]
https://amazon.midrange.com ;
References
Visible links
1.
https://lists.midrange.com/mailman/listinfo/opensource
2.
https://archive.midrange.com/opensource
3.
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.