You are not logged in.

#1 2010-05-25 18:18:39

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

[SOLVED] No TTY's available after new install.

Hi, all.

I've done a new install that 'm really happy with.  Unfortunately, when I use the function keys to switch to a different TTY, none exist.  I can get back to X on F7, but the usual TTY's just don't exist.  Does anyone know whether this is a bug, or did something go amiss in the install?

Any help appreciated.

Cheers,

Chris.

Last edited by chris_debian (2010-05-28 07:56:56)


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#2 2010-05-25 18:27:32

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] No TTY's available after new install.

Maybe you have "Option "DontVTSwitch" set to yes in xorg.conf?

Offline

#3 2010-05-25 18:31:32

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] No TTY's available after new install.

Hi,

That sounds like a good place to start, but I didn't create an xorg.conf. could it be somewhere else?

Thanks,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#4 2010-05-25 18:34:07

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] No TTY's available after new install.

If you don't have one, that shouldn't be it. How do you start X?

Offline

#5 2010-05-25 18:37:50

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] No TTY's available after new install.

I followed the install guide and it said you only needed an xorg.conf if you aren't happy to have X automatically do your settings. I'll check, but I'm sure I don't have one.

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#6 2010-05-25 18:43:00

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] No TTY's available after new install.

That's perfectly fine, what I meant was that if you don't have an xorg.conf the error must be somewhere else. Maybe it has to do with login manager, and how it is started. I run gnome from .xinitrc/xinitab (with exec ck-launch-session gnome-session) and switching to tty works. You may also check initab if they are active, however there are by default.

Offline

#7 2010-05-25 19:22:38

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

I have the same problem, TTY worked some time ago but now for some unknown reason they dont work.

Offline

#8 2010-05-25 20:13:34

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] No TTY's available after new install.

hokasch wrote:

That's perfectly fine, what I meant was that if you don't have an xorg.conf the error must be somewhere else. Maybe it has to do with login manager, and how it is started. I run gnome from .xinitrc/xinitab (with exec ck-launch-session gnome-session) and switching to tty works. You may also check initab if they are active, however there are by default.

My .xinitirc looks like this:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

exec ck-launch-session startxfce4

My /etc/inittab looks like this:

# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)    Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1

# End of file

Does this hel at all?

Thanks,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#9 2010-05-26 06:48:44

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

I want my TTY back sad nobody can help us???

Offline

#10 2010-05-26 07:24:34

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [SOLVED] No TTY's available after new install.

you can change to vt using chvt? What happens when you cal chvt 1 (as root)?

Offline

#11 2010-05-26 07:43:53

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

If I run chvt 1 like a root I get a black screen with an orizontal "-" blinking

Offline

#12 2010-05-26 08:08:01

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [SOLVED] No TTY's available after new install.

Uhh this mean that aggety is not runing on tty1. I'm assuming that you have the same inititab as the OP, so why agetty is not startting?
what is the output of 'ps aux|grep agetty' and try to run

# /sbin/agetty -8 38400 tty1 linux
# chvt 1

Last edited by kazuo (2010-05-26 08:10:21)

Offline

#13 2010-05-26 08:32:26

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

Output of 'ps aux|grep agetty' is:

root      1533  0.0  0.0   1708   516 tty1     Ss+  07:59   0:00 /sbin/agetty -8 38400 tty1 linux
root      1534  0.0  0.0   1708   516 tty2     Ss+  07:59   0:00 /sbin/agetty -8 38400 tty2 linux
root      1535  0.0  0.0   1708   516 tty3     Ss+  07:59   0:00 /sbin/agetty -8 38400 tty3 linux
root      1536  0.0  0.0   1708   512 tty4     Ss+  07:59   0:00 /sbin/agetty -8 38400 tty4 linux
root      1537  0.0  0.0   1708   516 tty5     Ss+  07:59   0:00 /sbin/agetty -8 38400 tty5 linux
root      1538  0.0  0.0   1708   516 tty6     Ss+  07:59   0:00 /sbin/agetty -8 38400 tty6 linux
botzoboy  9728  0.0  0.0   4168   828 pts/0    S+   11:13   0:00 grep agetty

