You are not logged in.
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)
Offline
Maybe you have "Option "DontVTSwitch" set to yes in xorg.conf?
Offline
Hi,
That sounds like a good place to start, but I didn't create an xorg.conf. could it be somewhere else?
Thanks,
Chris.
Offline
If you don't have one, that shouldn't be it. How do you start X?
Offline
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.
Offline
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
I have the same problem, TTY worked some time ago but now for some unknown reason they dont work.
Offline
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.
Offline
I want my TTY back nobody can help us???
Offline
you can change to vt using chvt? What happens when you cal chvt 1 (as root)?
Offline
If I run chvt 1 like a root I get a black screen with an orizontal "-" blinking
Offline
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
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
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
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
If I run chvt 1 like a root I get a black screen with an orizontal "-" blinking
So do I.
Chris.
Offline
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.
Offline
nobody has a solution? I open at all sugestions.
Can this be related to xorg??
Offline
Is anyone else seeing this; maybe a bug needs to be raised. If so, against X?
Chris.
Offline
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
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
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
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
To the people with missing TTYs, what graphics drivers are you using?
Offline
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
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