LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-01-2002, 11:31 AM   #1
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Rep: Reputation: 30
Add login window manager


I know this question had been ask before and I tried to follow but end up with no result.

I running on RH7.3, I just install fluxbox from tar file. And i want it to add in to my login manager so everytime when I boot up I can choose fluxbox to start as my X window. I had tried to edit the following script /etc/X11/xdm/Xsession into this

# now, we see if xdm/gdm/kdm has asked for a specific environment
case $# in
1)
if [ -x /usr/share/apps/switchdesk/Xclients.$1 ]; then
exec -l $SHELL -c "/usr/share/apps/switchdesk/Xclients.$1";
fi;

case $1 in
failsafe)
exec -l $SHELL -c "xterm -geometry 80x24-0-0"
;;
fluxbox)
exec /usr/local/bin/fluxbox
;;
gnome)
exec -l $SHELL -c "gnome-session"
;;
kde|kde1|kde2)
exec -l $SHELL -c "/usr/share/apps/switchdesk/Xclients.kde"
;;
twm)
# fall back to twm
exec -l $SHELL -c "/usr/share/apps/switchdesk/Xclients.twm"
;;
esac
esac

but still there is no fluxbox in the login menu.

Please advise.
 
Old 08-01-2002, 12:20 PM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
all the other window manager things in that bit of script have

-l $SHELL -c

in front of the program to execute.

try

exec -l $SHELL -c /usr/local/bin/fluxbox

and see if that works instead.

HTH

Alex
 
Old 08-02-2002, 06:41 AM   #3
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
anymore advise?
 
Old 08-02-2002, 07:19 AM   #4
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
May be you are running KDM or GDM?
( Well only a guess. Don't know if they really got diff config files? )
--Sarin

Last edited by sarin; 08-02-2002 at 07:25 AM.
 
Old 08-02-2002, 12:39 PM   #5
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
Well I guess i use kde login manager which is kdm but as i change Xsession kdm also change and both scripts are the same configuration. Still no ideas
 
Old 08-02-2002, 01:37 PM   #6
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
Ok let me do a bit of experimenting. I found kdmrc file. Session is set to Xsession in xdm dir. But there is an entry for SessionTypes. May be you should change that. See /etc/kde/kdm/kdmrc. I will also try and post back if I find something useful.
--Sarin
 
Old 08-02-2002, 01:41 PM   #7
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
Yep. I think I am correct. Go to that file make an entry for fluxbox.
SessionTypes=default,kde,gnome,fluxbox,failsafe
or something like that.
--Sarin
 
Old 08-03-2002, 10:48 AM   #8
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
sarin you are the best . It work so do you think its necessary to change the setting in Xsession also? or just kdmrc? Anywa cant get use to fluxbox still figuring out how to change BG pic and how to add more items in the menu.
 
  


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
gdm add window manager el_pajaro! Debian 2 04-30-2005 08:16 PM
add a window manager in kdm nenyo Linux - Software 1 02-05-2005 02:26 AM
Login manager window reposition pulsarbhai Red Hat 2 09-25-2004 12:04 PM
Add Window Manager to KDM Slackware 10 sovietpower Slackware 15 09-15-2004 10:55 PM
How do I add another window manager to my GDM session list? RoaCh Of DisCor Linux - Software 0 07-08-2004 05:57 PM


All times are GMT -5. The time now is 04:22 PM.

Main Menu
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