3
XCOMM $Xorg: Xsession,v 1.4 2000/08/17 19:54:17 cpqbld Exp $
4
XCOMM $XFree86: xc/programs/xdm/config/Xsession,v 1.2 1998/01/11 03:48:32 dawes Exp $
6
XCOMM redirect errors to a file in user's home directory if we can
7
for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
9
if ( cp /dev/null "$errfile" 2> /dev/null )
12
exec > "$errfile" 2>&1
21
exec BINDIR/xterm -geometry 80x24-0-0
26
XCOMM The startup script is not intended to have arguments.
28
startup=$HOME/.xsession
29
resources=$HOME/.Xresources
31
if [ -s "$startup" ]; then
32
if [ -x "$startup" ]; then
35
exec /bin/sh "$startup"
38
if [ -r "$resources" ]; then
39
BINDIR/xrdb -load "$resources"
41
#if defined(__SCO__) || defined(__UNIXWARE__)
42
[ -r /etc/default/xdesktops ] && {
43
. /etc/default/xdesktops
46
[ -r /etc/default/xdm ] && {
50
XCOMM Allow the user to over-ride the system default desktop
51
[ -r $HOME/.xdmdesktop ] && {
55
[ -n "$XDESKTOP" ] && {