You are not logged in.

#1 2012-02-14 21:17:55

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

[SOLVED] Linux VT issues

When logging in (using agetty) the cursor can be moved vertically with the up and down arrow keys.

On my previous installation I could get to VT 13–24 by pressing Altgr+F#,
where # is the VT index minus 12, this is no longer possible. The same
version of the Linux kernel is used (3.0-ARCH and 3.2.5-1-ARCH [not at the same time of course]).

Last edited by Hibernate (2012-06-02 14:33:27)

Offline

#2 2012-02-14 22:15:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Linux VT issues

Hibernate wrote:

On my previous installation I could get to VT 13–24 by pressing Altgr+F#,
where # is the VT index minus 12, this is no longer possible.

What happens?

Offline

#3 2012-02-14 22:17:23

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: [SOLVED] Linux VT issues

Nothing happens at all, does not even go to the tty it would go to if I held down alt instead of altgr.

Offline

#4 2012-02-14 22:32:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Linux VT issues

I'm on tty1 and Alt-F2 moves me to tty2, Altgr-F2 moves me to another console.

Offline

#5 2012-02-14 22:49:35

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: [SOLVED] Linux VT issues

Yes, it should move you to tty14, but for my nothing happens, and tty1 to tty20 are started (same problem all tty:s, i.e. 1–63, are started) and have agetty:s.

Offline

#6 2012-02-14 22:56:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Linux VT issues

Hibernate wrote:

When logging in (using agetty) the cursor can be moved vertically with the up and down arrow keys.

I can reproduce this.


Can you post your /etc/inittab? Even if the extra ttys are not started you should see a blinking cursor instead of the login / shell prompt.

Offline

#7 2012-02-14 23:11:17

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: [SOLVED] Linux VT issues

id:3:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
#removed 2
rm:2345:wait:/etc/rc.multi
#added 2
rh:067:wait:/etc/rc.shutdown
#Yes 7 works even if it is only documented that 0-6 and a, b and c are allowed.
su:S:wait:/sbin/sulogin -p

c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
c7:2345:respawn:/sbin/agetty -8 -s 38400 tty7 linux
c8:2345:respawn:/sbin/agetty -8 -s 38400 tty8 linux
c9:2345:respawn:/sbin/agetty -8 -s 38400 tty9 linux
c10:2345:respawn:/sbin/agetty -8 -s 38400 tty10 linux
c11:2345:respawn:/sbin/agetty -8 -s 38400 tty11 linux
c12:2345:respawn:/sbin/agetty -8 -s 38400 tty12 linux
c13:2345:respawn:/sbin/agetty -8 -s 38400 tty13 linux
c14:2345:respawn:/sbin/agetty -8 -s 38400 tty14 linux
c15:2345:respawn:/sbin/agetty -8 -s 38400 tty15 linux
c16:2345:respawn:/sbin/agetty -8 -s 38400 tty16 linux
c17:2345:respawn:/sbin/agetty -8 -s 38400 tty17 linux
c18:2345:respawn:/sbin/agetty -8 -s 38400 tty18 linux
c19:2345:respawn:/sbin/agetty -8 -s 38400 tty19 linux
c20:2345:respawn:/sbin/agetty -8 -s 38400 tty20 linux
#added c7-c20

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

Offline

#8 2012-02-14 23:37:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Linux VT issues

What are '#removed 2' and '#added 2' about?

Offline

#9 2012-02-14 23:43:06

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: [SOLVED] Linux VT issues

Just comment documenting changes.

Offline

#10 2012-04-09 20:35:33

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: [SOLVED] Linux VT issues

I have solved the first issue by forking agetty in util-linux: https://github.com/maandree/util-linux

Offline

#11 2012-06-02 14:36:16

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: [SOLVED] Linux VT issues

linux-keys-extd is no longer included by default.

read /usr/share/kbd/keymap/i386/include/linux-keys-extd.inc for information on what it does exactly.

Offline

Board footer

Powered by FluxBB