<?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: DRD commands fail when using X11 forwarding in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748168#M387939</link>
    <description>I'm using Cygwin/X.  I have a feeling it's something to do with the drd wrapper of swinstall and its interaction with my ssh program (PuTTY).&lt;BR /&gt;&lt;BR /&gt;I wouldn't quote me on this, but under normal conditions when X11 forwarding is enabled the HP-UX server is fooled into thinking that it is displaying X applications to a directly connected console (hence why $DISPLAY is set to localhost).  PuTTY then forwards the X traffic through SSH to my Cygwin/X server (workstation).&lt;BR /&gt;Because swinstall/xclock/etc all work from the same host I'm pretty sure my X server and tunneling are setup correctly so the only variable I can think of here is the effect drd is having on the swinstall command.</description>
    <pubDate>Thu, 03 Feb 2011 18:42:33 GMT</pubDate>
    <dc:creator>ABC Unix</dc:creator>
    <dc:date>2011-02-03T18:42:33Z</dc:date>
    <item>
      <title>DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748160#M387931</link>
      <description>I recently noticed an interesting problem when trying to secure my X Window.&lt;BR /&gt;&lt;BR /&gt;When I run "drd runcmd swinstall" on my 11.31 host I get the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# drd runcmd swinstall&lt;BR /&gt;&lt;BR /&gt;=======  02/03/11 08:37:46 MST  BEGIN Executing Command On Inactive System&lt;BR /&gt;         Image (user=root)  (jobid=testserver1)&lt;BR /&gt;&lt;BR /&gt;       * Checking for Valid Inactive System Image&lt;BR /&gt;       * Analyzing Command To Be Run On Inactive System Image&lt;BR /&gt;       * Locating Inactive System Image&lt;BR /&gt;       * Accessing Inactive System Image for Command Execution&lt;BR /&gt;       * Setting Up Environment For Command Execution&lt;BR /&gt;       * Executing Command On Inactive System Image&lt;BR /&gt;       * Using unsafe patch list version 20080324&lt;BR /&gt;       * Starting swagentd for drd runcmd&lt;BR /&gt;       * Starting fsdaemon for drd runcmd&lt;BR /&gt;       * Executing command: "/usr/sbin/swinstall"&lt;BR /&gt;NOTE:    The interactive UI was invoked, since no software was&lt;BR /&gt;         specified.&lt;BR /&gt;&lt;BR /&gt;Xlib: connection to "localhost:13.0" refused by server&lt;BR /&gt;Xlib: PuTTY X11 proxy: MIT-MAGIC-COOKIE-1 data did not match&lt;BR /&gt;&lt;BR /&gt;The DISPLAY environment variable is set to "localhost:13.0", but&lt;BR /&gt;the current configuration won't allow swinstall to run on that display.&lt;BR /&gt;&lt;BR /&gt;The DISPLAY environment variable may be incorrect, or, if you are&lt;BR /&gt;running swinstall remotely, you may need to allow the remote system&lt;BR /&gt;to access your local X server by typing&lt;BR /&gt;&lt;BR /&gt;      /usr/bin/X11/xhost +testserver1&lt;BR /&gt;&lt;BR /&gt;on your local machine.&lt;BR /&gt;&lt;BR /&gt;Do you want to proceed using the terminal version of swinstall?&lt;BR /&gt;(yes or no) [yes] no&lt;BR /&gt;ERROR:   The interactive UI failed to start.  If you wish to run&lt;BR /&gt;         non-interactively, you must specify some software as part of&lt;BR /&gt;         the swinstall command.&lt;BR /&gt;       * Stopping swagentd for drd runcmd&lt;BR /&gt;       * Stopping fsdaemon for drd runcmd&lt;BR /&gt;ERROR:   Command executed on inactive system image returned an error&lt;BR /&gt;         - The command "/usr/sbin/swinstall" failed with 1.&lt;BR /&gt;       * Executing Command On Inactive System Image failed with 1 error.&lt;BR /&gt;       * Cleaning Up After Command Execution On Inactive System Image&lt;BR /&gt;&lt;BR /&gt;=======  02/03/11 08:38:48 MST  END Executing Command On Inactive System Image failed with 1 error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;**However, when I run just a simple "swinstall" I get the GUI as expected.  &lt;BR /&gt;&lt;BR /&gt;When I turn off X11 forwarding and run "xhost +testserver1" then the drd runcmd swinstall works properly.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 03 Feb 2011 15:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748160#M387931</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-03T15:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748161#M387932</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Generally, though I'm two weeks into hands on with DRD I do:&lt;BR /&gt;&lt;BR /&gt;drd runcmd swinstall -s &lt;PATH to="" depot=""&gt; &lt;NAME of="" product=""&gt;&lt;BR /&gt;&lt;BR /&gt;I believe the GUI output and X are functioning normally base on your post. Your forwarding is redirecting your display.&lt;BR /&gt;&lt;BR /&gt;DRD at least so far IMO is a tool best used non interactively.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/NAME&gt;&lt;/PATH&gt;</description>
      <pubDate>Thu, 03 Feb 2011 16:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748161#M387932</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-02-03T16:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748162#M387933</link>
      <description>Thanks for the response Steven,&lt;BR /&gt;&lt;BR /&gt;I typically run it non-interactively as well but by random chance just noticed this anomaly.  Running non-interactively is a good workaround for this for sure but I'd like to know the cause as well.&lt;BR /&gt;&lt;BR /&gt;The X traffic isn't being forwarded properly, for whatever reason I get a "refused by server" error ($DISPLAY is set to localhost, but the traffic should be forwarded through my ssh connection to my desktop) when I run swinstall through drd.&lt;BR /&gt;When I run swinstall by itself (not through drd), X traffic is forwarded properly to my desktop and I see the swinstall GUI.</description>
      <pubDate>Thu, 03 Feb 2011 17:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748162#M387933</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-03T17:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748163#M387934</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;I think this is a security feature.&lt;BR /&gt;&lt;BR /&gt;Does the xhost +testserver1 work even with X11 forwarding?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 03 Feb 2011 18:01:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748163#M387934</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-02-03T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748164#M387935</link>
      <description>I think the problem might be the X server running on your PC doesn't allow the hpux host to send the display.</description>
      <pubDate>Thu, 03 Feb 2011 18:04:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748164#M387935</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-02-03T18:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748165#M387936</link>
      <description>Technically yes, but I would have to change my DISPLAY variable to the X server hostname, thus bypassing X11 forwarding entirely and allowing anyone with access to "testserver1" to connect to my x server.</description>
      <pubDate>Thu, 03 Feb 2011 18:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748165#M387936</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-03T18:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748166#M387937</link>
      <description>Oops that last reply was to Steven&lt;BR /&gt;&lt;BR /&gt;@Torsten: I'm not sure what you mean.  But when I run "swinstall" I get the interactive GUI to display on my X server properly.</description>
      <pubDate>Thu, 03 Feb 2011 18:07:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748166#M387937</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-03T18:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748167#M387938</link>
      <description>The message &lt;BR /&gt;&lt;BR /&gt;"connection to "localhost:13.0" refused by server"&lt;BR /&gt;&lt;BR /&gt;normally means the client (swinstall) cannot connect to the Xserver (your PC). The question is  why this is set to localhost now.&lt;BR /&gt;&lt;BR /&gt;Maybe there is a wrong setting in your Xserver (whatever you use).&lt;BR /&gt;&lt;BR /&gt;Strange ...</description>
      <pubDate>Thu, 03 Feb 2011 18:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748167#M387938</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-02-03T18:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748168#M387939</link>
      <description>I'm using Cygwin/X.  I have a feeling it's something to do with the drd wrapper of swinstall and its interaction with my ssh program (PuTTY).&lt;BR /&gt;&lt;BR /&gt;I wouldn't quote me on this, but under normal conditions when X11 forwarding is enabled the HP-UX server is fooled into thinking that it is displaying X applications to a directly connected console (hence why $DISPLAY is set to localhost).  PuTTY then forwards the X traffic through SSH to my Cygwin/X server (workstation).&lt;BR /&gt;Because swinstall/xclock/etc all work from the same host I'm pretty sure my X server and tunneling are setup correctly so the only variable I can think of here is the effect drd is having on the swinstall command.</description>
      <pubDate>Thu, 03 Feb 2011 18:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748168#M387939</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-03T18:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748169#M387940</link>
      <description>I would try another ssh/Xserver combination to rule this out.&lt;BR /&gt;I really like "mobaxterm"; this is a combination of several cygwin/X components in a single EXE file.</description>
      <pubDate>Thu, 03 Feb 2011 18:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748169#M387940</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-02-03T18:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748170#M387941</link>
      <description>Never heard of it, I'll take a look and let you know :)</description>
      <pubDate>Thu, 03 Feb 2011 20:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748170#M387941</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-03T20:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748171#M387942</link>
      <description>I am on the DRD team, and will look into this one. Seems suspicious that 'swinstall' works fine by itself, but doesn't forward when invoked by 'drd runcmd' -&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mark</description>
      <pubDate>Tue, 08 Feb 2011 17:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748171#M387942</guid>
      <dc:creator>Mark M. Bunner</dc:creator>
      <dc:date>2011-02-08T17:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748172#M387943</link>
      <description>Thanks Mark, I'm still using the workaround (disabling access control to my x session) anytime I need to run drd swinstall.&lt;BR /&gt;&lt;BR /&gt;Trying a different x product (mobaxterm) didn't resolve my issue by the way.</description>
      <pubDate>Thu, 17 Feb 2011 18:43:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748172#M387943</guid>
      <dc:creator>ABC Unix</dc:creator>
      <dc:date>2011-02-17T18:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: DRD commands fail when using X11 forwarding</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748173#M387944</link>
      <description>We can get this fixed in the next release of DRD. We basically need to import the booted systems X11 authorization entry to the clone when it is mounted.</description>
      <pubDate>Thu, 17 Feb 2011 19:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/drd-commands-fail-when-using-x11-forwarding/m-p/4748173#M387944</guid>
      <dc:creator>Mark M. Bunner</dc:creator>
      <dc:date>2011-02-17T19:08:41Z</dc:date>
    </item>
  </channel>
</rss>

