On Wed, Jun 04, 2003 at 10:23:32PM -0700, Klaus D. Neumann wrote:

> How can I start my favorite wm (KDE) from the console after login as
> a second user. My SuSE command: WINDOWMANAGER=kde3; startx -- :1
> doesn't seem to work. With it I end up in twm instead.

Something like this in ~/.xinitrc should do the trick:

#!/bin/bash
if [ -n "$WINDOWMANAGER" ]; then
        exec $WINDOWMANAGER
else
        exec startkde
fi

... but give the name of the excutable rather then a keyword
(startkde, not kde3) and lose the semi-colon.

-- 
David Dorward                                     http://david.us-lot.org/
         Redesign in progress: http://stone.thecoreworlds.net/
  Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/2003/5/30/microsoft-announces-ie-is-dead

--
[EMAIL PROTECTED] mailing list

Reply via email to