<?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: X authentication question (points!) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057115#M737962</link>
    <description>Shalom Steve,&lt;BR /&gt;&lt;BR /&gt;syslog is empty.&lt;BR /&gt;&lt;BR /&gt;But /var/adm/messages has:&lt;BR /&gt;&lt;BR /&gt;Jul  6 11:27:01 tcsun15 sshd[566]: [ID 800047 auth.error] error: Bind to port 22 on :: failed: Address already in use.&lt;BR /&gt;&lt;BR /&gt;But I couldn't figure out what that means.&lt;BR /&gt;&lt;BR /&gt;In any event the solution for me for the time being was to download a new JRE version (1.6 vs. 1.4.2), maybe Java was the main problem anyway in my setup.&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian</description>
    <pubDate>Mon, 09 Jul 2007 08:46:56 GMT</pubDate>
    <dc:creator>Christian Deutsch_1</dc:creator>
    <dc:date>2007-07-09T08:46:56Z</dc:date>
    <item>
      <title>X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057113#M737960</link>
      <description>Hi folks,&lt;BR /&gt;&lt;BR /&gt;I have 2 servers behind a firewall, wall17.&lt;BR /&gt;&lt;BR /&gt;HP-UX server has tunnelled X connection (ssh -X) to my X server (a VNC X server).&lt;BR /&gt;&lt;BR /&gt;I want to display an xclock window from a Solaris server (solserv) on my (tunnelled) HP-UX server's display. I did: xhost solserv on the HP-UX server and set DISPLAY on solserv to point to the HP-UX server's display, but when I tried to open xclock I got:&lt;BR /&gt;&lt;BR /&gt;"X11 connection rejected because of wrong authentication." in the HP-UX server's terminal.&lt;BR /&gt;&lt;BR /&gt;Can someone explain to me how I can get authentication to work here?&lt;BR /&gt;&lt;BR /&gt;Points will be awarded for all helpful answers!&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian&lt;BR /&gt;&lt;BR /&gt;P.S.I really want to get this to work, so trying to use solserv's tunnelled X connection is not a good option for me unless you have an idea how I can really speed that connection up.</description>
      <pubDate>Mon, 09 Jul 2007 07:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057113#M737960</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2007-07-09T07:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057114#M737961</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Ideas:&lt;BR /&gt;&lt;BR /&gt;xhost +&lt;BR /&gt;# Maybe there is a name resolution issue.&lt;BR /&gt;Does the user exist on both systems?&lt;BR /&gt;# Maybe it really is an authentication issue.&lt;BR /&gt;Check the syslog on the Solaris system.&lt;BR /&gt;# Always helpful&lt;BR /&gt;See about compressing the data stream with solserv's tunnelled X solution.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Jul 2007 08:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057114#M737961</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-07-09T08:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057115#M737962</link>
      <description>Shalom Steve,&lt;BR /&gt;&lt;BR /&gt;syslog is empty.&lt;BR /&gt;&lt;BR /&gt;But /var/adm/messages has:&lt;BR /&gt;&lt;BR /&gt;Jul  6 11:27:01 tcsun15 sshd[566]: [ID 800047 auth.error] error: Bind to port 22 on :: failed: Address already in use.&lt;BR /&gt;&lt;BR /&gt;But I couldn't figure out what that means.&lt;BR /&gt;&lt;BR /&gt;In any event the solution for me for the time being was to download a new JRE version (1.6 vs. 1.4.2), maybe Java was the main problem anyway in my setup.&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian</description>
      <pubDate>Mon, 09 Jul 2007 08:46:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057115#M737962</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2007-07-09T08:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057116#M737963</link>
      <description>Normally, just by using ssh -X should be enough, no xhost or DISPLAY commands needed.&lt;BR /&gt;&lt;BR /&gt;Check your X11Forwarding option in ssh config file.</description>
      <pubDate>Mon, 09 Jul 2007 16:40:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057116#M737963</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-07-09T16:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057117#M737964</link>
      <description>Also, check the permissions and ownership of your $HOME/.Xauthority file.</description>
      <pubDate>Mon, 09 Jul 2007 17:16:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057117#M737964</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-07-09T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057118#M737965</link>
      <description>Can you clarify in your setup tou have 2 servers (HP-UX and Solaris) or 3 Servers (HP-UX, Solaris and your X-Server)??&lt;BR /&gt;&lt;BR /&gt;Assuming the former, the problem is you're using Ssh X forwarding and you're setting your display as if there is not Ssh X forwarding/tunnelling.&lt;BR /&gt;&lt;BR /&gt;When Ssh X (or any form of) tunnelling is configured, you have to set your display to locahost:&lt;DISPLAY&gt;.&lt;BR /&gt;&lt;BR /&gt;Check which port X forward port is configured to start at in your sshd.conf file on your HP-UX server, then set the display for it, then run xclock.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jov &lt;BR /&gt;&lt;BR /&gt;&lt;/DISPLAY&gt;</description>
      <pubDate>Mon, 09 Jul 2007 18:09:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057118#M737965</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2007-07-09T18:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057119#M737966</link>
      <description>Ivan, I'm not sure you took enough time to understand the problem, maybe I did not express myself clearly enough. Permissions for .Xauthority are 600 root: on both systems (I am root on both systems). X tunnelling works fine for both Solaris and HP-UX systems but I thought maybe network throughput is better on the HP-UX system, that was why I wanted to try using the X DISPLAY on the HP-UX system (which is actually tunnelled using ssh, there is no X server running on the HP-UX system).&lt;BR /&gt;&lt;BR /&gt;Jov, your assumption was wrong, I have 2 servers, HP-UX and Solaris, and an X server which is on a third system (tunnelled through the firewall to the HP-UX server using ssh).&lt;BR /&gt;&lt;BR /&gt;As I mentioned in my previous reply to this post, I "fixed" the problem for now by updating my Java version on the Solaris server so I'm not in urgent need of an answer to the "X11 connection rejected" question. I just thought maybe someone would know right away what the problem might be.</description>
      <pubDate>Tue, 10 Jul 2007 01:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057119#M737966</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2007-07-10T01:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057120#M737967</link>
      <description>If you have a connection to server1 with X forwarding your DISPLAY on server1 will usually be something like localhost:10.0. In that case you can not set your DISPLAY on another machine to server1:10.0 because the only forwarded X11 port will be on server1's loopback interface. Once you get ssh to forward on the external interface instead you'll have to export the xauth cookie on server1 and import it on server2 to grant server2 access to the fake X session ssh creates.&lt;BR /&gt;&lt;BR /&gt;The basic idea of exporting your DISPLAY probably wouldn't have helped your problem anyway. Sending the display data directly from server2 to desktop or relaying through server1 will send the same amount of data over the wire, you just add a hop. Unless you're changing the network path in a significant way it would probably perform the same or slightly worse.&lt;BR /&gt;&lt;BR /&gt;If network bandwidth really was the problem ssh compression might help. You could also tunnel a VNC client connection though ssh instead of the X connection, VNC sends less data than a native X11 client.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jul 2007 10:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057120#M737967</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2007-07-10T10:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: X authentication question (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057121#M737968</link>
      <description>Right on target, Heironimus, wonderful!&lt;BR /&gt;&lt;BR /&gt;Thankyou!&lt;BR /&gt;&lt;BR /&gt;On hpuxserv I did:&lt;BR /&gt;&lt;BR /&gt;# xauth extract - hpuxserv:10.0 &amp;gt; /tmp/mitcookie.hpuxserv&lt;BR /&gt;# scp /tmp/mitcookie.hpuxserv solserv:/tmp&lt;BR /&gt;&lt;BR /&gt;On solserv I did:&lt;BR /&gt;&lt;BR /&gt;# xauth merge - &amp;lt; /tmp/mitcookie.hpuxserv&lt;BR /&gt;# DISPLAY=hpuxserv:10.0&lt;BR /&gt;# xclock</description>
      <pubDate>Wed, 11 Jul 2007 01:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/x-authentication-question-points/m-p/5057121#M737968</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2007-07-11T01:30:30Z</dc:date>
    </item>
  </channel>
</rss>

