Subject: Re: xdm - selecting WM on login
To: Luke Mewburn <lukem@netbsd.org>
From: Wojciech Puchar <wojtek@tensor.3miasto.net>
List: netbsd-users
Date: 03/24/2003 18:22:56
> On Mon, Mar 24, 2003 at 05:22:11PM +0100, Wojciech Puchar wrote:
>   | is it possible for xdm to ask for window manager?
>
> the traditional way one solves this problem in an xdm environment
> is to modify your ~/.xsession.  (that's worked for me for over a decade)

for me too. but i wan't to select it when logging, not permanently.

>
> the "kde" argument code comes from something like the following in
> /usr/X11R6/lib/X11/xdm/Xresources:
>
> 	xlogin*login.translations: #override \
> 		<Key>F1:	set-session-argument(kde)finish-field()\n\
> 		<Key>F2:	set-session-argument(twm)finish-field()\n\
> 		<Key>Return:	set-session-argument() finish-field()
>
> the argument to "set-session-argument()" is passed as $1 to .../xdm/Xsession.
>
>
> xdm(1) explains more.
thank you.