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
-----Özgün İleti-----
Kimden: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> Yerine Kevin Adler
Tarih: Tuesday, October 26, 2021 9:07 PM
Kime: opensource@xxxxxxxxxxxxxxxxxx
Konu: Re: [IBMiOSS] ssh with x11
DİKKAT: Bu e-posta kurum dışından gönderilmiştir. Zararlı dosya veya bağlantılar (link) içerebilir. Kaynağından emin olmadığınız dosyaları/bağlantıları (link) açarken veya e-postayı cevaplarken dikkatli olunuz.
NİHAT EZER | Bilgi ve İletişim Teknolojileri Çözüm Geliştirme Müdürlüğü
Adres : Rüzgarlıbahçe Mah. Çam Pınarı Sok. No: 6 34805 Beykoz/İstanbul
Santral : 0850 744 07 44
Faks : 0850 744 01 77
Web : www.anadolusigorta.com.tr<
http://www.anadolusigorta.com.tr>
E-Posta : nihatezer@xxxxxxxxxxxxxxxxxxxxx
Cep : -
________________________________
Works fine for me. xauth is at /QOpenSys/usr/bin/X11/xauth. Is it missing?
Did someone change the default PASE PATH to not include it?
Also, you don't want to set DISPLAY to localhost. That will cause X
applications to connect to X running on your IBM i system, not your local
X server.
----- Original message -----
From: "Nihat Ezer via OpenSource" <opensource@xxxxxxxxxxxxxxxxxx<mailto:opensource@xxxxxxxxxxxxxxxxxx>>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx<mailto:opensource-bounces@xxxxxxxxxxxxxxxxxx>>
To: "IBMi Open Source Roundtable" <opensource@xxxxxxxxxxxxxxxxxx<mailto:opensource@xxxxxxxxxxxxxxxxxx>>
Cc: "Nihat Ezer" <nihatezer@xxxxxxxxxxxxxxxxxxxxx<mailto:nihatezer@xxxxxxxxxxxxxxxxxxxxx>>
Subject: [EXTERNAL] [IBMiOSS] ssh with x11
Date: Tue, Oct 26, 2021 12:56 PM
Greetings,
Being new to ibm i oss, using git-bash and xming on client side, but
failed to to connect by ssh with x11
May i kindly ask if anyone here is able to connect with x11 and how to
do it, or please bag my pardon if it was already answered before?
Here is the one i gave it a try and error message received:
$ export DISPLAY=localhost:0.0
$ ssh -Y -v myuser@as400test
OpenSSH_8.4p1, OpenSSL 1.1.1i 8 Dec 2020
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to as400test [xx.xx.xx.xx] port 22.
debug1: Connection established.
..
..
debug1: Authentication succeeded (publickey).
Authenticated to as400test ([xx.xx.xx.xx]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@xxxxxxxxxxx<mailto:no-more-sessions@xxxxxxxxxxx>
debug1: Entering interactive session.
debug1: pledge: exec
debug1: No xauth program.
Warning: No xauth data; using fake authentication data for X11
forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
X11 forwarding request failed on channel 0
--
Cheers,
Nihat
NİHAT EZER | Bilgi ve İletişim Teknolojileri Çözüm Geliştirme
Müdürlüğü
Adres : Rüzgarlıbahçe Mah. Çam Pınarı Sok. No: 6 34805 Beykoz/İstanbul
Santral : 0850 744 07 44
Faks : 0850 744 01 77
Web :
www.anadolusigorta.com.tr<[1]
http://www.anadolusigorta.com.tr<
http://www.anadolusigorta.com.tr%3c[1]http:/www.anadolusigorta.com.tr> >
E-Posta : nihatezer@xxxxxxxxxxxxxxxxxxxxx<mailto:nihatezer@xxxxxxxxxxxxxxxxxxxxx>
Cep : -
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx<mailto:OpenSource@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: [2]
https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx<mailto:OpenSource-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at [3]
https://archive.midrange.com/opensource .
Help support midrange.com by shopping at amazon.com with our affiliate
link: [4]
https://amazon.midrange.com
References
Visible links
1.
http://www.anadolusigorta.com.tr/
2.
https://lists.midrange.com/mailman/listinfo/opensource
3.
https://archive.midrange.com/opensource
4.
https://amazon.midrange.com/
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx<mailto:OpenSource@xxxxxxxxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx<mailto:OpenSource-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives at
https://archive.midrange.com/opensource.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.