<?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: java graphics poblem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827109#M721035</link>
    <description>complete guess but it would appear the program is having problems connecting to an Xserver ?&lt;BR /&gt;&lt;BR /&gt;':0.0' is the default display used if a DISPLAY enviroment variable is not set.&lt;BR /&gt;&lt;BR /&gt;So I'd be asking what h/w are you using this on - an hpux server without a graphics head by any chance ? you may need xvfb if that's the case .....&lt;BR /&gt;&lt;BR /&gt;and if not ie you are running it on either a local graphics card installed in an hpux server or workstation or via a PC Xemulator, then is the DISPLAY variable set appropriately ?</description>
    <pubDate>Wed, 16 Oct 2002 14:20:55 GMT</pubDate>
    <dc:creator>Alex Glennie</dc:creator>
    <dc:date>2002-10-16T14:20:55Z</dc:date>
    <item>
      <title>java graphics poblem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827108#M721034</link>
      <description>Hi,&lt;BR /&gt;Can any one help me in solving this java graphics problem.I am trying to run a java program after initializing the frame as follows:&lt;BR /&gt;Frame f=new Frame();&lt;BR /&gt;f.setVisible();&lt;BR /&gt;&lt;BR /&gt;inside the main method.&lt;BR /&gt;&lt;BR /&gt;When I run it on hp-ux I am facing the following error:&lt;BR /&gt;Exception in thread "main" java.lang.InternalError: Can't connect to X11 window&lt;BR /&gt;server using ':0.0' as the value of the DISPLAY variable.&lt;BR /&gt;        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)&lt;BR /&gt;        at sun.awt.X11GraphicsEnvironment.&lt;CLINIT&gt;(X11GraphicsEnvironment.java:1&lt;BR /&gt;30)&lt;BR /&gt;        at java.lang.Class.forName0(Native Method)&lt;BR /&gt;        at java.lang.Class.forName(Class.java:130)&lt;BR /&gt;        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi&lt;BR /&gt;ronment.java:62)&lt;BR /&gt;        at java.awt.Window.init(Window.java:223)&lt;BR /&gt;        at java.awt.Window.&lt;INIT&gt;(Window.java:267)&lt;BR /&gt;        at java.awt.Frame.&lt;INIT&gt;(Frame.java:398)&lt;BR /&gt;        at java.awt.Frame.&lt;INIT&gt;(Frame.java:363)&lt;BR /&gt;        at stest.main(stest.java:9)&lt;BR /&gt;&lt;BR /&gt;Your reply will be highly appreciated.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Params&lt;BR /&gt;&lt;/INIT&gt;&lt;/INIT&gt;&lt;/INIT&gt;&lt;/CLINIT&gt;</description>
      <pubDate>Wed, 16 Oct 2002 13:38:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827108#M721034</guid>
      <dc:creator>paramesh</dc:creator>
      <dc:date>2002-10-16T13:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: java graphics poblem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827109#M721035</link>
      <description>complete guess but it would appear the program is having problems connecting to an Xserver ?&lt;BR /&gt;&lt;BR /&gt;':0.0' is the default display used if a DISPLAY enviroment variable is not set.&lt;BR /&gt;&lt;BR /&gt;So I'd be asking what h/w are you using this on - an hpux server without a graphics head by any chance ? you may need xvfb if that's the case .....&lt;BR /&gt;&lt;BR /&gt;and if not ie you are running it on either a local graphics card installed in an hpux server or workstation or via a PC Xemulator, then is the DISPLAY variable set appropriately ?</description>
      <pubDate>Wed, 16 Oct 2002 14:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827109#M721035</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2002-10-16T14:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: java graphics poblem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827110#M721036</link>
      <description>Hi Alex,&lt;BR /&gt;How do I find whether the xvfb is available or whether the server has an internal graphics card?&lt;BR /&gt;Also need more information abt how to start the XServer?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Params</description>
      <pubDate>Fri, 18 Oct 2002 01:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827110#M721036</guid>
      <dc:creator>Benedict</dc:creator>
      <dc:date>2002-10-18T01:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: java graphics poblem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827111#M721037</link>
      <description>The java program is trying to open the the grahical window.&lt;BR /&gt;&lt;BR /&gt;First you have to install some x-windows application on your PC. &lt;BR /&gt;&lt;BR /&gt;Like the Xmanager. &lt;BR /&gt;You can download it by searching in google.com &lt;BR /&gt;&lt;BR /&gt;"Xmanager downloads" &lt;BR /&gt;&lt;BR /&gt;Install it. &lt;BR /&gt;run XManager &lt;BR /&gt;you will receive xdmcp broadcasts from the unix servers that are running CDE. &lt;BR /&gt;Then you can login into the appropriate server. &lt;BR /&gt;Then do a &lt;BR /&gt;$DISPPLAY=&lt;IP-ADDTESS&gt;:0.0;export DISPLAY &lt;BR /&gt;(ip-add--&amp;gt;ip-address of the PC)&lt;BR /&gt;  &lt;BR /&gt;here it the link for the xmanager(x-windows application) &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://download.com.com/3000-2340-6128455.html?tag=list" target="_blank"&gt;http://download.com.com/3000-2340-6128455.html?tag=list&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;THanks  &lt;BR /&gt;&lt;/IP-ADDTESS&gt;</description>
      <pubDate>Fri, 18 Oct 2002 02:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827111#M721037</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-18T02:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: java graphics poblem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827112#M721038</link>
      <description>hi,&lt;BR /&gt;please find attached my notes on "Installing and Configuring the Virtual Frame Buffer X Server "&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Fri, 18 Oct 2002 03:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827112#M721038</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-10-18T03:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: java graphics poblem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827113#M721039</link>
      <description>Hi Manikandan,&lt;BR /&gt;I installed the XManager tool in my local pc and connected to my HPUX server, and given the DISPLAY env. variable as my local ip:0.0 but the error persists....and one more thing is that my program is a completely server based program and I doubt whether installing a client emulation will solve my problem.&lt;BR /&gt;Hi Yogeeraj,&lt;BR /&gt;&lt;BR /&gt;I have downloaded the xvfbinit.tar.gz file and installed the same. The daemon is running now in :10; I have set the export Display: IP:10 also.. Still the problem persists.. Any help will be highly appreciated.. &lt;BR /&gt;&lt;BR /&gt;Is there a way, i can check whether my configuration of hpux machine is fine for graphics support?&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;Paramesh&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Oct 2002 06:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827113#M721039</guid>
      <dc:creator>Benedict</dc:creator>
      <dc:date>2002-10-18T06:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: java graphics poblem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827114#M721040</link>
      <description>Hi, &lt;BR /&gt;I downloaded xvbf according to your advice in my HP-UX box and installed it successfully according to the installation document and I had set the export DISPLAY=(ip):10.0.and I could able to see the graphics in my java servlet program.&lt;BR /&gt;It worked fine once and I had put the DISPLAY variable in the start-up and also in .profile, after that it fails to work. &lt;BR /&gt;Any help....????&lt;BR /&gt;&lt;BR /&gt;Params</description>
      <pubDate>Fri, 18 Oct 2002 12:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-graphics-poblem/m-p/2827114#M721040</guid>
      <dc:creator>Benedict</dc:creator>
      <dc:date>2002-10-18T12:01:28Z</dc:date>
    </item>
  </channel>
</rss>

