<?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: N-Class graphics in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860194#M95869</link>
    <description>Here are&lt;BR /&gt;a sample configuration script (/etc/rc.config.d/xvfb) and rc script&lt;BR /&gt;(/sbin/init.d/xvfb) that would make the enabling of the VFB X server&lt;BR /&gt;easier from a support standpoint:&lt;BR /&gt;&lt;BR /&gt;===================================================================&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# /etc/rc.config.d/xvfb&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;START_XVFB=1&lt;BR /&gt;XVFB=/usr/bin/X11/X&lt;BR /&gt;DNUM=10&lt;BR /&gt;ARGS="-ac -fbdir /var/X11/Xserver"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;===================================================================&lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# /sbin/init.d/xvfb&lt;BR /&gt;#&lt;BR /&gt;# XVfb X server startup/shutdown script&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;PATH=/sbin:/usr/sbin:/usr/bin:&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;rval=0&lt;BR /&gt;set_return() {&lt;BR /&gt;        x=$?&lt;BR /&gt;        if [ $x -ne 0 ]; then&lt;BR /&gt;                echo "ERROR CODE $x"&lt;BR /&gt;                rval=1&lt;BR /&gt;        fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;if [ -f /etc/rc.config.d/xvfb ] ; then&lt;BR /&gt;        . /etc/rc.config.d/xvfb&lt;BR /&gt;else&lt;BR /&gt;        echo "ERROR: /etc/rc.config.d/xvfb defaults file MISSING"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;case $1 in&lt;BR /&gt;start_msg)&lt;BR /&gt;        echo "Start XVfb X server"&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;stop_msg)&lt;BR /&gt;        echo "Stopping XVfb X server"&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;'start')&lt;BR /&gt;        if [ "$START_XVFB" -eq 1 ]; then&lt;BR /&gt;                if [ ! -f /etc/X11/X${DNUM}screens ]; then&lt;BR /&gt;                        echo X${DNUM}screens missing. Creating default&lt;BR /&gt;                        cat &amp;gt; /etc/X11/X${DNUM}screens &amp;lt;&amp;lt; @EOF&lt;BR /&gt;ServerOptions&lt;BR /&gt;        ServerMode  XVfb&lt;BR /&gt;@EOF&lt;BR /&gt;                fi&lt;BR /&gt;                ( $XVFB :${DNUM} $ARGS &amp;amp;)&lt;BR /&gt;                set_return&lt;BR /&gt;        else&lt;BR /&gt;                rval=2&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;'stop')&lt;BR /&gt;        #&lt;BR /&gt;        # Determine PID of process(es) to stop&lt;BR /&gt;        #&lt;BR /&gt;        export UNIX95=1&lt;BR /&gt;        export DNUM&lt;BR /&gt;        pid=`ps -C X -opid= -oargs= |              awk '$3 == ":"ENVIRON["DNUM"] {print $1}'`&lt;BR /&gt;        unset UNIX95&lt;BR /&gt;        if [ "X$pid" != "X" ]; then&lt;BR /&gt;                if kill $pid; then&lt;BR /&gt;                        echo "XVfb X server stopped"&lt;BR /&gt;                else&lt;BR /&gt;                        set_return&lt;BR /&gt;                        echo "Unable to stop XVfb X server"&lt;BR /&gt;                fi&lt;BR /&gt;        fi&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;*)&lt;BR /&gt;        echo "usage: $0 {start|stop}"&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;exit $rval&lt;BR /&gt;</description>
    <pubDate>Mon, 09 Dec 2002 15:28:39 GMT</pubDate>
    <dc:creator>Armin Feller</dc:creator>
    <dc:date>2002-12-09T15:28:39Z</dc:date>
    <item>
      <title>N-Class graphics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860193#M95868</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have an application requirement to have a graphics card installed in an N-Class. I understand that no graphics cards are support for N-Class servers. &lt;BR /&gt;&lt;BR /&gt;I have installed a A6150A but it is still reported as being UNCLAIMED when I do an ioscan, even after I have add the drivers beep,grapgics3,hcd,hid,hub and usbd.&lt;BR /&gt;&lt;BR /&gt;I have used the virtual graphics device Xvfb and set /usr/bin/X11/X :5, this all works well.&lt;BR /&gt;&lt;BR /&gt;My question is which startup script would I place the /usr/bin/X11/X :5 and the second question is has anybody configued a graphics card in an N-Class.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mike</description>
      <pubDate>Mon, 09 Dec 2002 14:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860193#M95868</guid>
      <dc:creator>Michael O'brien_1</dc:creator>
      <dc:date>2002-12-09T14:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: N-Class graphics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860194#M95869</link>
      <description>Here are&lt;BR /&gt;a sample configuration script (/etc/rc.config.d/xvfb) and rc script&lt;BR /&gt;(/sbin/init.d/xvfb) that would make the enabling of the VFB X server&lt;BR /&gt;easier from a support standpoint:&lt;BR /&gt;&lt;BR /&gt;===================================================================&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# /etc/rc.config.d/xvfb&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;START_XVFB=1&lt;BR /&gt;XVFB=/usr/bin/X11/X&lt;BR /&gt;DNUM=10&lt;BR /&gt;ARGS="-ac -fbdir /var/X11/Xserver"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;===================================================================&lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# /sbin/init.d/xvfb&lt;BR /&gt;#&lt;BR /&gt;# XVfb X server startup/shutdown script&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;PATH=/sbin:/usr/sbin:/usr/bin:&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;rval=0&lt;BR /&gt;set_return() {&lt;BR /&gt;        x=$?&lt;BR /&gt;        if [ $x -ne 0 ]; then&lt;BR /&gt;                echo "ERROR CODE $x"&lt;BR /&gt;                rval=1&lt;BR /&gt;        fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;if [ -f /etc/rc.config.d/xvfb ] ; then&lt;BR /&gt;        . /etc/rc.config.d/xvfb&lt;BR /&gt;else&lt;BR /&gt;        echo "ERROR: /etc/rc.config.d/xvfb defaults file MISSING"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;case $1 in&lt;BR /&gt;start_msg)&lt;BR /&gt;        echo "Start XVfb X server"&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;stop_msg)&lt;BR /&gt;        echo "Stopping XVfb X server"&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;'start')&lt;BR /&gt;        if [ "$START_XVFB" -eq 1 ]; then&lt;BR /&gt;                if [ ! -f /etc/X11/X${DNUM}screens ]; then&lt;BR /&gt;                        echo X${DNUM}screens missing. Creating default&lt;BR /&gt;                        cat &amp;gt; /etc/X11/X${DNUM}screens &amp;lt;&amp;lt; @EOF&lt;BR /&gt;ServerOptions&lt;BR /&gt;        ServerMode  XVfb&lt;BR /&gt;@EOF&lt;BR /&gt;                fi&lt;BR /&gt;                ( $XVFB :${DNUM} $ARGS &amp;amp;)&lt;BR /&gt;                set_return&lt;BR /&gt;        else&lt;BR /&gt;                rval=2&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;'stop')&lt;BR /&gt;        #&lt;BR /&gt;        # Determine PID of process(es) to stop&lt;BR /&gt;        #&lt;BR /&gt;        export UNIX95=1&lt;BR /&gt;        export DNUM&lt;BR /&gt;        pid=`ps -C X -opid= -oargs= |              awk '$3 == ":"ENVIRON["DNUM"] {print $1}'`&lt;BR /&gt;        unset UNIX95&lt;BR /&gt;        if [ "X$pid" != "X" ]; then&lt;BR /&gt;                if kill $pid; then&lt;BR /&gt;                        echo "XVfb X server stopped"&lt;BR /&gt;                else&lt;BR /&gt;                        set_return&lt;BR /&gt;                        echo "Unable to stop XVfb X server"&lt;BR /&gt;                fi&lt;BR /&gt;        fi&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;*)&lt;BR /&gt;        echo "usage: $0 {start|stop}"&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;exit $rval&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Dec 2002 15:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860194#M95869</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-09T15:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: N-Class graphics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860195#M95870</link>
      <description>Armin,&lt;BR /&gt;&lt;BR /&gt;Thanks for those scripts, that was just what I was looking for. Where in the &lt;BR /&gt;/etc/rc.config.d/xvfb would I set the :5 to use display :5&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mike&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Dec 2002 08:40:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860195#M95870</guid>
      <dc:creator>Michael O'brien_1</dc:creator>
      <dc:date>2002-12-10T08:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: N-Class graphics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860196#M95871</link>
      <description>Sorry Armin, I've now read the script the display is set in the DNUM varaiable.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mike&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Dec 2002 10:08:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/n-class-graphics/m-p/2860196#M95871</guid>
      <dc:creator>Michael O'brien_1</dc:creator>
      <dc:date>2002-12-10T10:08:49Z</dc:date>
    </item>
  </channel>
</rss>

