You are not logged in.

#1 2008-12-27 17:07:43

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

[SOLVED] - no ttys available under kdm

Hi,

for some reason I have no access to ttys while logged out and in kdm. I checked in /usr/share/config/kdm/kdmrc and found the following

# TTYs (without /dev/) to monitor for activity while in console mode.
# Default is ""
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6

So I take it that it is monitoring. But I can press CTRL+ALT+F1-6 and nothing happens.

What am I missing hmm

Last edited by toad (2008-12-29 18:42:01)


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

Offline

#2 2008-12-27 19:35:58

Nathan
Member
Registered: 2008-12-27
Posts: 34

Re: [SOLVED] - no ttys available under kdm

I'd try disabling kdm to see if they work at all. To do this, simply:

chmod -x /etc/rc.d/kdm

You'll need to change that "-x" to a "+x" to re-enable it. Honestly, that's all the help I can give you with that information. See how that works and post the results.

Offline

#3 2008-12-28 01:02:47

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

Re: [SOLVED] - no ttys available under kdm

Thanks Nathan,

they do work from within X. Obviously, if I boot to runlevel 3 they work as well. It is just when kdm is running and I'm in the login screen that they do not want to cooperate. From within kdm I can call up the console but that is cumbersome and mouse mileage.

I don't get it why I can't do the standard keyboard combination.

What more info may be needed? I am happily willing to oblige...


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

Offline

#4 2008-12-28 21:53:16

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

Re: [SOLVED] - no ttys available under kdm

Okay, it appears that the key combinations are not reconized properly - nothing whatsoever to do with kdmrc.

Time to plough the wiki again...


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

Offline

#5 2008-12-29 13:42:27

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

Re: [SOLVED] - no ttys available under kdm

Quite enjoying this monologue smile

My inittab appears to be fine:

c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

The next backtrack would be rc.conf - locale and keymap appear to be fine as well although I will try to fart around with it.

LOCALE="en_GB.utf8"                                                         
HARDWARECLOCK="localtime"                                                   
USEDIRECTISA="no"                                                           
TIMEZONE="Europe/Berlin"                                                   
KEYMAP="uk.map.gz"

Still, some useful input would be appreciated smile


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

Offline

#6 2008-12-29 14:14:35

string
Member
Registered: 2008-11-03
Posts: 286

Re: [SOLVED] - no ttys available under kdm

Right .. so runlevel 3 works .. runlevel 5 (is it?) doesn't. Why not have kdm in the DAEMONS section of your /etc/rc.conf and use runlevel 3?

Last edited by string (2008-12-29 14:14:50)

Offline

#7 2008-12-29 14:32:25

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

Re: [SOLVED] - no ttys available under kdm

Thanks string!

Hm, I followed a particular wiki page during setup. Just now I noticed another one which suggested what you said. I reboot and no show yet. The funny thing is that when in a failsafe session the keystrokes to get to tty1-6 are not recognised properly. So I'm guessing that it has something to do with the keyboard.

I had also better read the wiki on the boot sequence. I must say, your wiki is fantastic! Especially for me as a noob... Hopefully it'll help me understand it all smile


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

Offline

#8 2008-12-29 15:58:17

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] - no ttys available under kdm

So the keystrokes aren't even been recognized in the console (no X)?


Website - Blog - arch-home
Arch User since March 2005

Offline

#9 2008-12-29 17:30:22

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

Re: [SOLVED] - no ttys available under kdm

Alt+N appears to restart KDM, no console login. The only way to get a command line is to get a failsafe session going (little konsole window in bottom right of kdm).

Here is what I get for tty in the failsafe session:
1 = P
2 = Q
3 = R
4 = S
5 + 6 = ;7~

I am still reading up on the boot process...


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

Offline

#10 2008-12-29 17:37:33

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] - no ttys available under kdm

What if you use KEYMAP="us" what happens then?


Website - Blog - arch-home
Arch User since March 2005

Offline

#11 2008-12-29 17:41:56

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

Re: [SOLVED] - no ttys available under kdm

Okay, I'm going to try it. Problem is I have to reboot all the time - or don't I??? It says nothing in the wiki about being able to skip rebooting to reload rc.conf...


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

Offline

#12 2008-12-29 17:54:49

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] - no ttys available under kdm

As far as I know, to change the keymap, you have reboot.


Website - Blog - arch-home
Arch User since March 2005

Offline

#13 2008-12-29 17:55:24

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

Re: [SOLVED] - no ttys available under kdm

Same behaviour I'm afraid and it obviously gets rid of the theory that the keymap is at fault.

This is how I call up kdm in my inittab:

x:5:respawn:/usr/bin/kdm -nodaemon

I basically uncommented the appropriate login manager. I am not sure what the -nodaemon flag does, seeing that I put it in rc.conf to run as a daemon. Prolly got nothing to do with it...

I suppose a purge and reinstall of KDM might do it but that seems to be a sledgehammer way of doing it.


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

Offline

#14 2008-12-29 18:36:41

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

Re: [SOLVED] - no ttys available under kdm

Another vain attempt in rc.conf:

CONSOLEMAP="8859-1 for Latin1"

But found in /var/log/kdm.log

The XKEYBOARD keymap compiler (xkbcomp) reports:                                                   
> Error:            Can't find file "uk" for symbols include                                       
>                   Exiting                                                                       
>                   Abandoning symbols file "default"                                             
Errors from xkbcomp are not fatal to the X server

So it might be in the xorg.conf ...


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

Offline

#15 2008-12-29 18:44:07

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

Re: [SOLVED] - no ttys available under kdm

It was the xorg.conf. And another valuable lesson learned: check the logs, stupid!

I had:

Option         "XkbLayout" "uk"

I needed:

Option         "XkbLayout" "gb"

Always get confused with those two - one time it is gb, the other uk, no rhyme nor reason to it smile

Last edited by toad (2008-12-29 18:46:10)


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

Offline

#16 2008-12-29 19:06:35

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] - no ttys available under kdm

I'm glad you were able to get it working. I thought you had the problem in console and xorg has nothing do with console. I guess I just misunderstood you.


Website - Blog - arch-home
Arch User since March 2005

Offline

#17 2008-12-29 19:18:20

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

Re: [SOLVED] - no ttys available under kdm

I'm glad you were able to get it working

So am I smile Can be quite a bummer if that does not work.

I guess I just misunderstood you.

I am fully aware of the difficulties of diagnosing stuff from a distance. Look on the bright side, how could you know what was going on if I didn't have a clue lol

Thanks though for your support smile and I am really looking forward to continuing the weird and wonderful journey into Arch.


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

Offline

Board footer

Powered by FluxBB