<?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: HPUX OpenSSH &amp;amp; X display errors in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959296#M740461</link>
    <description>Ok, both problems have been solved.&lt;BR /&gt;PROBLEM 1&lt;BR /&gt;========&lt;BR /&gt;As I said earlier, indeed earlier versions of the X libs do not handle X forwarding in some cases; on HPUX OpenSSH. So, either find versions of the X appliaction you want to run that link to X11R6 libs or set the X11UseLocalHost to 'no' in sshd_config. But, be carefull of setting this value to no as remote hosts can connect to your proxy server; option not available on Solaris OpenSSH.&lt;BR /&gt;&lt;BR /&gt;PROBLEM 2&lt;BR /&gt;=========&lt;BR /&gt;The suggestion from Paolo works great:&lt;BR /&gt;   # echo xauth -i add `xauth list|tail -1`&lt;BR /&gt;   # echo export DISPLAY=$DISPLAY&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Haralambos</description>
    <pubDate>Thu, 16 Feb 2006 15:47:35 GMT</pubDate>
    <dc:creator>Haralambos</dc:creator>
    <dc:date>2006-02-16T15:47:35Z</dc:date>
    <item>
      <title>HPUX OpenSSH &amp; X display errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959290#M740455</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;I have two problems with x applications while going over ssh. Amy help will be appreciated.&lt;BR /&gt; &lt;BR /&gt;BACKGROUND INFO:&lt;BR /&gt;================&lt;BR /&gt;ssh server:  HP-UX Open SSH 3.91&lt;BR /&gt;PC Exceed: Hummingbird Exceed 10&lt;BR /&gt; &lt;BR /&gt;        SSHD (ON HPUX)  -- (sshd_config)&lt;BR /&gt;        =========================&lt;BR /&gt;         X11DisplayOffset 10&lt;BR /&gt;         X11Forwarding yes&lt;BR /&gt;         X11UseLocalhost yes&lt;BR /&gt;         XAuthLocation /usr/bin/X11/xauth&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;PROBLEMS:&lt;BR /&gt;==========&lt;BR /&gt;1. I ssh into my own account and `env` shows the following:&lt;BR /&gt;   DISPLAY=localhost:10.0&lt;BR /&gt;   HOME=/home/myaccnt&lt;BR /&gt;   SSH_CLIENT=111.111.111.111 1111 22&lt;BR /&gt;   SSH_CONNECTION=111.111.111.111 1111 122.22.122.222 22&lt;BR /&gt;  So, here if i try to start the following applications, xclock, dtterm, gpm they all work and the window pops up on my Exceed (PC) display.&lt;BR /&gt;  The **** problem **** though comes if I try using xterm or hpterm. These do not work and I get the following error:&lt;BR /&gt;      X connection to localhost:10.0 broken (explicit kill or server shutdown).&lt;BR /&gt;&lt;BR /&gt; Why is so and how can I solve it.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;2. The second question I have I very similar to the above but with a small variance to it.&lt;BR /&gt;&lt;BR /&gt;I can not launch any application if I `su` into root. In such a case I also get the same X connection broken message, as above, even though all my variables are enabled.&lt;BR /&gt;&lt;BR /&gt;How can root run any Xapplications if the above scenario is illegal? PermitRootLogin is set to no in my sshd_config.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Haralambos</description>
      <pubDate>Mon, 13 Feb 2006 11:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959290#M740455</guid>
      <dc:creator>Haralambos</dc:creator>
      <dc:date>2006-02-13T11:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX OpenSSH &amp; X display errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959291#M740456</link>
      <description>Hi,&lt;BR /&gt;same environment I act like this:&lt;BR /&gt;&lt;BR /&gt;keep exceed active, but use putty &lt;BR /&gt;(&lt;A href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)" target="_blank"&gt;http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;to connect from your pc enabling X11 forwading (connection/ssh/tunnel).&lt;BR /&gt;&lt;BR /&gt;If I have to switch user (su) I set and enable the display in the new user (root).&lt;BR /&gt;So when I'm normal user I do&lt;BR /&gt;# echo xauth -i add `xauth list|tail -1`&lt;BR /&gt;# echo export DISPLAY=$DISPLAY&lt;BR /&gt;&lt;BR /&gt;after doing su to root, execute the result of the 2 commands above.&lt;BR /&gt;&lt;BR /&gt;Pablo&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Feb 2006 14:18:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959291#M740456</guid>
      <dc:creator>paolo barila</dc:creator>
      <dc:date>2006-02-13T14:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX OpenSSH &amp; X display errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959292#M740457</link>
      <description>just a thought but does either of the above problems scenarios change if you run dtterm then start xterm or hpterm from the commandline with -ls option eg xterm -ls ?&lt;BR /&gt;&lt;BR /&gt;If yes consider vi $HOME/.Xresources and add&lt;BR /&gt;&lt;BR /&gt;*loginShell : True</description>
      <pubDate>Mon, 13 Feb 2006 14:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959292#M740457</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2006-02-13T14:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX OpenSSH &amp; X display errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959293#M740458</link>
      <description>Well,&lt;BR /&gt;&lt;BR /&gt;I have solved the mistery to my first problem; i.e. why some X applications work and some others do not.&lt;BR /&gt;&lt;BR /&gt;The problem is that hpterm and /usr/bin/x11/xterm are linked w/ X11R5 libraries whereas xclock, dtterm &amp;amp; gpm are all linked with X11R6 libs.&lt;BR /&gt;There exists a version of xterm that is linked with X11R6 under : /usr/contrib/bin/X11 which does indeed work.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Feb 2006 14:32:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959293#M740458</guid>
      <dc:creator>Haralambos</dc:creator>
      <dc:date>2006-02-13T14:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX OpenSSH &amp; X display errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959294#M740459</link>
      <description>problem #2 it's also ok?</description>
      <pubDate>Mon, 13 Feb 2006 17:02:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959294#M740459</guid>
      <dc:creator>paolo barila</dc:creator>
      <dc:date>2006-02-13T17:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX OpenSSH &amp; X display errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959295#M740460</link>
      <description>Problem 1: Use "ForwardX11Trusted yes" in your local or global ssh config or use "-Y" on the command line!&lt;BR /&gt;&lt;BR /&gt;Problem 2: You need to authorize the root user to use your display. This is usually done with a script like&lt;BR /&gt;xauth nextract - $DISPLAY|su - root -c "xauth nmerge -"&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Armin&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 07:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959295#M740460</guid>
      <dc:creator>Armin Kunaschik</dc:creator>
      <dc:date>2006-02-14T07:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX OpenSSH &amp; X display errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959296#M740461</link>
      <description>Ok, both problems have been solved.&lt;BR /&gt;PROBLEM 1&lt;BR /&gt;========&lt;BR /&gt;As I said earlier, indeed earlier versions of the X libs do not handle X forwarding in some cases; on HPUX OpenSSH. So, either find versions of the X appliaction you want to run that link to X11R6 libs or set the X11UseLocalHost to 'no' in sshd_config. But, be carefull of setting this value to no as remote hosts can connect to your proxy server; option not available on Solaris OpenSSH.&lt;BR /&gt;&lt;BR /&gt;PROBLEM 2&lt;BR /&gt;=========&lt;BR /&gt;The suggestion from Paolo works great:&lt;BR /&gt;   # echo xauth -i add `xauth list|tail -1`&lt;BR /&gt;   # echo export DISPLAY=$DISPLAY&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Haralambos</description>
      <pubDate>Thu, 16 Feb 2006 15:47:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-openssh-amp-x-display-errors/m-p/4959296#M740461</guid>
      <dc:creator>Haralambos</dc:creator>
      <dc:date>2006-02-16T15:47:35Z</dc:date>
    </item>
  </channel>
</rss>

