On Mon, Sep 10, 2001 at 10:29:55PM -0600, Collins Richey wrote:
...
>My brain finally kicked in gear.  I haven't run Caldera in a while. 
>If you reinstall X, you can then run startx just like on a normal
>distro.

It's a lot easier than that with Caldera 3.1.  I posted details
on how to do this about a week ago.  The X server has to be
setuid root, create a /etc/X11/xinit/xserverrc file, copy
/etc/X11/xinit/xintirc to $HOME/.xinitrc and tailor to suit.

I'm attaching my xinitrc and xserverrc files again.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Intellectually, teachers fall between education theorists and bright
cocker spaniels. (Probably closer to the education theorists. The AKC has
been doing wonders with spaniels.) If you think I'm kidding look at the
GREs for education majors, whose scores are the lowest of all fields, and
remember that these are the smart ones.'' -- http://www.FredOnEverything.net
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# start some nice programs

# exec /usr/bin/startkde
exec /usr/bin/startxfce

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
#!/bin/bash

XAUTH=$HOME/.Xauthority
MKCOOKIE=/usr/bin/mcookie

touch $XAUTH

for host in localhost $HOSTNAME $HOST; do
    xauth add $host/unix:0 . `$MKCOOKIE`
    xauth add $host:0 . `$MKCOOKIE`
done
xauth add :0.0 . `$MKCOOKIE`

# exec Xwrapper -auth $XAUTH :0
exec X -auth $XAUTH :0

Reply via email to