<?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: Xlib: connection refused by server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524766#M17039</link>
    <description>Hi,&lt;BR /&gt;this may not apply to you, but I have had the scenario where the default user on the system must xhost+ then su must also xhost before Xlib will allow connections to be sent in and out of the system.&lt;BR /&gt;&lt;BR /&gt;eg:if I just su and try to issue xhost+ I get the same error that you do. But if I xhost as default user then su and xhost+, run my export and run the required XApp, I do not get any errors. Maybe you could try something similar??&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Matt</description>
    <pubDate>Fri, 15 Apr 2005 03:25:00 GMT</pubDate>
    <dc:creator>Matt Palmer_2</dc:creator>
    <dc:date>2005-04-15T03:25:00Z</dc:date>
    <item>
      <title>Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524760#M17033</link>
      <description>Hi frined,&lt;BR /&gt;&lt;BR /&gt;Need ur help once again].&lt;BR /&gt;I have taken GUI of a liux machine uding Xbrowser.&lt;BR /&gt;We Want to display xclock on xbrowser from other HP Unix machine.&lt;BR /&gt;Tryed " xhost + " on linux m/c.&lt;BR /&gt;HPUX# DISPLAY=100.11.18.10:0.0;export DISPLAY&lt;BR /&gt;HPUX# xclock &amp;amp;&lt;BR /&gt;# xclock&lt;BR /&gt;Xlib: connection to "100.11.18.10:0.0" refused by server&lt;BR /&gt;Xlib: No protocol specified&lt;BR /&gt;&lt;BR /&gt;Error: Can't open display: 100.11.18.10:0.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pleasee help&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Ankur</description>
      <pubDate>Thu, 14 Apr 2005 06:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524760#M17033</guid>
      <dc:creator>ankurp</dc:creator>
      <dc:date>2005-04-14T06:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524761#M17034</link>
      <description>Is there a firewall on the Linux box blocking port 6000?&lt;BR /&gt;&lt;BR /&gt;For the moment, that seems the best bet..&lt;BR /&gt;&lt;BR /&gt;Either that, or the Linux box doesn't have the IP address 100.11.18.10</description>
      <pubDate>Thu, 14 Apr 2005 08:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524761#M17034</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-14T08:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524762#M17035</link>
      <description>let me try to explain this from an example&lt;BR /&gt;&lt;BR /&gt;let said you are running X on a Linux machine A&lt;BR /&gt;A ip address is 10.10.10.10&lt;BR /&gt;&lt;BR /&gt;Your HP-UX is machine B (You can be on character base terminal or in an X Gui environment it does not matter)&lt;BR /&gt;B ip address is 10.10.10.22&lt;BR /&gt;&lt;BR /&gt;On A machine (10.10.10.10) type &lt;BR /&gt;xhost +10.10.10.22&lt;BR /&gt;&lt;BR /&gt;on B machine (10.10.10.22) type&lt;BR /&gt;export DISPLAY=10.10.10.10:1.0&lt;BR /&gt;xclock &amp;amp;&lt;BR /&gt; &lt;BR /&gt;This should work,if you do not have firewall or network problems and you are using bash on machine A, this probably the case &lt;BR /&gt;&lt;BR /&gt;On machine B adapt export syntax to the shell you are running.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;J-P Huc&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Apr 2005 08:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524762#M17035</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2005-04-14T08:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524763#M17036</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;i have seen this error, if $HOME is incorrect. not sure why this will give that error, but check $HOME variable</description>
      <pubDate>Thu, 14 Apr 2005 08:58:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524763#M17036</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2005-04-14T08:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524764#M17037</link>
      <description>Another thing you can do, assuming you use ssh configured to forward X11 (if not see the sshd_config file): ssh -X &lt;HOSTNAME&gt;. This will forward X through your ssh connection and will set the DISPLAY variable automatically. It's a beautiful feature!&lt;/HOSTNAME&gt;</description>
      <pubDate>Thu, 14 Apr 2005 10:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524764#M17037</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2005-04-14T10:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524765#M17038</link>
      <description>Checked all the issues long back.&lt;BR /&gt;1) NO firewall , also m/c listenin on 6000 port&lt;BR /&gt;&lt;BR /&gt;# netstat -l&lt;BR /&gt;Active Internet connections (only servers)&lt;BR /&gt;Proto Recv-Q Send-Q Local Address           Foreign Address         State&lt;BR /&gt;tcp        0      0 localhost:32768         *:*                     LISTEN&lt;BR /&gt;tcp        0      0 *:sunrpc                *:*                     LISTEN&lt;BR /&gt;tcp        0      0 *:x11                   *:*                     LISTEN&lt;BR /&gt;tcp        0      0 *:ssh                   *:*                     LISTEN&lt;BR /&gt;tcp        0      0 localhost:smtp          *:*                     LISTEN&lt;BR /&gt;tcp        0      0 *:xfs                   *:*                     LISTEN&lt;BR /&gt;udp        0      0 *:xdmcp                 *:*&lt;BR /&gt;udp        0      0 *:sunrpc                *:*&lt;BR /&gt;2)HOme variable set properly.&lt;BR /&gt;&lt;BR /&gt;HUC : thanks for ur breif desriptin of the scenario.&lt;BR /&gt;I have taken X session of linux m/c thr. Xbrowser.&lt;BR /&gt;&lt;BR /&gt; # ovw&lt;BR /&gt;Xlib: connection to "10.61.1.1:0.0" refused by server&lt;BR /&gt;Xlib: No protocol specified&lt;BR /&gt;&lt;BR /&gt;Error: Can't open display: 10.61.1.1:0.0&lt;BR /&gt;Error: Couldn't find per display information&lt;BR /&gt;I m  gettin the same error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pls help&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Ankur&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Apr 2005 00:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524765#M17038</guid>
      <dc:creator>ankurp</dc:creator>
      <dc:date>2005-04-15T00:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524766#M17039</link>
      <description>Hi,&lt;BR /&gt;this may not apply to you, but I have had the scenario where the default user on the system must xhost+ then su must also xhost before Xlib will allow connections to be sent in and out of the system.&lt;BR /&gt;&lt;BR /&gt;eg:if I just su and try to issue xhost+ I get the same error that you do. But if I xhost as default user then su and xhost+, run my export and run the required XApp, I do not get any errors. Maybe you could try something similar??&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Matt</description>
      <pubDate>Fri, 15 Apr 2005 03:25:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524766#M17039</guid>
      <dc:creator>Matt Palmer_2</dc:creator>
      <dc:date>2005-04-15T03:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524767#M17040</link>
      <description>Okay check this out.&lt;BR /&gt;I was takin a Xsession of linux machine using Xbrowser on a win2k m/c, so when i was doing export dsiplay on the hpux m/c , of whose i was tryin to export display for OVW, i should have given ip of win2k m/c with &lt;WIN2K ip=""&gt;:2.0 whereas i was givin ip of the linux m/c, which was wrong.&lt;BR /&gt;&lt;BR /&gt;Can i get more Xwindows sessions of the same linux machine using Xbrowser, now when i m tryin that it is just showing an display with mouse representin X symbol.&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Ankur&lt;BR /&gt;Now&lt;/WIN2K&gt;</description>
      <pubDate>Fri, 15 Apr 2005 04:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524767#M17040</guid>
      <dc:creator>ankurp</dc:creator>
      <dc:date>2005-04-15T04:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524768#M17041</link>
      <description>do the below things&lt;BR /&gt;&lt;BR /&gt;on the linux host do a &lt;BR /&gt;&lt;BR /&gt;#xhost +&lt;BR /&gt;&lt;BR /&gt;then from the HPUX machine do a&lt;BR /&gt;&lt;BR /&gt;#export DISPLAY=&lt;IP&gt;:0.0&lt;BR /&gt;#xclock&lt;/IP&gt;</description>
      <pubDate>Fri, 15 Apr 2005 05:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524768#M17041</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-15T05:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524769#M17042</link>
      <description>hai ankurp &lt;BR /&gt;&lt;BR /&gt;u check the firewall in the LINUX server by using #iptables -L&lt;BR /&gt;&lt;BR /&gt;i think some firewall setting only refusing the connection&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;prabu</description>
      <pubDate>Fri, 15 Apr 2005 07:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524769#M17042</guid>
      <dc:creator>P M Prabu</dc:creator>
      <dc:date>2005-04-15T07:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Xlib: connection refused by server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524770#M17043</link>
      <description>Hi all dear frineds&lt;BR /&gt;&lt;BR /&gt;Can i get more Xwindows sessions of the same linux machine using Xbrowser, Right now i can take only 1 session from windows m/c using Xbrowser. When i try to take one more seesion&lt;BR /&gt;it is just showing an display with white and black dots with a X symbol representin mouse.&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Ankur</description>
      <pubDate>Tue, 19 Apr 2005 00:02:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/xlib-connection-refused-by-server/m-p/3524770#M17043</guid>
      <dc:creator>ankurp</dc:creator>
      <dc:date>2005-04-19T00:02:32Z</dc:date>
    </item>
  </channel>
</rss>

