LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-30-2006, 05:00 PM   #1
crash88
Member
 
Registered: May 2006
Posts: 39

Rep: Reputation: 15
consoles plus xwindows


I posted a while back about how to get a xwindows login at startup (runlevel 4) but with that there is only one console available. Other distros that I've used have 6 available consoles plus a login screen (i.e. they used the bsd style inittab). Is there a way to do this with slackware?
 
Old 06-30-2006, 05:10 PM   #2
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
Sure ... have a close look ...
/etc/inittab


Cheers,
Tink
 
Old 06-30-2006, 05:15 PM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Don't know for sure but it should be feasible. This is done thru /etc/inittab:
Code:
# 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
If you pay attention, only the 6th tty is enabled in runlevel 4. Maybe you'll get this done by inserting 4 in the other lines too.

Personally I prefer logging in in text and using startx to load the GUI.
 
Old 06-30-2006, 05:36 PM   #4
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
Well actually it's the line

Code:
x1:4:wait:/etc/rc.d/rc.4
that needs modification ...


Cheers,
Tink
 
Old 06-30-2006, 10:53 PM   #5
crash88
Member
 
Registered: May 2006
Posts: 39

Original Poster
Rep: Reputation: 15
I don't have a bsd or other distro inittab to look at and would hate to render my system unbootable. I'm sure I could boot into single user mode if I did make a mistake but thought maybe someone could tell me the modification to tty7.
 
Old 06-30-2006, 11:00 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
Just change

Code:
x1:4:wait:/etc/rc.d/rc.4
to
Code:
x1:123456:wait:/etc/rc.d/rc.4


Cheers,
Tink
 
  


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
Consoles bong.mau Linux - Software 5 09-05-2005 01:59 PM
virtual consoles pesachzon Linux - Software 1 05-15-2005 06:09 PM
more consoles Donald1000 Solaris / OpenSolaris 2 02-18-2005 12:12 PM
consoles missing? bandofmercy Linux - General 1 05-01-2003 05:14 PM
How many consoles co you use? Mara General 4 03-18-2002 05:55 PM

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

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