[NTLUG:Discuss] A general UNIX question

MadHat madhat at unspecific.com
Thu Sep 30 21:41:40 CDT 1999


"Thomas T. Stocksdale" wrote:
> 
> On Thu, 30 Sep 1999, you wrote:
> > Brian wrote:
> > >
> > > The kdm (KDE's answer to xdm) allows the user to select a window manager at
> > > login.  Don't know about the NT part, though...
> >
> > from what I remember, you can't do that with CDE on solaris, you have to
> > use the dt-stuff that comes with it and set up another option (the
> > defaults being CDE and Openwindows).
> 
> Sure you can.  I have a SparcStation 20, and I set it up with KDE.  You just
> have to be willing to give up the ability to launch OpenWindows.
> 
> If you select OpenWindows at the login dialog, the launch scripts will first
> try your $HOME/.xinitrc    I copied the template from /usr/dt/config and then
> modified it.  I set mine up like this:

It looks like you are provinfg what I said.   You don't use KDM, you use
the dt manager that comes with SOlaris.  This is what I said before. 
You add an entry for kde, but you aren't using KDM (kdm is the login
manager, kwm is the window manager).  Is that what this is?

> 
> <***** Begin .xinitrc>
> #####################################################################
> ###  File:              Xinitrc.ow
> ###
> ###  Default Location:  /usr/dt/config/Xinitrc.ow
> ###
> ###  Purpose:           OpenWindows session start script
> ###
> ###  Invoked by:        /usr/dt/config/Xsession.ow2
> ###
> ###  Revision:          @(#)Xinitrc.ow.src 1.2 98/11/30
> ###
> ###  (c) Copyright 1993-1997 Sun Microsystems, Inc.
> ###
> ###  Modified to start kde instead of OpenWindows
> ###
> #####################################################################
> 
> if [ -f $HOME/.Xdefaults ]; then
>     xrdb -merge $HOME/.Xdefaults        # Load Users X11 resource database
> fi
> 
> eval `locale_env -env`                  # Set Locale Environment
> PATH=/bin:/usr/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin:/usr/local/bin:/usr/local/kde/bin:/usr/java/bin:/usr/netscape
> 
> sleep 25 & pid=$!
> exec /usr/local/kde/bin/kcontrol -init >>~/error.log 2>&1 &
> sleep 3s
> exec /usr/local/kde/bin/krootwm >>~/error.log 2>&1 &
> sleep 3s
> exec /usr/local/kde/bin/kpanel >>~/error.log 2>&1 &
> sleep 3s
> exec /usr/local/kde/bin/kbgndwm >>~/error.log 2>&1 &
> sleep 3s
> exec /usr/local/kde/bin/kwm >>~/error.log 2>&1 & wmpid=$!
> sleep 3s
> exec /usr/local/kde/bin/kfm -ncols 96 >>~/error.log 2>&1 &
> 
> xmodmap -e "keycode 22 = Escape"
> xmodmap -e "keycode 125 = F1"
> 
> wait $pid
> wait $wmpid                             # Wait for wm (key client) to exit
> rm -f error.log
> <***** end .xinitrc>
> 
> Tom Stocksdale
> 
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss

-- 
MadHat




More information about the Discuss mailing list