With startx under IBM AIX

Under IBM AIX, if the X Window server is started without a display manager by startx, the X Window server is specified in the script /usr/lpp/X11/defaults/xserverrc or in $HOME/.xserverrc. The lines

if [ $XTOEXEC ]; then
exec /usr/lpp/X11/bin/X $EXTENSIONS "$@"
else
TEMP=`/usr/lpp/X11/bin/X $EXTENSIONS "$@"`
fi

can be modified for XposeXrecord support:

if [ -x /opt/XSOXposeXrecord/bin/xposexrecord ]
then
EXTENSIONS=":1 "$EXTENSIONS
Xposexrecord="/opt/XSOXposeXrecord/bin/xposexrecord serverCommand"
fi
if [ $XTOEXEC ]; then
exec $Xposexrecord /usr/lpp/X11/bin/X $EXTENSIONS "$@"
else
TEMP=`$Xposexrecord /usr/lpp/X11/bin/X $EXTENSIONS "$@"`
fi

Copyright © 2018 X-Software GmbH
info@x-software.com
2009-07-30 14:44:05 +0200