Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Hey, where're my TTYs?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1247
Location: Edinburgh, UK

PostPosted: Fri May 08, 2009 11:49 am    Post subject: [SOLVED]Hey, where're my TTYs? Reply with quote

Hi all,

Something's been bothering me since installing Gentoo on a new machine last week. I did a normal following-the-manual ~x86 install, but for some reason I don't appear to have any TTYs running (apart from the one X is on, I guess) after logging into KDE.

Normally, i.e. on my other two older Gentoo machines, I'd look in the processlist and see 6/7 instances of agetty running. This isn't the case with the new box, and I assume this is why I can't VT-switch from inside KDE. I can get to a console from KDM using the menu-option or Alt+N, but I can't use the normal Ctrl+Alt+Fx combos from there, and to get *back* to KDM from this console I have to restart it manually. It did work *once* by pressing Ctrl+Alt+F7 to get back to KDM, but that doesn't seem to work any more?

If I don't start KDM, I have all the TTYs a man could want. What on earth is going on?

Here's my rc-update show in case you spot anything crucial I've left out:
Code:
minime ~ # rc-update show                 
                 dbus |                                        default
                 fsck |                                   boot       
                 mtab |                                   boot       
           localmount |                                   boot       
                local |                         nonetwork      default
                 hald |                                        default
           vixie-cron |                                        default
               procfs |                                   boot
                  xdm |                                        default
                devfs | sysinit
              keymaps |                                   boot
         termencoding |                                   boot
             mount-ro |                shutdown
            killprocs |                shutdown
                 swap |                                   boot
            syslog-ng |                                        default
               sysctl |                                   boot
             netmount |                                        default
              hwclock |                                   boot
            savecache |                shutdown
                 root |                                   boot
               net.lo |                                   boot
              urandom |                                   boot
          checkumount |                                        default
             hostname |                                   boot
             bootmisc |                                   boot
              modules |                                   boot
                dmesg | sysinit
                 sshd |                                        default
                 udev | sysinit
            alsasound |                                   boot
          consolefont |                                   boot

Note: "checkumount" is a script of my own, it just does some cryptsetup stuff


Hope someone can solve this mystery and put my mind at rest!


Last edited by Havin_it on Sat May 09, 2009 9:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri May 08, 2009 12:13 pm    Post subject: Reply with quote

I am just curious:

maye have a look at /etc/inittab

Does this also apply for running another de?
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1247
Location: Edinburgh, UK

PostPosted: Fri May 08, 2009 5:16 pm    Post subject: Reply with quote

Here's my inittab:
Code:
# Default runlevel.
id:3:initdefault: 

# System initialization, mount local filesystems, etc.                                             
si::sysinit:/sbin/rc sysinit                                                                       

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot                                   

l0:0:wait:/sbin/rc shutdown
l0s:0:wait:/sbin/halt -dhip
l1:S1:wait:/sbin/rc single 
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default 
l4:4:wait:/sbin/rc default 
l5:5:wait:/sbin/rc default 
l6:6:wait:/sbin/rc reboot   
l6r:6:wait:/sbin/reboot -dk
#z6:6:respawn:/sbin/sulogin

# new-style single-user
su0:S:wait:/sbin/rc single
su1:S:wait:/sbin/sulogin

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux

# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
x:a:once:/etc/X11/startDM.sh


I don't have another desktop to test I'm afraid :oops:
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1247
Location: Edinburgh, UK

PostPosted: Fri May 08, 2009 5:28 pm    Post subject: Reply with quote

Uh... oh. I just looked at my processlist, and now I actually do have the agettys running. And, indeed, I can vt-switch as much s my black heart desires!

I wonder what that was all about?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat May 09, 2009 2:59 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
not about getting gentoo installed, so moved here
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1247
Location: Edinburgh, UK

PostPosted: Sun May 10, 2009 12:06 am    Post subject: Reply with quote

Fair enough - my thinking was perhaps I'd done something wrong with the installation, but I guess we will never know now :?:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum