LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problem switching to a virtual terminal (https://www.linuxquestions.org/questions/linux-general-1/problem-switching-to-a-virtual-terminal-106264/)

sattath 10-20-2003 08:36 AM

problem switching to a virtual terminal
 
hey,

i have a problem switching to a virtual terminal using ctrl+alt+f(1-12). when i try, nothing happens.

it worked a while ago, and i don't know what gone wrong.

what can be the reason for the problem? what configuration files?

I use mandrake 9.1 with kde (although i tried the same thing under gnome and the same problem occurs).

thanks, Or.
(and sorry for my bad English)

nhs 10-21-2003 07:49 AM

Try typing "chvt 1" in a konsole window. This should have the same effect as CTRL+ALT+F1 should. If this works, try using CTRL+ALT+F2, etc. If these work then it is a problem with your XWindows configuration. The configuration file to look at is /etc/X11/XF86Config-4. I remember seeing some option like this at some stage in the past however can't remember what is was called. It should be near the top of the file and have a name like DontChangeVT. If you see something that looks likely, prefix it with a # to comment it out. Rebooting should put the new settings into effect.

sattath 10-21-2003 01:32 PM

Thanks nhs!!

it works using the "chvt 1" when i'm logged as root (strange, isn't it?), and when i'm on another console, other then kde, i'm capable again using the ctrl+alt+fX. i don't know why when i'm on the seventh vt i can't do it.

thanks again, Or.

nhs 10-22-2003 07:21 AM

Try commenting out the line DontChangeVT in XF86Config-4. Also try setting chvt to be SUID root in case XWindows uses it to perform switching (I'm guessing here).


All times are GMT -5. The time now is 04:47 AM.