J’ai trouvé la commande :
[quote=“man chvt”]The command chvt N makes /dev/ttyN the foreground terminal. The corresponding screen
is created if it did not exist yet. To get rid of unused VTs, use deallocvt(1).
The keymap action ‘Console_N’ (usually bound to key combination (Ctrl-)LeftAlt-FN,
with N in the range 1-12, and to RightAlt-FN-12 with N in the range 13-24) also
allows to switch to another VT, but really switches only if it is already allocated.
This prevents allocating new VTs with a misplaced keystroke.[/quote]
Mais quand je fais cette commande sur le serveur j’ai cette erreur:
$ chvt 8
Couldnt get a file descriptor referring to the console
D’aprés google, le problème pourrait venir du fichier /etc/console/boottime.kmap.gz.
J’ai aussi essayé sur ma machine desktop ça fonctionne sans problème.