SUMMARY: X TERMINAL ports

From: Trevor Morrison (trevor@ssci.liverpool.ac.uk)
Date: Mon Jan 11 1993 - 11:20:40 CST


Thanks. I now have xdm running the way I want it.
Several things need to be known for anyone else
with an interest in it. I had problems because of:
1) ports with numbers < 1023 (eg 177) need to be bound
to as root. ie you can't test the xdm command line as
anything other than root
2) maybe it appears to be necessary to define LD_LIBRARY_PATH
in rc.local before running xdm from there
3) Watch out for an earlier successfull run of xdm which
would prevent new copies being created as the port would
then be in use.
4) I myself discovered problems if you run .xsession as
a sh rather than as a csh script with things like mailtool
not working correctly.

my rc.local now looks like this:
if [ -f /tftpboot/Tektronix/XP/bin/sun4/xdmconfig/xdm-config ]; then
        LD_LIBRARY_PATH=/usr/openwin/lib; export LD_LIBRARY_PATH
        /tftpboot/Tektronix/XP/bin/sun4/xdm \
        -config /tftpboot/Tektronix/XP/bin/sun4/xdmconfig/xdm-config &
        echo 'Started xdm '
fi
(I just put the xdm stuff in the Tek tftpboot directory it could go in /usr/local/X11/xdm)

our default .xsession now looks like this:
#!/bin/csh
# NB (NOT /bin/sh in our case)
if ($?XDM_INITIATED) then

        if (-x ${HOME}/.openwin-init) then
                ${HOME}/.openwin-init &
        endif

        exec /usr/openwin/bin/olwm

endif

Thanks to those who responded:
haas@csid.gmeds.com
boes@corona.AuE.com
mce@sdcc10.ucsd.edu
timf@csc10.wv.tek.com
fourx.Aus.Sun.COM!ups!felixcat!robert

Dr.T.P.Morrison
Surface Science Research Centre,
University of Liverpool, PO Box 147,
Liverpool L69 3BX, UK.
Tel:051-794-3877 Fax: 051-708-0662



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:20 CDT