<?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 SSH and export DISPLAY in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086973#M143896</link>
    <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;I log in to my hpux system with ssh. On other maschines I am used to see my DISPLAY exported automatically. In my case this is not apearing. The DISPLAY is empty.&lt;BR /&gt;&lt;BR /&gt;What do I have to check to correct this behaviour. Thanks for any hints,&lt;BR /&gt;&lt;BR /&gt;Oliver</description>
    <pubDate>Tue, 07 Oct 2003 09:45:28 GMT</pubDate>
    <dc:creator>Oliver Schmitz</dc:creator>
    <dc:date>2003-10-07T09:45:28Z</dc:date>
    <item>
      <title>SSH and export DISPLAY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086973#M143896</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;I log in to my hpux system with ssh. On other maschines I am used to see my DISPLAY exported automatically. In my case this is not apearing. The DISPLAY is empty.&lt;BR /&gt;&lt;BR /&gt;What do I have to check to correct this behaviour. Thanks for any hints,&lt;BR /&gt;&lt;BR /&gt;Oliver</description>
      <pubDate>Tue, 07 Oct 2003 09:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086973#M143896</guid>
      <dc:creator>Oliver Schmitz</dc:creator>
      <dc:date>2003-10-07T09:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and export DISPLAY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086974#M143897</link>
      <description>Hello Oliver,&lt;BR /&gt;&lt;BR /&gt;What ssh client are you using? I'm using the ssh client that comes with Red Hat Linux. When i want to enable X11 forwarding, I use the -X switch to the ssh command. That is:&lt;BR /&gt;&lt;BR /&gt;ssh -l MyUsername ServerIpNumber -X&lt;BR /&gt;&lt;BR /&gt;and then I can run all X applications and I'll see them on my local X Server.  Doing this (using the -X switch argument) will set my DISPLAY variable on my session.&lt;BR /&gt; &lt;BR /&gt;Also, check on your server this file:&lt;BR /&gt;&lt;BR /&gt;/opt/ssh/etc/sshd_config  and verify the value for X11Forwarding. Make sure it has "Yes" as its value. Otherwise, you won't be able to tunnel X11 connections.&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;Jorge</description>
      <pubDate>Tue, 07 Oct 2003 09:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086974#M143897</guid>
      <dc:creator>Jorge Fabregas</dc:creator>
      <dc:date>2003-10-07T09:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and export DISPLAY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086975#M143898</link>
      <description>Hi,&lt;BR /&gt;add to your .profile entry:&lt;BR /&gt;export DISPLAY=&lt;YOUR_IP&gt;:0.0&lt;BR /&gt;&lt;BR /&gt;who -Rm shows your ip, you can script it if your ip is changing.&lt;BR /&gt;&lt;BR /&gt;-Tomek&lt;/YOUR_IP&gt;</description>
      <pubDate>Tue, 07 Oct 2003 09:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086975#M143898</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-10-07T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and export DISPLAY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086976#M143899</link>
      <description>I have this in my profile to cover the different workstations I might be coming from.&lt;BR /&gt;&lt;BR /&gt;wow=$(who -m -R|cut -d'(' -f2|cut -d ')' -f1)&lt;BR /&gt;export DISPLAY=$wow":0.0"&lt;BR /&gt;&lt;BR /&gt;--Jim</description>
      <pubDate>Tue, 07 Oct 2003 10:05:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086976#M143899</guid>
      <dc:creator>James Specht</dc:creator>
      <dc:date>2003-10-07T10:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and export DISPLAY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086977#M143900</link>
      <description>You can add something like this to your .profile:&lt;BR /&gt;&lt;BR /&gt;ip=`who -Rm|awk -F'(' '{print $2'}|awk -F')' '{print $1}'`&lt;BR /&gt;export DISPLAY=$ip:0.0&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Oct 2003 10:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086977#M143900</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-10-07T10:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and export DISPLAY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086978#M143901</link>
      <description>Thank you for this hints so far.&lt;BR /&gt;&lt;BR /&gt;Unfortunately I did not manage to bring it up running. I modified the /opt/ssh/etc/ssh_config file (Uncommented the line with ForwardX11 and changed to yes) and I used the ssh -i myname servername -X.&lt;BR /&gt;&lt;BR /&gt;Nothing changed at all. When I type echo $DISPLAY I receive empty blank line. &lt;BR /&gt;&lt;BR /&gt;The solutions with the profiles are good ideas. I realized this way of X11 forwarding within my userprofiles on the maschines. But other userswho are not so familiar with unix asked me for setting up the automaticall forwarding.&lt;BR /&gt;&lt;BR /&gt;Thanks for more hints in advance.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Oliver</description>
      <pubDate>Tue, 07 Oct 2003 10:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086978#M143901</guid>
      <dc:creator>Oliver Schmitz</dc:creator>
      <dc:date>2003-10-07T10:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and export DISPLAY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086979#M143902</link>
      <description>For your slient machine (where you ssh from) either do a ssh -X or edit your ssh_config file so it always has that parameter)&lt;BR /&gt;.&lt;BR /&gt;On the servers you connect to, you need to edit sshd_config in /etc/ssh (or whereever you store it)and enable X forwarding..&lt;BR /&gt;.&lt;BR /&gt;These is the key... your DISPLAY envar will not actually be set to your originating client machine but to localhost:10 or someting dependng on how you set up your sshd_config.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;HTH&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Oct 2003 10:25:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-export-display/m-p/3086979#M143902</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2003-10-07T10:25:55Z</dc:date>
    </item>
  </channel>
</rss>

