2 XCOMM $XConsortium: Xsession.ow2.src /main/3 1996/11/19 11:41:57 drk $
3 XCOMM ####################################################################
4 XCOMM ## File: Xsession.ow2
6 XCOMM ## Default Location: /usr/dt/config/Xsession.ow2
8 XCOMM ## Purpose: OpenWindows Desktop start script
10 XCOMM ## Invoked by: /usr/dt/bin/Xsession
12 XCOMM ## Revision: @(#)Xsession.ow2.src 1.3 95/02/16
14 XCOMM ## (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
16 XCOMM ####################################################################
18 XCOMM First a little namespace cleanup of vars associated with this
19 XCOMM (and /usr/dt/bin/Xsession.ow) scripts.
26 XCOMM Find "xinitrc" file by standard precedence rules and start
27 XCOMM the user's OpenWindows Desktop.
30 DEFAULT_XINITRC="/usr/openwin/lib/Xinitrc"
31 HOME_XINITRC="$HOME/.xinitrc"
33 if [ -z "$XINITRC" ]; then
34 if [ -f $HOME_XINITRC ]; then
37 XINITRC=$DEFAULT_XINITRC
41 echo "OpenWindows Desktop Login"
43 if [ -f $XINITRC ]; then
44 echo "using xinitrc file: $XINITRC"
47 echo "xinitrc file: $XINITRC not found"
48 if [ -f $DEFAULT_XINITRC ]; then
49 echo "using xinitrc: $DEFAULT_XINITRC"
50 /bin/ksh $DEFAULT_XINITRC