Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] How do you just exit tty?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
howtoexittty
Posts: 2
Joined: 2019-08-18 07:03

[SOLVED] How do you just exit tty?

#1 Post by howtoexittty »

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.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: How do you just exit tty?

#2 Post by L_V »

Did you try tty7 ?

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How do you just exit tty?

#3 Post by phenest »

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
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 505
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: How do you just exit tty?

#4 Post by Bloom »

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
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How do you just exit tty?

#5 Post by phenest »

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

howtoexittty
Posts: 2
Joined: 2019-08-18 07:03

Re: How do you just exit tty?

#6 Post by howtoexittty »

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

Thank you so much everyone! You saved my day. :)

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

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

#7 Post by phenest »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

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

#8 Post by Head_on_a_Stick »

I use this in virtual machines:

Code: Select all

# chvt 1
deadbang

Post Reply