Hello Torsten Kuehn,
On Thu, 31 Jul 1997 20:02:48 GMT, you said:
>
> How can I set up a window manager other than twm with XFree86
> when X is started with xdm? (I prefer xdm to startx or xinit scripts
> because of xsm's checkpoint feature).
> Other window manager's ressource files (such as .fvwmrc) don't help
> much as long as twm isn't replaced by this other window manager.
> Since two weeks I'm looking for a solution - I really need some hints.
>
I agree that this has not been made very clear at all. Any new user
un-familiar with Xwindows would not easily be able to devine this from
most casual reading.
To start properly from xdm, you must have a .xsession file in $HOME. You
may want to link it to your .Xclients file or whatever you are using to
fire fvwm2 with startx. In my case, I have a .Xclients file and I soft
linked .xsession to .Xclients. Here is my .Xclients for what it is worth;
(I try to add plenty of comments to make it readable.)
----------------->attachment
#!/bin/bash
#
# load my X resources
#
xrdb -load $HOME/.Xdefaults
#
# source the .profile (xdm seems to skip the normal login sequence)
#
. /etc/profile
#
# Start an Xterm client
#
xterm -geometry +312+312&
#
# Start a nice digital clock
#
xclock -geometry 249x40+532+0 -digital -fn 12x24 -update 30 &
#
# Start xconsole for system messages
#
xconsole -geometry +0+0&
#
# Start the calendar tool
#
ical -calendar $HOME/.calendar &
#
# If fvwm2 is in the path, then fire it up (save errors in
# $HOME/.fvwm-errors for debugging)
#
if [ ! -z $(type -path fvwm2) ]; then
exec fvwm2 -display :0 \
> $HOME/.fvwm-errors 2>&1
else
#
# Ooops, not fvwm2
#
exec twm
fi
---------------->end attachment
Rick Stuart
Houston, TX
rick_stuart_at_anadarko.com, (281)876-8619
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Jul 31 1997 - 16:59:17 BST