Re: [foxboro] dual-headed Linux box as operator workstation

  • From: Darryl Bond <dbond@xxxxxxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Thu, 22 Nov 2001 08:26:12 +1000

Another way to set up Linux,
Set up the automounter (autofs to access the fonts)
Add this line to /etc/auto.misc
fonts <fontserver IP Address>:/usr/fox/wp/fonts
 
This will automatically mounte the fonts under /misc/fonts whenever this 
directory is referenced.
 
Modify /etc/X11/XF86Config-4 to add the extra font path
Section "Files"
        FontPath "unix/:7100
        FontPath "/misc/fonts"
EndSection
 
Modify /etc/inittab to change run level 5 from local display manager to remote 
display manager
Change this
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
 
to
# xdm is now a separate service
x:5:respawn:/usr/X11R6/bin/X -depth 8 -query <IPADDRESS of AW/WP>
 
This will work just like an Xterminal as recommended by Foxboro.

The whole display is hosted by the AW/WP and is configured using the Foxboro 
Documentation about XTerminals.

Dual Screen Linux boxes work just fine in this mode as well.

Darryl Bond


 



Stear, Bo wrote:

> OK, so no attachments, no contribution.... 
> 
> well....... OK then but you've got to handle the second CRT yourself:
> 
> How to set up Linux to start up a DM without logging in
> 
> Caution: This procedure will boot the box and run the DM under the root 
> account !!
> 
> Assumption: The procedure to use Linux to view remote DM's has been 
> successful.
> 
> 1)  Boot the Linux machine and login as root.
> 2) Create the following scripts in /usr/scripts and make sure they are 
> executable:
>  
>  Script 1:
>  #!/bin/sh
>  #
>  # startopenwin
>  #
>  # User specific environment and startup programs
>  PATH=$PATH:$HOME/bin:/usr/openwin/bin
>  LD_LIBRARY_PATH=/usr/openwin/lib
>  OPENWINHOME=/usr/openwin
>  BASH_ENV=$HOME/.bashrc
>  USERNAME=""
>  export USERNAME BASH_ENV PATH LD_LIBRARY_PATH OPENWINHOME
>  openwin
>  
>     Script 2:
> #!/bin/sh
> #
> # stopX.sh
> #
> # Change to run level 3 to stop respawning of X
> telinit 3
> # Check to make sure a remote DM is not running
> dmpid=`ps x |grep -e '/usr/X11R6/bin/xterm -T Remote IA' |grep -v grep |awk 
> '{pr
> int $1}'`
> if [ $dmpid ]
> then
>         kill -TERM $dmpid
> fi
> # Get the PID of the Xwrapper and olwm
> wrappid=`ps x |grep /usr/X11R6/bin/Xwrapper |grep -v grep |awk '{print $1}'`
> olwmpid=`ps x |grep /usr/openwin/bin/olwm |grep -v grep |awk '{print $1}'`
> # Send a kill signal
> kill -TERM $olwmpid $wrappid
> 
> 3) Open /etc/inittab and make the following modifications:
> 1. Change the line reading 'id:3:initdefault' to 'id:5:initdefault'.
> 2. Comment out the line reading 'x:5:respawn:/usr/bin/X11/xdm \nodaemon'.
> 3. Add the following two lines
>  # Try starting openwin in runlevel 5
>  x:5:respawn:/usr/scripts/startopenwin
> 
> 4) Edit /usr/openwin/lib/openwin-menu and comment out all items except the 
> Foxboro DM option. You may want to leave access to the 'Shells' menu until 
> you are sure this works properly.
> 5) Create the following .xinitrc file in / and make sure it is executable.
>       
>       /usr/X11R6/bin/xset +fp /usr/fox/wp/fonts
>       /usr/X11R6/bin/xset fp rehash
>       /usr/X11R6/bin/xhost +
>       /usr/scripts/operate.fox &
>       /usr/openwin/bin/olwm -f
> 
> Note:  After this procedure the only access to the box will be through a 
> remote telnet or rlogin session ... so ensure you are connected to a network 
> prior to making the above changes.
> 
> To stop the X window environment you need to telnet to the Linux box and run 
> the /usr/scripts/stopX.sh script as root.  This script will change the run 
> level to 3, stop the DM (if running) and exit the X windowing system.  A 
> login prompt can be used at the box after hitting the 'Return' key.  Logging 
> in as root in run level 3 will not start the X windowing system therefore 
> allowing local prompt adminstration / shutdown.
> 
> -----Original Message-----
> From: Stear, Bo [mailto:stear@xxxxxxx]
> Sent: Monday, November 19, 2001 12:58 PM
> To: 'foxboro@xxxxxxxxxxxxx'
> Subject: Re: [foxboro] dual-headed Linux box as operator workstation
> 
> 
> I could have sworn there was an attachment.... oh well... once more:
> 
> 
> -----Original Message-----
> From: Stear, Bo [mailto:stear@xxxxxxx]
> Sent: Monday, November 19, 2001 12:51 PM
> To: 'foxboro@xxxxxxxxxxxxx'
> Subject: Re: [foxboro] dual-headed Linux box as operator workstation
> 
> 
> So here's my contribution......
> 
> -----Original Message-----
> From: Brian Bates [mailto:batesb@xxxxxxxxxxx]
> Sent: Monday, November 19, 2001 11:57 AM
> To: foxboro@xxxxxxxxxxxxx
> Subject: Re: [foxboro] dual-headed Linux box as operator workstation
> 
> 
> 
> 
> Daren, Duc,
> I found this HOWTO at RedHat for configuring the Matrox G400 dual head on
> RH7.0.
> http://people.redhat.com/wjones/docs/g400-dh.html
> 
> Brian Bates
> Bowater Inc.
> Thunder Bay, ON, Canada
> 
> 
>  
>  
> ___________________________________________________________________
> This list is neither sponsored nor endorsed by The Foxboro Company.
> Use the information obtained here at your own risk. For disclaimer,
> see http://www.thecassandraproject.org/disclaimer.html#maillist
> 
> list info:   //www.freelists.org/list/foxboro
> subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
> unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
> 
> 
> 
> 
>  
>  
> ___________________________________________________________________
> This list is neither sponsored nor endorsed by The Foxboro Company.
> Use the information obtained here at your own risk. For disclaimer,
> see http://www.thecassandraproject.org/disclaimer.html#maillist
> 
> list info:   //www.freelists.org/list/foxboro
> subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
> unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
> 
> 
> 
> 
>  
>  
> ___________________________________________________________________
> This list is neither sponsored nor endorsed by The Foxboro Company.
> Use the information obtained here at your own risk. For disclaimer,
> see http://www.thecassandraproject.org/disclaimer.html#maillist
> 
> list info:   //www.freelists.org/list/foxboro
> subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
> unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
>  
>  
> ___________________________________________________________________
> This list is neither sponsored nor endorsed by The Foxboro Company.
> Use the information obtained here at your own risk. For disclaimer,
> see http://www.thecassandraproject.org/disclaimer.html#maillist
> 
> list info:   //www.freelists.org/list/foxboro
> subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
> unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
> 



 
 
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist

list info:   //www.freelists.org/list/foxboro
subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave

Other related posts: