[SOLVED] How do you just exit tty?

New to Debian (Or Linux in general)? Ask your questions here!

[SOLVED] How do you just exit tty?

Postby howtoexittty » 2019-08-18 07:05

I've never been able to figure out the tty key on Debian, but today i stumbled into it at seemingly the worst time.

Please help me, i pressed alt + f4 i think and now i'm in tty4, i just want to get back to my desktop. OS is Debian 10 with the GNOME desktop.

Solution: Ctrl + Alt + F1 got be back to the desktop.
Last edited by howtoexittty on 2019-08-18 09:09, edited 1 time in total.
howtoexittty
 
Posts: 2
Joined: 2019-08-18 07:03

Re: How do you just exit tty?

Postby L_V » 2019-08-18 07:21

Did you try tty7 ?
L_V
 
Posts: 1171
Joined: 2007-03-19 09:04

Re: How do you just exit tty?

Postby phenest » 2019-08-18 08:36

The default key combination to switch between desktop and consoles is Ctrl+Alt+ F1 to F7.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How do you just exit tty?

Postby Bloom » 2019-08-18 08:43

And to switch back from any tty to your graphical desktop, switch to tty7 (ctrl+alt+F7) because that's where it resides.
User avatar
Bloom
 
Posts: 194
Joined: 2017-11-11 12:23

Re: How do you just exit tty?

Postby phenest » 2019-08-18 08:46

Bloom wrote:And to switch back from any tty to your graphical desktop, switch to tty7 (ctrl+alt+F7) because that's where it resides.

Not necessarily. It's F2 for me. F7 is blank, not even a console login. And F1 gives a lock screen.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How do you just exit tty?

Postby howtoexittty » 2019-08-18 09:08

Ctrl + Alt + F1 took me back to the gui gnome login screen.

Thank you so much everyone! You saved my day. :)
howtoexittty
 
Posts: 2
Joined: 2019-08-18 07:03

Re: [SOLVED] How do you just exit tty?

Postby phenest » 2019-08-18 09:13

You're welcome.

And a username named after your first post? I guess it can be difficult to know what to choose.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: [SOLVED] How do you just exit tty?

Postby Head_on_a_Stick » 2019-08-18 19:49

I use this in virtual machines:
Code: Select all
# chvt 1
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10688
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable