Message-ID: <3A49BE6C.D2755E0B@cfl.rr.com> Date: Wed, 27 Dec 2000 05:03:24 -0500 From: Mark Hounschell <dmarkh@cfl.rr.com> Subject: Re: KDE 2.0.1 Still Not quite right] Ed Harrison wrote:
I have both kde1 and kde2. I read the /www.kde.org/kde1-and-kde2.html and set everything up as they said.
As root or user, if I am in init 2, WINDOWMANAGER=kde2 startx, KDE2 starts perfectly, remembers changes I make and exits cleanly.
HOWEVER, if use any other command, like startx kde2, the old kde1 setup comes up just like it always has.
ALSO, if I am in init 3 and choose kde2 from the drop down list, as root or user, it still starts in kde1.
What makes X think that kde1 is some kind of default windowmanager? How can I stop this behavior? Other than using the first command line that I mentioned above.
First off, when I first tried to follow the kde1.and.kde2 instructions I couldn't do what is said to do to the /etc/X11/xdm/Xsession file. It was because i had installed x4.0 from the xfree site instead of suse's site. At that time I went ahead and got x4.0.1 FROM SUSE and installed it. Then I was able to make that mod. If your Xsession file didn't look exactly like the kde1.and.kde2 how-to described then that could be a problem. As long as you haven't gotten X4.0 or > from the xfree site then I can assume that your Xsession file is SuSE's and ok. The same holds true for any .xsession file in any user directory. If any of the above is true for you then you need to get x4.0.1 from suse and install it first. OR I could give them to ya. Next, are you sure you are using kdm instead of xdm. That is configured in /etc/rc.config. DISPLAYMANAGER="kdm" Also the default WINDOWMANAGER is setup in /etc/rc.config also and is set to DEFAULT_WM="kde" on my machine. Run SuSEConfig after any changes to /etc/rc.config. Back to the Xsession mods. Does yours look like this? # xinitrc if they exist XSESSION_IS_UP=yes export XSESSION_IS_UP if test "$WINDOWMANAGER" = "kde2"; then source /opt/kde2/bin/kde2 export KDEHOME=$HOME/.kde2 exec startkde exit 1 fi if test -f $session ; then test -x $session && exec $session exec /bin/sh $session elif test -f $xinitrc ; then test -x $xinitrc && exec $xinitrc . . . The above is from SuSE's install of X4.0.1. The one from the xfree site will no look like SuSE's and any attempt to put the recomended mods in it won't work right. Another thing I did was add a couple of lines to /etc/profile.local that just do a double check for kde2. if test "$WINDOWMANAGER" = "kde2" ; then source /opt/kde2/bin/kde2 fi Oh, and here is my /opt/kde2/bin/kde2 file. #!/bin/sh export KDEDIR=/opt/kde2 export QTDIR=/usr/lib/qt2 export PATH=$KDEDIR/bin:$PATH export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib <p> -- Mark Hounschell dmarkh@cfl.rr.com
participants (1)
-
dmarkh@cfl.rr.com