LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-03-2004, 03:27 PM   #1
B. Alec
LQ Newbie
 
Registered: Jan 2004
Location: St. Paul, Minnesota US
Distribution: Slackware 9.1, not quite LFS 5
Posts: 18

Rep: Reputation: 0
Question kdm configuration mandrake 9.0


Hello all,
I have read more than I can handle about my problem both here and through google, and I'm still stuck. I'm trying to learn how to add a windowmanager to my graphical login and have so far been unsuccessful while trying fvwm2.
What I've done successfully:
configured the kdm menu to display fvwm2 as an option

What happened:
no window manager started after my login, just a blank screen the same color as kdm. I F2'd out of it back to the kdm menu.

What I assume:
I need to add a startup script somewhere or make sure the fvwm2 executable now residing in /usr/X11R6/bin is in the right path or directory.

What I tried:
1)From the KDEHandbook online:
Looking at my Xsession file in /etc/X11/xdm/
That Xsession file looked like:

#!/bin/bash -login
exec /etc/X11/Xsession $*
#Xsession ends here

:KDEHandbook says the Xsession file should have a part that looks like:
#now we see if xdm/gdm/kdm has asked for a specific environment
case $# in
1)
case $1 in
kde)
source /opt/kde2/bin/kde1
exec startkde
;;
[Et cetera until...]
esac
esac

: and I should add a similar code pointing to fvwm2
: So I look instead at the Xsession file in /etc/X11/Xsession , which in my case has a similar but fundamentally different look:

#now, we see if xdm/gdm/kdm has asked for a specific environment
if [ $#=1 ]; then
DESKTOP=$1
else
if [ -f $HOME /.desktop ]; then
. $HOME/.desktop >/dev/null 2>&1
elif [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop >/dev/null 2>&1
fi
fi

: so I can't follow the KDEHandbook's specific directions for this file at least.

: I also tried adding an entry "08fvwm2" to /etc/X11/wmsession.d/ that looked like the other seven but pointed to /usr/X11R6/bin and created an executable startscript there called startfvwm2 containing:

exec /usr/local/bin/fvwm2

:to no avail.

I'm sure I'm missing something simple but I just can't see it. I would much appreciate a wise word on this. It's not that I really need fvwm2, I just want to learn how to do this. Thanks.

 
Old 02-03-2004, 04:24 PM   #2
B. Alec
LQ Newbie
 
Registered: Jan 2004
Location: St. Paul, Minnesota US
Distribution: Slackware 9.1, not quite LFS 5
Posts: 18

Original Poster
Rep: Reputation: 0
And an update of course!

found in /etc/X11R6/bin an executable "RunWM" that looks alot more like the KDEHandbook file than my Xsession file did. I'm going to back that up and mess with it.


P.S.
Does anyone know off the top of your head where Afterstep would put itself if not in usr/local/bin or etc/X11R6/bin?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDM GUI choice configuration adds2one Linux - Software 8 03-25-2006 01:29 PM
Mandrake KDM and a new window manager Law1213 Linux - Software 1 10-27-2004 05:59 PM
blackbox with KDM on mandrake 9.1 AncientOne Mandriva 2 09-12-2003 10:26 AM
using the gdm instead of kdm in mandrake 9.1 spork545 Linux - Distributions 3 07-31-2003 11:10 PM
howto add session to kdm - mandrake 9 breadbin Linux - Newbie 1 02-02-2003 04:51 PM


All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration