On Thu, 3 Jan 2002, James Herschel wrote:
> Just trying to get into the BSD swing of things with the new OpenBSD 3.0
> - I haven't changed too much, just ran the xf86config, things seemed to
> be working fine with the default window manager FVWM, but FVWM is FVWM.
>
> X seemed to work fine before changing to blackbox, I ran the xf86config
> (text mode, my mouse doesn't pick up in xf86cfg) set up everything fine
> - then I installed BlackBox (crappy hardware) and put that in place of
> 'fvwm &' in the /etc/X11/xinit/xinitrc - if I run 'startx' now,
> everything shows up, then quits - if I run just 'X' xwindows starts up,
> but of course I have no window manager and can't do anything but stare
> at the cursor - removing 'blackbox &' and replacing it with the fvwm &
> hasn't fixed anything
>
> Here is the error and my xinitrc...
>
> # cat xinitrc
> #!/bin/sh
> # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
> # $OpenBSD: xinitrc.cpp,v 1.6 2001/06/04 12:42:30 matthieu 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
>
> # if we have private ssh key(s), start ssh-agent and add the key(s)
> id1=$HOME/.ssh/identity id2=$HOME/.ssh/id_dsa id3=$HOME/.ssh/id_rsa if [
> -e /usr/bin/ssh-agent ] && [ -f $id1 -o -f $id2 -o -f $id3 ]; then
> eval `ssh-agent -s`
> ssh-add $id1 $id2 $id3 < /dev/null
> fi
>
> # start some nice programs
>
> xclock -geometry 50x50-1+1 &
> xconsole &
> xterm -geometry 80x24 &
> fvwm &
When it's through with this script, the server terminates
so you don't want to run the window manager as a background
process (ie. remove the '&' from the last line).
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert