LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-21-2004, 07:10 PM   #1
dikadika
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 3 64 bit
Posts: 13

Rep: Reputation: 0
Adding Windows Managers to KDM??


I've been looking for an answer to this for a few days now, but havent been able to figure it out and almost have given up.

What i am trying to do is add another windows manager (fluxbox in my case) to the dropdown in KDM. I have tried the instructions on the fluxbox website, asked on freenode a couple different times, and searched the net, and still havent found something that works.

I'm sure its just an entry that i put into a config file someplace or something similar, but i havent been able to find it.

I am running mandrake 10 with KDE 3.2 (and whichever version of KDM comes with mandrake 10/kde 3.2)

I can log into fluxbox if i choose "default" from the dropdown (which i did by editing ~/.xsession with the flux command. However no other person is able to startup flux without editing their .xsession file as well.

I know how to edit the .xsession and the .xinitrc to start flux for one person via the gui or the startx command.

Could anyone pls help me figure this out??

Thank you in advance
 
Old 05-21-2004, 09:09 PM   #2
CanadianPenguin
Member
 
Registered: Oct 2003
Distribution: Ubuntu "Hoary" - The best distro around by a long shot.
Posts: 116

Rep: Reputation: 15
Run the KDE control center as root, and under the "System Administration" category or something, there's a section about the login manager. You can add session types there.
 
Old 05-21-2004, 09:21 PM   #3
sandman
Member
 
Registered: Sep 2002
Distribution: arch
Posts: 232

Rep: Reputation: 30
That option is no longer there in 3.2. I will look around later and see if I can find where.

/edit: Okay, after reading the readme in $KDEDIR/share/doc/kdm/ you can either do this...

(from readme, please read this to get all info)
Unless your system is configured differently already, you should create a
directory ${kde_confdir}/kdm/sessions and add this to kdmrc:

[X-*-Core]
SessionsDirs=${kde_confdir}/kdm/sessions,${kde_datadir}/kdm/sessions

(Note that you must use actual paths instead of variables, see the section
about KDM's file system layout.)
Do any changes only in the config directory - any changes in the data
directory will be lost after the next KDE update.
===================================================
or, if you have session files in /etc/X11/gdm/sessions, edit your kdmrc file (mine is in /opt/kde/share/config/kdm and change this
Session=/opt/kde/share/config/kdm/Xsession
SessionsDirs=/opt/kde/share/apps/kdm/sessions

To This:
Session=/etc/X11/gdm/Xsession
SessionsDirs=/etc/X11/dm/Sesssions

in other words you need to have kdmrc pointing to an actual /sessions folder.

/edit2: tested this,
What I did was change my kdmrc to point the SessionsDirs to this only(since I have had gdm setup before)
SessionsDirs=/etc/X11/dm/Sesssions

Then gnome still didn't show, so I opened gnome.desktop in editor and saw that some changes where needed, I just made it like the other session.desktop files and now I show gnome in kdm.

Last edited by sandman; 05-21-2004 at 10:40 PM.
 
Old 05-23-2004, 02:17 AM   #4
dikadika
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 3 64 bit
Posts: 13

Original Poster
Rep: Reputation: 0
thanks for the info, i will defentiely try this when i get home to see how it goes. it is not somehting imperative as i can boot into flux no problem, but i'd like to give others an easier way to explore the great fluxbox.

If i have more questions i'll post back later.

Thanks again
 
Old 05-23-2004, 09:14 AM   #5
malluguy
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
I have the same problem in Mandrake 10.0. Inspite of adding "exec /usr/local/bin/fluxbox" to my .xsession file, I cannot get it to get started.
 
Old 05-23-2004, 05:02 PM   #6
malluguy
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
I got fluxbox started by having "exec fluxbox" in my .xsession file.
 
Old 05-24-2004, 10:35 PM   #7
dikadika
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 3 64 bit
Posts: 13

Original Poster
Rep: Reputation: 0
I finally got it working the way i want it, thank you all for helping me.

Malluguy: that worked for me also, and that was the way i was using to log into flux, but unfortunately it wasnt alowing the other users on the computer to try out flux, mostly because i didnt want to go through and create .xsession files for each of them. What i wanted to do was add Flux to the dropdown list that is available BEFORE you type you username and pasword, which basically lets you choose which Windows Manager you wish to use for that session.

I attempted to change the SessionsDirs= value (originally commented out in my version of the kdmrc file), however all that did was wipe out the list completely except for "default" and "failsafe" all i can figure is the .desktop files in the directory that i pointed to /etc/X11/wmsessions.d were not formatted properly... but i dont know.

rather then trying to figure out what was wrong i simply added a .desktop file to the "default" directory listed in the kdmrc file and edited it to look similar to the exisiting .desktop files with fluxbox values inserted appropriately.

Anyway it works now. Thanks for the help everyone .
 
  


Reply



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
Adding kdm to init.d so LFS boots to kdm StevePhM Linux From Scratch 4 08-08-2005 09:49 PM
adding windows managers to kdm (kde 3.2.1) equinox Linux - Software 2 02-05-2005 02:43 AM
How i put news window managers in to the list of GDM or KDM? servimo Mandriva 0 05-20-2004 01:29 PM
??kdm/gdm/xdm?? + Window Managers Queries ganninu Linux - Newbie 10 08-18-2003 07:04 AM
Adding windows managers to graphical log-in t1mc00per Linux - General 3 02-13-2003 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 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
Open Source Consulting | Domain Registration