You are not logged in.

#1 2022-06-17 13:52:17

Herbalist
Member
Registered: 2014-01-12
Posts: 55

unable to swith tty

I can only switch to a secondary tty after starting X from xinitrc and entering the desktop environment.
If I switch to any other tty, lets say tty2 (with the fn + Alt + f2 key combo) I get stcuk there, and I can't return back or move to another tty except after logging in and using the command

chvt 1

Offline

#2 2022-06-17 14:12:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: unable to swith tty

How do you try to switch back?  Between ttys the key combination should be just Alt+F1.  From X, by default, it's Ctrl-Alt-F2, not fn+alt+F2.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-06-17 14:26:53

Herbalist
Member
Registered: 2014-01-12
Posts: 55

Re: unable to swith tty

Trilby wrote:

How do you try to switch back?  Between ttys the key combination should be just Alt+F1.  From X, by default, it's Ctrl-Alt-F2, not fn+alt+F2.

yes, I missed adding the ctrl part in my post, basically because I have to use both fn key to trigger the function row buttons.

Ctrl - Alt - F2, takes me to tty2, when I get there I can only go back to tty1 or to any other tty by logging in to tty2, using the chvt command followed by the tty number I want to change into.

Offline

#4 2022-06-17 14:38:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: unable to swith tty

Ok, so have you tried both Alt+F1 and Fn+Alt+F1 to switch back?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2022-06-17 14:46:33

Herbalist
Member
Registered: 2014-01-12
Posts: 55

Re: unable to swith tty

yes, it works but only if I'm inside the desktop enviroment (xfce4), in that case I can use ctrl - alt - f2, or any other number from 2 to 6, and it switches me to that tty.

when I reach the new tty, I get stuck, the keyboard shortcut doesn't work anymore to get back or to move to another tty except after logging in and using the chvt command.

Offline

#6 2022-06-17 20:58:26

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: unable to swith tty

basically because I have to use both fn key to trigger the function row buttons.

Can you flip that in the BIOS/UEFI?
Check showkey on what keys you actually trigger on the console.

Offline

#7 2022-06-18 00:08:40

Herbalist
Member
Registered: 2014-01-12
Posts: 55

Re: unable to swith tty

seth wrote:

basically because I have to use both fn key to trigger the function row buttons.

Can you flip that in the BIOS/UEFI?
Check showkey on what keys you actually trigger on the console.

I flipped it and it still doing the same behavior.

here are the keycodes to the ctrl + Alt + F1 combinations

right ctrl + Alt + F1:

keycode 97
keycode 100
keycode 59

left ctrl + Alt + F1

keycode 29
keycode 56
keycode 59

Offline

#8 2022-06-18 06:39:18

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: unable to swith tty

59 is F1…
This is on the console (where the VT switch doesn't work) and not X11?
Does the console output "freeze" when you attempt to change the VT w/ the keyboard shortcuts (input not echoed)?
Is this the regular-ass console or did you add any kernel parameters for it?
Does switching to a running getty also fail (eg. ctrl+alt+f2, chvt 3; ctrl+alt+f2)?

Offline

#9 2022-06-18 09:12:26

Herbalist
Member
Registered: 2014-01-12
Posts: 55

Re: unable to swith tty

Yes it's on the console, from X11 it switches to any other tty
the console output doesn't freeze when trying to switch, the cursor keeps blinking normally.
It is the regular console, after a fresh install, no extra kernel parameters, and using systemdboot, and linux-lts.
switching to a running getty or to X fails

all combinations (ctrl + alt + f2, .... 6) work as long as I'm pressing them from a running desktop environment
once I reach the new tty, the only way to switch to any place is logging in and using the chvt command

Offline

Board footer

Powered by FluxBB