SUMMARY - SUN SUPPORT FOR AN X-WINDOWS PROTOCOL

From: Calvin R. Pugh (cpugh@richmond.infi.net)
Date: Mon Jul 17 1995 - 21:47:39 CDT


THIS IS A SUMMARY FOR THE ABOVE MENTIONED "FAQ":

>We have a SUN SPARCStation 20 with Solaris 2.4 and I would like to know if
the XDMCP (X Display Manager Control Protocol) is supported. This protocol
allows remote clients to log-on the SUN as if they were at the main console.
If this is supported, how can we activate this feature.
>

It is supported; however, the exact configuration can be somewhat involved.
The program is /usr/openwin/bin/xdm and the configuration files are in the
/usr/openwin/lib/xdm directory. To get xdm run on startup, create a file in
/etc/rc2.d named S90xdm with these contents:

# xdm
pid=`/usr/bin/ps -e | /usr/bin/grep xdm | /usr/bin/sed -e 's/^ *//' -e 's/
.*//'`
xdm=/usr/openwin/bin/xdm
 
case $1 in
'start')
        if [ "${pid}" = "" ]
        then
                if [ -x $xdm ]
                then
                        $xdm -config /usr/openwin/lib/xdm/xdm-config
                fi
        fi
        ;;
'stop')
        if [ "${pid}" != "" ]
        then
                /usr/bin/kill ${pid}
        fi
        ;;
*)
        echo "usage: /etc/rc2.d/S90xdm {start|stop}"
        ;;
esac

Also check the man page for "xdm." More information is provided in the
"X-Window System Administrator's Guide" by O' Reilly & Associates ( Mui and
Pearce).



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:29 CDT