<?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: about a x window program executing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676861#M52271</link>
    <description>most X-programs also support that through the -display option (GNU utils also through the --display= option)&lt;BR /&gt;&lt;BR /&gt;xterm -bg gray90 -fg gray10 -display 127.0.0.1:0 &amp;amp;</description>
    <pubDate>Wed, 06 Mar 2002 06:54:14 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2002-03-06T06:54:14Z</dc:date>
    <item>
      <title>about a x window program executing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676859#M52269</link>
      <description>hi ,expert !&lt;BR /&gt;   I want to run an X window progran through CRON mechnism ,but I found there are some questions .who can tell me how I should to set the environments variables to run an X window program through CRON mechnism ?</description>
      <pubDate>Wed, 06 Mar 2002 03:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676859#M52269</guid>
      <dc:creator>miaoxucheng</dc:creator>
      <dc:date>2002-03-06T03:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: about a x window program executing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676860#M52270</link>
      <description>I stand corrected if I'm wrong, but&lt;BR /&gt;doesn't an X program need a valid&lt;BR /&gt;display on which to run? &lt;BR /&gt;&lt;BR /&gt;export DISPLAY=IP:0.0&lt;BR /&gt;&lt;BR /&gt;if so you would need some from of tty in&lt;BR /&gt;which to do this. crons do not run on a&lt;BR /&gt;tty they run in the background.</description>
      <pubDate>Wed, 06 Mar 2002 04:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676860#M52270</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-03-06T04:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: about a x window program executing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676861#M52271</link>
      <description>most X-programs also support that through the -display option (GNU utils also through the --display= option)&lt;BR /&gt;&lt;BR /&gt;xterm -bg gray90 -fg gray10 -display 127.0.0.1:0 &amp;amp;</description>
      <pubDate>Wed, 06 Mar 2002 06:54:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676861#M52271</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-03-06T06:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: about a x window program executing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676862#M52272</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There are a few ways:&lt;BR /&gt;In the command field of your crontab file, put: &lt;BR /&gt;  export DISPLAY=&lt;IP&gt;:0 ; &lt;X-CLIENT-PROGRAM&gt;&lt;BR /&gt;or as already said, you can append on the command the -display &lt;IP&gt;:0 option which tells it to connect to the X server running on &lt;IP&gt; and located on window 0. &lt;BR /&gt;&lt;BR /&gt;However, there are a few program which don't have this option.  Eg. xhost doesn't have this option, but then, it's not really a X client program, but rather a manager of sorts of the X server.&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;- Andy Gray&lt;/IP&gt;&lt;/IP&gt;&lt;/X-CLIENT-PROGRAM&gt;&lt;/IP&gt;</description>
      <pubDate>Thu, 07 Mar 2002 05:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676862#M52272</guid>
      <dc:creator>support_5</dc:creator>
      <dc:date>2002-03-07T05:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: about a x window program executing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676863#M52273</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;to be safe, you'll need an "virtual fram buffer", like VNC, or like it is part of the recent X-server of HP-UX.&lt;BR /&gt;Then point your cron-job towards it:&lt;BR /&gt;&lt;BR /&gt;# cron job:&lt;BR /&gt;export DISPLAY=5.4.3.2:1.0&lt;BR /&gt;your-x-client ...&lt;BR /&gt;&lt;BR /&gt;where "5.4.3.2" is the IP-address of the frame-buffer, and "1" is the server-process number of it (since "0" usually is the local graphics screen).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Sat, 09 Mar 2002 01:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676863#M52273</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-03-09T01:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: about a x window program executing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676864#M52274</link>
      <description>cron, as you've seen, does not login like a 'normal' user, therefore has a minimum environment. So your cron script must source /etc/profile and .profile. However, some commands in the profiles are require a controlling terminal (like tabs and ttytype) so these must be skipped.&lt;BR /&gt;&lt;BR /&gt;While this should be done anyway in /etc/profile, etc, it is easier to get your script started by adding all the environment settings to your script, including the DISPLAY variable.</description>
      <pubDate>Sat, 09 Mar 2002 03:10:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-a-x-window-program-executing/m-p/2676864#M52274</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-03-09T03:10:10Z</dc:date>
    </item>
  </channel>
</rss>

