How can I access a tty from the terminal?
7,405
Solution 1
Some options:
sudo chvt 1
will bring you to the first virtual console. Putting this in a.profile
should not be very useful.- Snooping on a running virtual console is allegedly possible with
ttysnoop
.
Solution 2
I don't know if it is possible from within a terminal, but you can change to another tty by pressing Ctrl + Alt + F1-7 which shows a CLI outside your graphical environment.
Pressing Ctrl + Alt + F7 will show your desktop again. Very useful if you are running a server, which does not have a graphical environment by default.
Related videos on Youtube
Author by
Amith KK
Updated on September 18, 2022Comments
-
Amith KK over 1 year
How can I access a tty (eg tty1) from the
gnome-terminal
? Can I set up a profile which does that?I know the switch using Ctrl+Alt+F1-6
-
psusi over 12 yearsWhat do you mean by "access", and "terminal"? tty1 IS a terminal.
-
-
jrg over 12 yearsHe specifically states that that's not what he's looking for.
-
Amith KK over 12 yearsNot really what i'm looking for
-
shay.porteous over 12 yearsThen please give more detail.
-
Amith KK over 12 yearsi want to interact with the tty from
gnome-terminal