Elliot Sowadsky <elliot_at_c-cube.com> writes:
> exitting fvwm (2.3.16) still hangs even w/ this .xinitrc ...
>
>
>
> dis=`hostname`
> DISPLAY=$dis":0"
> export DISPLAY
You would be better off just setting $DISPLAY to ":0".
> if [ -f $HOME/.Xdefaults ]; then
> xrdb $HOME/.Xdefaults & # Load Users X11 resource database
> else
> xrdb $OPENWINHOME/lib/Xdefaults & # Load Default X11 resource database
> fi
> $OPENWINHOME/lib/openwin-sys & # OpenWindows system initializa
> tion
>
> xset s 7200 # screenblank delay
OK.
> if [ -f /usr/local/bin/fvwm2 ]; then
> echo fvwm2
> elif [ -f /usr/local/bin/fvwm ]; then # fvwm Window Manager
> /usr/local/bin/fvwm &
> elif [ -f /cad/bin/olvwm ]; then # OpenLook Window Manager
> /cad/bin/olvwm -2d &
> else
> olwm &
> fi
Its impossible for us to tell which of the above would get executed,
since we don't know which of these files exist.
The "echo fvwm2" part doesn't make much sense.
It doesn't seem like you would want to start a background window manager
at this point, based on the stuff done later on.
I suggest deleting the whole section.
> if [ -x $HOME/.openwin-init ]; then
> $HOME/.openwin-init # Custom OpenWindows tools
> else
> $OPENWINHOME/lib/openwin-init # Default OpenWindows tools
> fi
Since I don't know if you have a $HOME/.openwin-init,
I can't tell what this section might do.
The "else" part seems OK.
> xhost + > /dev/null
Weak security, but thats up to you.
> if [ -f /usr/local/bin/fvwm2 ]; then # fvwm2 Window Manager
> fvwm2
> fi
If you did get this far, executing fvwm2 would be the last thing you
did in your .xinitrc, and you would be using the window manager to
keep your X Session active. If you correctly exited fvwm, then your X
session would end.
Try removing the piece above.
--
Dan Espen
444 Hoes Lane Room RRC 1C-214 E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854 Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Jun 26 2000 - 21:26:25 BST