xdm
, KDE
and dt
chooser programs. The program is used by selecting
boot method "indirect" for XDMCP
and entering the
host running xdmchooser
.
xdmping
.
cfg.c
change
#include <sys/fcntl.h>to
#include <fcntl.h>
error.h
adapt the varying argument macros
#if defined(_AIX) #define ERR_MSG(...) show_error (__FILE__, __LINE__, __VA_ARGS__ ) #define APP_MSG(...) show_error ("", -1, __VA_ARGS__ ) #else #define ERR_MSG(x,args...) show_error (__FILE__, __LINE__, x, ## args) #define APP_MSG(x,args...) show_error ("", -1, x, ## args) #endif
-Wall
flag
in Makefile.in
configure CC=cc CFLAGS=-O2 --prefix=/tmp/xdmchooser-1.2.1 # AIX native C compiler, install into /tmp # attempt to add Xpm support (with example for location): configure CC=cc CFLAGS="-O2 -I/bio/local/../61/include" LDFLAGS="-L/bio/local/../61/lib" --prefix=/tmp/xdmchooser-1.2.1 make clean maketo create the executables
make installwill copy essential executables and man pages (to
/tmp/xdmchooser-1.2.1/
).
mkdir -p /tmp/xdmchooser-1.2.1/etc # config dir. cp -p xdmchoose.conf /tmp/xdmchooser-1.2.1/etc # config file cp -p *.xpm /tmp/xdmchooser-1.2.1/etc # background pixmaps
cd /tmp/xdmchooser-1.2.1/ tar -cvf - * | compress >xdmchooser-1.2.1.tar.Z
XDM
server:
mkdir $DST/xdmchooser-1.2.1 cd $DST/xdmchooser-1.2.1 zcat xdmchooser-1.2.1.tar.Z | tar -xvf -
$DST/etc/xdmchoose.conf
, e.g.:
app.startscript "$DST/bin/xdmchooser-background.sh" panel.background "$DST/etc/xdmchoose-blur.xpm" app.hostlist "bio.pool" "aix-pool" "lx-pool"
/etc/dt/config/Xconfig
(if not existing, copy from /usr/dt/config/Xconfig
)
add the line
Dtlogin*chooser: $DST/bin/xdmchooser --config $DST/etc/xdmchoose.conf