LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-25-2003, 11:39 PM   #1
Culbert
Member
 
Registered: Mar 2003
Location: Chicago, IL
Distribution: Libranet 2.8.1
Posts: 133

Rep: Reputation: 15
session chooser in Slack 9.0


I'm brand new to slack and I come from RedHat, then to Mandrake, then to Vector, and now to Slack 9.0. I want to learn on a "real" version of Linux. Although Vector was very very nice it didn't have ALL the programs I was hoping for. But all of those distros had some sort of a session chooser where I could pick which desktop environment or window manager I wanted to use. Is this something that comes with Slack too? I see in the control panel that there is a user management tool and that looks like something to add sessions to a list, but how do I activate it? Forgive me if there is a previous post on this, but I was unable to find anything rather specific to my question.
 
Old 03-26-2003, 04:06 AM   #2
geno976
LQ Newbie
 
Registered: Mar 2003
Distribution: Slackware.. what else ?
Posts: 24

Rep: Reputation: 15
Quote:
But all of those distros had some sort of a session chooser where I could pick which desktop environment or window manager I wanted to use.
use "xwmconfig" to switch between window managers ... once u select a diffetent window manager, break out of X (ctrl+atl+backspace) and startx again and it should use the window manager u just selected.

-geno
 
Old 03-26-2003, 06:47 AM   #3
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Many (read most) of the other distros use run level 5 from the inittab for starting your system. Slack defaults to run level 3, console mode. However, Slack does not use runlevel 5 for a GUI login, Slack uses runlevel 4. If you wish to switch to this then modify the /etc/inittab file like below.

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

Also, something new (changed) in Slack 9 is the default login manager. It used to be kdm was searched first and loaded if present. Now it is gdm. If you wish to change this, the only way I know of is to modify the /etc/rc.d/rc.4 script to load kdm first. Either remark out the gdm section or relocate the kdm section above the gdm section in the file. I have found that gdm can change the window manager on selection but it is not as easy or nice as the kdm. Also, I could not find where gdm offered any shutdown options.
 
Old 03-26-2003, 08:36 AM   #4
Culbert
Member
 
Registered: Mar 2003
Location: Chicago, IL
Distribution: Libranet 2.8.1
Posts: 133

Original Poster
Rep: Reputation: 15
Excalibur, thanks for the info, but it's a bit too advanced for me at the moment. I hope to delve into that stuff soon!

Right now though, that xwmconfig works absolutely perfect. I actually preffer to have a default desktop environment load by default rather than choosing one each time I log in. Thanks Geno!
 
Old 03-26-2003, 09:04 AM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
The changes are fairly simple and can be done using a simple editor like mcedit. So when you are ready then come back if you desire any assistance.
 
Old 03-26-2003, 09:10 AM   #6
Culbert
Member
 
Registered: Mar 2003
Location: Chicago, IL
Distribution: Libranet 2.8.1
Posts: 133

Original Poster
Rep: Reputation: 15
thanks!
 
Old 03-26-2003, 09:26 AM   #7
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Culbert, although it sounds advanced all it really is opening the file in a text editor and for this the 4 used to be a 3, so change to a 4 like this.......

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:


# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

And then for the 2nd thing its just putting a couple #'s on the appropriate lines.


# Try to use GNOME's gdm session manager:
if [ -x /usr/bin/gdm ]; then
exec /usr/bin/gdm -nodaemon
fi

change it to

# Try to use GNOME's gdm session manager:
#if [ -x /usr/bin/gdm ]; then
# exec /usr/bin/gdm -nodaemon
#fi

thats all

Last edited by wr3ck3d; 03-26-2003 at 09:28 AM.
 
Old 03-26-2003, 09:52 AM   #8
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Rep: Reputation: 30
I agreed with Excalibur and wr3ck3d changing inittab is as simple as editing your document in word.
 
Old 04-15-2003, 03:34 PM   #9
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Someone... maybe Excalibur... posted a command the other day where you could test run levels before you change it in your inittab.

What was that procedure again?

I just found it...

Quote:
Originally posted by Excalibur
If I understand the question correctly. May be highly questioned. Your machine is setup and configured to run X windows but the default login prompt is the console. You want it to be GUI based, like KDE or GNome?

If above is correct then it I would think your system is still running in runlevel (or initlevel) 3. Change it to 4 in the /etc/inittab file.

It is a line that reads "id:3:initdefault:" Simply change the 3 to a 4.

I usually test the mode first though before simply changing and rebooting. I do this by using the "telinit 4" command after logging in as root. If it works well and the session manager starts and allows a login OK, then change the inittab file. To return to console prompt mode press Ctrl-Alt-F6 to get to the sixth console getty to login.

If the above doesn't answer your question then maybe providing somemore information would help.

Cheers

Last edited by rivang; 04-15-2003 at 03:40 PM.
 
Old 05-12-2003, 01:21 PM   #10
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Hey all...

I have the X session manager working. However, when I boot into init 4, I loose my consoles. Any idea why? Or what to config to bring 'em back? Or do they even exist in init 4 in slack 9?
(ctrl&alt&F2) and so on. All gone.


(using...)
Slack 9
All hardware configured properly and working
(except the dual head)

tnx

L8rz
 
Old 05-12-2003, 07:39 PM   #11
Alan Hicks
LQ Newbie
 
Registered: Jun 2002
Location: Lizella Georgia
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Quote:
I have the X session manager working. However, when I boot into init 4, I loose my consoles. Any idea why? Or what to config to bring 'em back? Or do they even exist in init 4 in slack 9?
(ctrl&alt&F2) and so on. All gone.
No, they aren't gone, and the answer is right in front of your face. You edited /etc/inittab to change your default run-level, right (even if you didn't, some one suggested doing that earlier in this thread). Therefor, the first place you should look is /etc/inittab. Here's the relevant portion from a stock /etc/inittab from Slackware 9.0 (and all other recent versions too).

# These are the standard console login getties in multiuser mode:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

Notice which one of those has a 4?
 
Old 05-13-2003, 08:08 AM   #12
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
kewl.

tnx.

L8rz
 
Old 05-13-2003, 04:28 PM   #13
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
For your dualhead problem, there is a wonderful How-To for Xinerama on tldp.org , it helped me a lot.

Yeah, all your consoles should be there. You just have to switch between them.

You can always just open up a terminal emulator (console,Konsole,xterm), I never understood why people went through all the trouble of switching, with all those keys and everything, too painful.
 
  


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
Linux Distribution Chooser ubuntu2 Linux - Software 5 08-21-2005 03:31 AM
Can't use startx or gnome-session in slack 9.1: Can't open display. PF_The_Wall Slackware 6 11-22-2003 05:53 AM
How do I AfterStep to my Session chooser in RH9 londonboi Linux - Distributions 0 08-11-2003 05:53 PM
Help configuring chooser on KDM MikeyCarter Linux - Networking 0 02-05-2003 03:08 PM
grub os chooser tjmm General 6 08-30-2001 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:14 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