<?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 xauth in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xauth/m-p/2935944#M112623</link>
    <description>I have sshd in place with X11 forwarding enable on both client and server(sshd_config)&lt;BR /&gt;&lt;BR /&gt;When i do su to other users, or sudo , the xterm reply with error message;&lt;BR /&gt;&lt;BR /&gt;Error: Can't open display: 11.22.5.29:10.0&lt;BR /&gt;Error: Couldn't find per display information&lt;BR /&gt;&lt;BR /&gt;I read some previous posting that I need to use xauth to add MAGIC-COOKIE to my session.&lt;BR /&gt;&lt;BR /&gt;How do i use xauth to add this MAGIC-COOKIE?&lt;BR /&gt;&lt;BR /&gt;i don't understand what man pages says.</description>
    <pubDate>Wed, 26 Mar 2003 08:42:53 GMT</pubDate>
    <dc:creator>YLTan</dc:creator>
    <dc:date>2003-03-26T08:42:53Z</dc:date>
    <item>
      <title>xauth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xauth/m-p/2935944#M112623</link>
      <description>I have sshd in place with X11 forwarding enable on both client and server(sshd_config)&lt;BR /&gt;&lt;BR /&gt;When i do su to other users, or sudo , the xterm reply with error message;&lt;BR /&gt;&lt;BR /&gt;Error: Can't open display: 11.22.5.29:10.0&lt;BR /&gt;Error: Couldn't find per display information&lt;BR /&gt;&lt;BR /&gt;I read some previous posting that I need to use xauth to add MAGIC-COOKIE to my session.&lt;BR /&gt;&lt;BR /&gt;How do i use xauth to add this MAGIC-COOKIE?&lt;BR /&gt;&lt;BR /&gt;i don't understand what man pages says.</description>
      <pubDate>Wed, 26 Mar 2003 08:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xauth/m-p/2935944#M112623</guid>
      <dc:creator>YLTan</dc:creator>
      <dc:date>2003-03-26T08:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: xauth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xauth/m-p/2935945#M112624</link>
      <description>Getting "su newuser" to work through ssh&lt;BR /&gt;&lt;BR /&gt;The newly assigned MIT-MAGIC-COOKIE must be provided to newuser. This feature of ssh can not be by-passed by using the "xhost" command. &lt;BR /&gt;&lt;BR /&gt;Extracting and passing the MIT-MAGIC-COOKIE can be done by using the follow sequence of commands:&lt;BR /&gt;&lt;BR /&gt;olduser@remote$ xauth nextract - $DISPLAY | xauth -f /tmp/newuser.xauth nmerge -&lt;BR /&gt;olduser@remote$ echo $DISPLAY &amp;gt; /tmp/newuser.display&lt;BR /&gt;olduser@remote$ chmod 700 /tmp/newuser.xauth /tmp/newuser.display&lt;BR /&gt;olduser@remote$ chown newuser /tmp/newuser.xauth /tmp/newuser.display&lt;BR /&gt;olduser@remote$ su - newuser&lt;BR /&gt;newuser@remote$ export XAUTHORITY=/tmp/newuser.xauth&lt;BR /&gt;newuser@remote$ export DISPLAY=$(cat /tmp/newuser.display)&lt;BR /&gt;newuser@remote$ rm /tmp/newuser.display&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Mar 2003 08:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xauth/m-p/2935945#M112624</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-03-26T08:53:39Z</dc:date>
    </item>
  </channel>
</rss>

