LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-09-2004, 06:11 PM   #1
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
chosing wm at boot??


I have kde and fluxbox but at boot I dont get the option to choose what i want to boot to is this in grub?? all i get is logon on screen and when i input my user and pw kde starts
 
Old 05-09-2004, 06:16 PM   #2
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
In the login screen you should see a menu button that has a drop down menu if you click it, that lists all your desktop environment choices. Kde is the default, but is not your only choice. Next time you get to the login screen, try the menus.
 
Old 05-09-2004, 06:16 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What is the login screen?
text-mode?
Graphical login?
If graphical, has it got a name, does
it display anything? else but a prompt?

http://www.catb.org/~esr/faqs/smart-questions.html



Cheers,
Tink
 
Old 05-09-2004, 06:39 PM   #4
wrat
Member
 
Registered: May 2004
Posts: 245

Original Poster
Rep: Reputation: 30
no menu choice..login is graphical debian login box ...no choices ....
 
Old 05-09-2004, 06:45 PM   #5
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
Okay, if you don't have a menu button, then you aren't using kdm as your desktop manager.

Edit this file /etc/X11/default-display-manager. if you don't have it, create it.

Here is the only thing needed in this file:

/usr/bin/kdm

kdm will give you a menu button that lets you choose whatever desktop environment you want to use in that session.
 
Old 05-09-2004, 06:48 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
No menu suggests xdm? :)

You could change the login-manager to kdm or
gdm, which would allow you to select at login.

Altenatively, you could use a console login
(make init 3 the default runlevel in /etc/inittab)
and create a ~/.xinitrc in each users home that
presents him with a choice of wm to run...

The environment variables you can set-up
from lilo for all I know aren't being passed
on to normal users environments .... you could
probably make an extra entry in /etc/rc.d/rc.local
that copies different .xintrc (.xsession) files around,
though....

HIH


Cheers,
Tink
 
Old 05-09-2004, 06:57 PM   #7
wrat
Member
 
Registered: May 2004
Posts: 245

Original Poster
Rep: Reputation: 30
yes xdm is it ...tried adding /usr/bin/kdm that boots me to a prompt at which after un and pw if I enter fluxbox I get server error noscreens found then if I enter start x I get kde..do I need to apt-get install kdm for the menu choice or?? dont quite get the rest of your suugestions..Im linux impared
 
Old 05-09-2004, 07:39 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I'm not too familiar with debian, and our servers
(my only debian experience) are all headless ...

I'd suggest going with the lilo-approach, though,
because wasting precious 3 MB of RAM on KDM
just for the chooser menu is a fat waste ;)

Try a
locate rc\.local

If it exists you're half-way there :}

As for the lilo and variable stuff... all you need to do is
to duplicate your working lilo-kernel entry, add

label = flux
append="USE_WM=flux"

label = KDE
append="USE_WM=KDE"

Run lilo ...

Edit rc.local
add something like
Code:
if [ "$USE_WM" == "KDE" ]; then
   su -c "cp ~/.xsession.kde ~/.xsession <username>
else
   su -c "cp ~/.xsession.flux ~/.xsession <username>
fi
Obviously you'll need two .xsession files in your
users home, which will then be copied around
accordingly.

Of course that only makes sense if your user is
the only one who wants to use this feature.


Cheers,
Tink
 
Old 05-09-2004, 07:53 PM   #9
wrat
Member
 
Registered: May 2004
Posts: 245

Original Poster
Rep: Reputation: 30
would the same apply to grub as Im not using lilo?? i tried apt-get install kdm anyway and it did not give me the menu I dersire
 
Old 05-09-2004, 08:19 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I'd think so ... grub is slightly more modern than
lilo, I'd be surprised if it didn't have the capabilities ;)


Cheers,
Tink
 
  


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
Need Help Chosing Wireless Cardbus kimothy Linux - Wireless Networking 2 10-11-2005 03:58 AM
failed features: boot.shm boot.loadmodules boot.swap cccc SUSE / openSUSE 1 08-08-2005 07:23 AM
Having trouble chosing a distro appropriate for someone who is v. compitent with XP perl Linux - Newbie 8 04-30-2005 02:55 PM
Need a hand chosing the right dist. BadManiac Linux - Distributions 9 08-06-2004 06:49 PM
Chosing KDE FXRS Linux - Software 2 07-20-2003 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:47 AM.

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