After I run "/sbin/agetty -8 38400 tty1 linux" like a root i lose my promt an stay in this state :

[root@arch botzoboy]# /sbin/agetty -8 38400 tty1 linux

Offline

#14 2010-05-26 09:30:52

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

Maybe this can help : When i boot in console mode (run level 3) I have my TTY but after i start X TTY is gone

Offline

#15 2010-05-26 15:07:42

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

this is my inittab:

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)    Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >/dev/null 2>&1

# End of file

Offline

#16 2010-05-26 15:53:11

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] No TTY's available after new install.

botzoboy wrote:

If I run chvt 1 like a root I get a black screen with an orizontal "-" blinking

So do I.

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#17 2010-05-26 15:55:22

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] No TTY's available after new install.

ps aux|grep agetty

root      2031  0.0  0.0   3840   596 tty1     Ss+  16:44   0:00 /sbin/agetty -8 38400 tty1 linux
root      2032  0.0  0.0   3840   596 tty2     Ss+  16:44   0:00 /sbin/agetty -8 38400 tty2 linux
root      2033  0.0  0.0   3840   596 tty3     Ss+  16:44   0:00 /sbin/agetty -8 38400 tty3 linux
root      2034  0.0  0.0   3840   600 tty4     Ss+  16:44   0:00 /sbin/agetty -8 38400 tty4 linux
root      2035  0.0  0.0   3840   596 tty5     Ss+  16:44   0:00 /sbin/agetty -8 38400 tty5 linux
root      2036  0.0  0.0   3840   600 tty6     Ss+  16:44   0:00 /sbin/agetty -8 38400 tty6 linux
chris     2266  0.0  0.0   8024   976 pts/0    S+   16:54   0:00 grep agetty

Does this help?

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#18 2010-05-27 07:34:02

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

sad nobody has a solution? I open at all sugestions.
Can this be related to xorg??

Offline

#19 2010-05-27 10:48:35

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] No TTY's available after new install.

Is anyone else seeing this; maybe a bug needs to be raised. If so, against X?

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#20 2010-05-27 11:30:12

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] No TTY's available after new install.

It would also help if you could tell us what DE/WM you are using, and google around if that could be making trouble (keybindings/options etc).

to narrow it down:

x -> remove all login-manager daemons if present, boot to runlevel 3, put "exec xterm" in .xinitrc (comment out everything else), startx and see if you can switch tty
login managers -> same as above, but put your DE/WM in .xinitrc (e.g. exec ck-launch-session gnome-session) and run startx

Offline

#21 2010-05-27 13:07:49

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

Firs I want to thank you for your efort to help us.
I use openbox only with SLIM on an Thinkpad T42

1. I removed all login-manager daemons, booted to runlevel 3, puted "exec xterm" in .xinitrc (comment out everything else): the results was: before "startx" I can swich tty but after startx this was not possible

2.Same as above but removed "exec xterm" and puted "exec ck-launch-session openbox-session" had the same result after startx.

My explication is that X kill tty

Offline

#22 2010-05-27 13:35:52

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] No TTY's available after new install.

Been following this and scratching my head... I was thinking it may have something to do with dodgy keyboard layouts (for example uk instead of gb in xorg.conf) but then it came to me (I hope).

KMS - http://wiki.archlinux.org/index.php/KMS

Double check your KernelModeSettings smile


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#23 2010-05-27 14:06:46

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] No TTY's available after new install.

To the people with missing TTYs, what graphics drivers are you using?

Offline

#24 2010-05-27 14:45:23

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

I'm using the "vesa" because "radeon" is moving slow with my video card

Last edited by botzoboy (2010-05-27 14:55:38)

Offline

#25 2010-05-27 15:03:39

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: [SOLVED] No TTY's available after new install.

OK installed "xf86-video-ati" and I changed "vesa" with "radeon" in xorg.conf and suprize my tty is working now but now I have graphix problems: maximizing and unmaximizing is very slow, titlebar from lxterminal disappear.

If I don't find a solution to this probably I will trow away tty for a better grafic performance

Offline

Board footer

Powered by FluxBB