<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with ssh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268213#M749451</link>
    <description>Dear Bharat,&lt;BR /&gt;&lt;BR /&gt;DISPLAY is already well configured because it is possible to send a window to my PC (the xclock window). It looks like something to do with Xlib but I don't know anything about that.</description>
    <pubDate>Wed, 05 May 2004 11:55:00 GMT</pubDate>
    <dc:creator>marc seguin</dc:creator>
    <dc:date>2004-05-05T11:55:00Z</dc:date>
    <item>
      <title>Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268211#M749448</link>
      <description>I have openssh (v3.7.1p2) and openssl (v0.9.7c)&lt;BR /&gt;on my HP UX-11i.&lt;BR /&gt;I use PuTTY to connect to my HP server from my PC, with "X11 forwarding" enabled.&lt;BR /&gt;&lt;BR /&gt;If I execute "xclock", i can see the clock window on my PC. But If i execute "xterm", i have the error message (on HP server) :&lt;BR /&gt;Xlib: connection to "localhost:10.0" refused by server&lt;BR /&gt;Xlib: Authentication failed at PuTTY X11 proxy&lt;BR /&gt;Error: Can't open display: localhost:10.0&lt;BR /&gt;Error: Couldn't find per display information&lt;BR /&gt;&lt;BR /&gt;Please help...&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 05 May 2004 09:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268211#M749448</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2004-05-05T09:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268212#M749450</link>
      <description>Try doing this:&lt;BR /&gt;#xhosts + (on HP server)&lt;BR /&gt;#export DISPLAY=&lt;IP of="" local="" machine=""&gt;:0.0&lt;BR /&gt;&lt;BR /&gt;then execute:&lt;BR /&gt;#xterm&lt;/IP&gt;</description>
      <pubDate>Wed, 05 May 2004 11:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268212#M749450</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-05T11:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268213#M749451</link>
      <description>Dear Bharat,&lt;BR /&gt;&lt;BR /&gt;DISPLAY is already well configured because it is possible to send a window to my PC (the xclock window). It looks like something to do with Xlib but I don't know anything about that.</description>
      <pubDate>Wed, 05 May 2004 11:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268213#M749451</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2004-05-05T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268214#M749452</link>
      <description>It could also have something to do with the X server on your PC. FWIW, I've seen instances where certain apps won't run because of an incomplete implementation on the PC's X Server. IE: "RENDER extension missing". Then again, I've no personal experience with PuTTY's X11 Forwarding.</description>
      <pubDate>Wed, 05 May 2004 13:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268214#M749452</guid>
      <dc:creator>Lee Hundley</dc:creator>
      <dc:date>2004-05-05T13:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268215#M749453</link>
      <description>if you are running, on your pc, something like reflexion X, it is really strange that you see the xclock but not the xterm. But if you are running a little known x-server, like winaxe (which I unfortunately was using at one time in history) or some other home/usergroup brew xserver, see Lee Hundley's comment. Some xserver implementations are realyy halfbaked and good for nothing most of the time.&lt;BR /&gt;&lt;BR /&gt;also, on the server side, are you really sure that the DISPLAY variable is set and your xterm command does not have a -d directive to specify the display as localhost. Because, from the error messages, it seems like your hpux server is trying to launch the xterminal on itself instead of your PC.&lt;BR /&gt;&lt;BR /&gt;hth</description>
      <pubDate>Wed, 05 May 2004 15:05:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268215#M749453</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-05T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268216#M749454</link>
      <description>I found this doing a google search:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;10.12 "Authentication failed at PuTTY X11 proxy"&lt;BR /&gt;This error is reported when PuTTY is doing X forwarding. It is sent back to the X application running on the SSH server, which will usually report the error to the user.&lt;BR /&gt;&lt;BR /&gt;When PuTTY enables X forwarding (see section 3.4) it creates a virtual X display running on the SSH server. This display requires authentication to connect to it (this is how PuTTY prevents other users on your server machine from connecting through the PuTTY proxy to your real X display). PuTTY also sends the server the details it needs to enable clients to connect, and the server should put this mechanism in place automatically, so your X applications should just work.&lt;BR /&gt;&lt;BR /&gt;A common reason why people see this message is because they used SSH to log in as one user (let's say "fred"), and then used the Unix su command to become another user (typically "root"). The original user, "fred", has access to the X authentication data provided by the SSH server, and can run X applications which are forwarded over the SSH connection. However, the second user ("root") does not automatically have the authentication data passed on to it, so attempting to run an X application as that user often fails with this error.&lt;BR /&gt;&lt;BR /&gt;If this happens, it is not a problem with PuTTY. You need to arrange for your X authentication data to be passed from the user you logged in as to the user you used su to become. How you do this depends on your particular system; in fact many modern versions of su do it automatically.&lt;BR /&gt;&lt;BR /&gt;It's part of the putty documention.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 May 2004 15:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268216#M749454</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2004-05-05T15:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268217#M749455</link>
      <description>Thanks to all, but it doesn't solve my problem.&lt;BR /&gt;&lt;BR /&gt;Mel, yes I use Reflexion X. And the DISPLAY variable looks OK, because PuTTY sets it to the Server name, but with a different display number (see Dave's note).&lt;BR /&gt;And when I try to launch xterm, I do "xterm &amp;amp;". Is it possible that a "-d" option could be hidden ?&lt;BR /&gt;&lt;BR /&gt;Dave, I know about the "su' problems. It can be solved with "xauth list" and "xauth add" commands. But for me, I don't change the user.&lt;BR /&gt;&lt;BR /&gt;Note : It looks like only xterm has problems. I am able to get SAM and other graphic applications (Networker, Veritas Manager) on my PC display.</description>
      <pubDate>Wed, 05 May 2004 15:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268217#M749455</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2004-05-05T15:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268218#M749456</link>
      <description>Lee, I didn't forget what you said.&lt;BR /&gt;About my X server (Reflexion X) on my PC : I know that I can get an xterm window from another HP server.&lt;BR /&gt;I just tested it a few minutes ago.&lt;BR /&gt;&lt;BR /&gt;So now i am going to compare the two configurations.&lt;BR /&gt;&lt;BR /&gt;I'll let you know if I find something...</description>
      <pubDate>Wed, 05 May 2004 15:39:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268218#M749456</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2004-05-05T15:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268219#M749457</link>
      <description>It may be a hidden -d directive somewhere. &lt;BR /&gt;you said there is a system which can display on to this reflexion X running windows workstation, which eliminates the misconfiguration of the x server on the PC&lt;BR /&gt;&lt;BR /&gt;while the successful terminal displaying on your screen, do a ps -ef | grep xterm and at the same time run the same command in an endless loop, capturing output to a file while you try starting up the xterm from the system with failures. Exemplifying:&lt;BR /&gt;&lt;BR /&gt;sys1 : where it runs and displays fine&lt;BR /&gt;sys2 : where it errors out&lt;BR /&gt;&lt;BR /&gt;on sys1:&lt;BR /&gt;export DISPLAY=a.b.c.d:0.0&lt;BR /&gt;xterm&lt;BR /&gt;ps -ef | grep xterm (after the xterminal displays on your workstation)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;on sys2:&lt;BR /&gt;create file logger.sh&lt;BR /&gt;&lt;BR /&gt;#file: logger.sh&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;ps -ef | grep xterm &amp;gt;&amp;gt; /tmp/dump&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;chmod 700 logger.sh&lt;BR /&gt;export DISPLAY=a.b.c.d:0.0&lt;BR /&gt;./logger.sh &amp;amp;&lt;BR /&gt;xterm&lt;BR /&gt;(wait until it errors out)&lt;BR /&gt;kill %1  (assuming this is the first job running in the background)&lt;BR /&gt;&lt;BR /&gt;at this point examine the /tmp/dump file to see if the command is running with a -d directive, i.e, instead of accessing the xterm binary, you may be running a script called xterm which may in turn be running the actual xterm binary with a -d option.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;also, you can try to invoke xterm using its full path name.&lt;BR /&gt;&lt;BR /&gt;if all of these did not give you anything different, assuming OS versions of sys1 and sys2 are equal, I would suggest copying the xterm binary from sys1 to sys2:/tmp/xterm&lt;BR /&gt;&lt;BR /&gt;then try to run xterm by invoking command /tmp/xterm. if this runs okay, you may probably rule that you had a corrupt binary.&lt;BR /&gt;&lt;BR /&gt;good luck.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 May 2004 18:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268219#M749457</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-05T18:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268220#M749458</link>
      <description>Set "X11UseLocalhost" to "no" in sshd_config file and restart sshd.&lt;BR /&gt;&lt;BR /&gt;For some reason, HP ships both "older" and "newer" style X applications in HP-UX. The newer ones can handle "localhost" in $DISPLAY variable, but the older ones can't. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 May 2004 08:30:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268220#M749458</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2004-05-06T08:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268221#M749459</link>
      <description>Yes Matti you got it. I found by myself before reading your post.&lt;BR /&gt;I noticed that xterm is linked to X11R5 libs. And my other applications are linked to X11R6 libs.&lt;BR /&gt;It seems that X11R5 cannot deal with the DISPLAY var set to localhost:x.x, but it needs to be like &lt;IP_ADDRESS&gt;:x.x&lt;BR /&gt;When changing the settings for ssh, it works, but it is a bit less secure.&lt;BR /&gt;&lt;BR /&gt;(Perhaps you explain that in the file attached, but I can't read it.)&lt;BR /&gt;&lt;BR /&gt;Now the question is :&lt;BR /&gt;Is there a xterm using X11R6 libs ?&lt;BR /&gt;&lt;BR /&gt;Marc.&lt;/IP_ADDRESS&gt;</description>
      <pubDate>Tue, 11 May 2004 10:59:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268221#M749459</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2004-05-11T10:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268222#M749460</link>
      <description>I found it in /usr/contrib/bin/X11 !!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 May 2004 11:56:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ssh/m-p/3268222#M749460</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2004-05-11T11:56:32Z</dc:date>
    </item>
  </channel>
</rss>

