keep it simple. #!/bin/sh # exec scrotwm # #exec /usr/X11R6/bin/scrotwm #
2009/8/19 Joachim Schipper <joac...@joachimschipper.nl>: > On Wed, Aug 19, 2009 at 11:32:05AM +0000, Chris wrote: >> I am trying to get a new wm (scrotwm) and added it to .xinitrc but >> it's not working. Every time I press ALT-CRTL-Backspace and log back > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> again, I get landed on fvwm. Not sure what I'm doing wrong. > ^^^^^ >> The same .xinitrc works on another box running bash shell for a normal user. > > I assume you are using xdm(1). xinit(1) uses .xinitrc, but xdm uses > .xsession. > > Converting to .xsession is rather straightforward (just 'exec scrotwm' > is likely to suffice); just keep in mind that xdm runs some scripts in > /etc/X11/xdm, in case something happens that you don't want to happen. > The gory details are in the man page. > > Joachim