Switching between console and GUI












4














How to switch between console and GUI in Ubuntu 17.04? I wanted to see what key functions would allow me to switch between the two. I’m starting to learn to program in Ubuntu as a beginner.










share|improve this question




















  • 2




    You are running a "Terminal" and you want to switch between it and the other GUI applications right? if that's the case use Alt+Tab otherwise explain it more clearly.
    – Ravexina
    May 21 '17 at 7:20






  • 4




    Possible duplicate of Switching Between GUI and Terminal
    – muru
    May 21 '17 at 11:20










  • VTR so that this can be closed as the called duplicate.
    – Elder Geek
    May 12 '18 at 20:30






  • 1




    @ElderGeek I don't know why everyone's so excited about closing this question as a duplicate of "Switching Between GUI and Terminal". Despite its adorable but confusing title, what that question is about is I was just curious what the keyboard shortcuts mentioned above do to the GUI when switching between them.
    – karel
    May 14 '18 at 8:54








  • 1




    @ElderGeek You got half of the currently supported releases this time. That's better than nothing.
    – karel
    May 14 '18 at 21:59


















4














How to switch between console and GUI in Ubuntu 17.04? I wanted to see what key functions would allow me to switch between the two. I’m starting to learn to program in Ubuntu as a beginner.










share|improve this question




















  • 2




    You are running a "Terminal" and you want to switch between it and the other GUI applications right? if that's the case use Alt+Tab otherwise explain it more clearly.
    – Ravexina
    May 21 '17 at 7:20






  • 4




    Possible duplicate of Switching Between GUI and Terminal
    – muru
    May 21 '17 at 11:20










  • VTR so that this can be closed as the called duplicate.
    – Elder Geek
    May 12 '18 at 20:30






  • 1




    @ElderGeek I don't know why everyone's so excited about closing this question as a duplicate of "Switching Between GUI and Terminal". Despite its adorable but confusing title, what that question is about is I was just curious what the keyboard shortcuts mentioned above do to the GUI when switching between them.
    – karel
    May 14 '18 at 8:54








  • 1




    @ElderGeek You got half of the currently supported releases this time. That's better than nothing.
    – karel
    May 14 '18 at 21:59
















4












4








4







How to switch between console and GUI in Ubuntu 17.04? I wanted to see what key functions would allow me to switch between the two. I’m starting to learn to program in Ubuntu as a beginner.










share|improve this question















How to switch between console and GUI in Ubuntu 17.04? I wanted to see what key functions would allow me to switch between the two. I’m starting to learn to program in Ubuntu as a beginner.







gui console






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 14 '18 at 13:54









Melebius

4,38251838




4,38251838










asked May 21 '17 at 7:05









Kevin Taylor

212




212








  • 2




    You are running a "Terminal" and you want to switch between it and the other GUI applications right? if that's the case use Alt+Tab otherwise explain it more clearly.
    – Ravexina
    May 21 '17 at 7:20






  • 4




    Possible duplicate of Switching Between GUI and Terminal
    – muru
    May 21 '17 at 11:20










  • VTR so that this can be closed as the called duplicate.
    – Elder Geek
    May 12 '18 at 20:30






  • 1




    @ElderGeek I don't know why everyone's so excited about closing this question as a duplicate of "Switching Between GUI and Terminal". Despite its adorable but confusing title, what that question is about is I was just curious what the keyboard shortcuts mentioned above do to the GUI when switching between them.
    – karel
    May 14 '18 at 8:54








  • 1




    @ElderGeek You got half of the currently supported releases this time. That's better than nothing.
    – karel
    May 14 '18 at 21:59
















  • 2




    You are running a "Terminal" and you want to switch between it and the other GUI applications right? if that's the case use Alt+Tab otherwise explain it more clearly.
    – Ravexina
    May 21 '17 at 7:20






  • 4




    Possible duplicate of Switching Between GUI and Terminal
    – muru
    May 21 '17 at 11:20










  • VTR so that this can be closed as the called duplicate.
    – Elder Geek
    May 12 '18 at 20:30






  • 1




    @ElderGeek I don't know why everyone's so excited about closing this question as a duplicate of "Switching Between GUI and Terminal". Despite its adorable but confusing title, what that question is about is I was just curious what the keyboard shortcuts mentioned above do to the GUI when switching between them.
    – karel
    May 14 '18 at 8:54








  • 1




    @ElderGeek You got half of the currently supported releases this time. That's better than nothing.
    – karel
    May 14 '18 at 21:59










2




2




You are running a "Terminal" and you want to switch between it and the other GUI applications right? if that's the case use Alt+Tab otherwise explain it more clearly.
– Ravexina
May 21 '17 at 7:20




You are running a "Terminal" and you want to switch between it and the other GUI applications right? if that's the case use Alt+Tab otherwise explain it more clearly.
– Ravexina
May 21 '17 at 7:20




4




4




Possible duplicate of Switching Between GUI and Terminal
– muru
May 21 '17 at 11:20




Possible duplicate of Switching Between GUI and Terminal
– muru
May 21 '17 at 11:20












VTR so that this can be closed as the called duplicate.
– Elder Geek
May 12 '18 at 20:30




VTR so that this can be closed as the called duplicate.
– Elder Geek
May 12 '18 at 20:30




1




1




@ElderGeek I don't know why everyone's so excited about closing this question as a duplicate of "Switching Between GUI and Terminal". Despite its adorable but confusing title, what that question is about is I was just curious what the keyboard shortcuts mentioned above do to the GUI when switching between them.
– karel
May 14 '18 at 8:54






@ElderGeek I don't know why everyone's so excited about closing this question as a duplicate of "Switching Between GUI and Terminal". Despite its adorable but confusing title, what that question is about is I was just curious what the keyboard shortcuts mentioned above do to the GUI when switching between them.
– karel
May 14 '18 at 8:54






1




1




@ElderGeek You got half of the currently supported releases this time. That's better than nothing.
– karel
May 14 '18 at 21:59






@ElderGeek You got half of the currently supported releases this time. That's better than nothing.
– karel
May 14 '18 at 21:59












1 Answer
1






active

oldest

votes


















5














By default Ubuntu has 6 virtual consoles tty1-tty6 which are accessed by the keyboard combinations Ctrl+Alt+F1 to Ctrl+Alt+F6. The virtual console can also be accessed from a black screen if the boot process stops at a black screen when booting. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F7.



Starting with Ubuntu 17.10 the virtual consoles are accessed by the keyboard combinations Ctrl+Alt+F3 to Ctrl+Alt+F6. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F2.



To login from a virtual console:




  1. At the login: prompt type your username and press Enter.


  2. At the Password: prompt type your user password and press Enter. After you have logged in, you can run commands from the virtual console.



  3. To bring up the normal Ubuntu login screen run this command:



    sudo systemctl start lightdm.service  


    In 16.04 and later run this command instead to bring up the normal Ubuntu login screen:



    sudo systemctl start graphical.target







share|improve this answer























  • In Ubuntu 17.10 and later, tty1 (accessed by Ctrl+Alt+F1) contains the login screen, and tty2 (accessed by Ctrl+Alt+F2) contains your actual loaded graphical session.
    – karel
    Jun 21 '18 at 11:20











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f917320%2fswitching-between-console-and-gui%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














By default Ubuntu has 6 virtual consoles tty1-tty6 which are accessed by the keyboard combinations Ctrl+Alt+F1 to Ctrl+Alt+F6. The virtual console can also be accessed from a black screen if the boot process stops at a black screen when booting. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F7.



Starting with Ubuntu 17.10 the virtual consoles are accessed by the keyboard combinations Ctrl+Alt+F3 to Ctrl+Alt+F6. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F2.



To login from a virtual console:




  1. At the login: prompt type your username and press Enter.


  2. At the Password: prompt type your user password and press Enter. After you have logged in, you can run commands from the virtual console.



  3. To bring up the normal Ubuntu login screen run this command:



    sudo systemctl start lightdm.service  


    In 16.04 and later run this command instead to bring up the normal Ubuntu login screen:



    sudo systemctl start graphical.target







share|improve this answer























  • In Ubuntu 17.10 and later, tty1 (accessed by Ctrl+Alt+F1) contains the login screen, and tty2 (accessed by Ctrl+Alt+F2) contains your actual loaded graphical session.
    – karel
    Jun 21 '18 at 11:20
















5














By default Ubuntu has 6 virtual consoles tty1-tty6 which are accessed by the keyboard combinations Ctrl+Alt+F1 to Ctrl+Alt+F6. The virtual console can also be accessed from a black screen if the boot process stops at a black screen when booting. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F7.



Starting with Ubuntu 17.10 the virtual consoles are accessed by the keyboard combinations Ctrl+Alt+F3 to Ctrl+Alt+F6. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F2.



To login from a virtual console:




  1. At the login: prompt type your username and press Enter.


  2. At the Password: prompt type your user password and press Enter. After you have logged in, you can run commands from the virtual console.



  3. To bring up the normal Ubuntu login screen run this command:



    sudo systemctl start lightdm.service  


    In 16.04 and later run this command instead to bring up the normal Ubuntu login screen:



    sudo systemctl start graphical.target







share|improve this answer























  • In Ubuntu 17.10 and later, tty1 (accessed by Ctrl+Alt+F1) contains the login screen, and tty2 (accessed by Ctrl+Alt+F2) contains your actual loaded graphical session.
    – karel
    Jun 21 '18 at 11:20














5












5








5






By default Ubuntu has 6 virtual consoles tty1-tty6 which are accessed by the keyboard combinations Ctrl+Alt+F1 to Ctrl+Alt+F6. The virtual console can also be accessed from a black screen if the boot process stops at a black screen when booting. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F7.



Starting with Ubuntu 17.10 the virtual consoles are accessed by the keyboard combinations Ctrl+Alt+F3 to Ctrl+Alt+F6. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F2.



To login from a virtual console:




  1. At the login: prompt type your username and press Enter.


  2. At the Password: prompt type your user password and press Enter. After you have logged in, you can run commands from the virtual console.



  3. To bring up the normal Ubuntu login screen run this command:



    sudo systemctl start lightdm.service  


    In 16.04 and later run this command instead to bring up the normal Ubuntu login screen:



    sudo systemctl start graphical.target







share|improve this answer














By default Ubuntu has 6 virtual consoles tty1-tty6 which are accessed by the keyboard combinations Ctrl+Alt+F1 to Ctrl+Alt+F6. The virtual console can also be accessed from a black screen if the boot process stops at a black screen when booting. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F7.



Starting with Ubuntu 17.10 the virtual consoles are accessed by the keyboard combinations Ctrl+Alt+F3 to Ctrl+Alt+F6. To access the GUI from any virtual console press the keyboard combination Ctrl+Alt+F2.



To login from a virtual console:




  1. At the login: prompt type your username and press Enter.


  2. At the Password: prompt type your user password and press Enter. After you have logged in, you can run commands from the virtual console.



  3. To bring up the normal Ubuntu login screen run this command:



    sudo systemctl start lightdm.service  


    In 16.04 and later run this command instead to bring up the normal Ubuntu login screen:



    sudo systemctl start graphical.target








share|improve this answer














share|improve this answer



share|improve this answer








edited Oct 5 '18 at 2:41

























answered May 21 '17 at 11:15









karel

57.2k12127146




57.2k12127146












  • In Ubuntu 17.10 and later, tty1 (accessed by Ctrl+Alt+F1) contains the login screen, and tty2 (accessed by Ctrl+Alt+F2) contains your actual loaded graphical session.
    – karel
    Jun 21 '18 at 11:20


















  • In Ubuntu 17.10 and later, tty1 (accessed by Ctrl+Alt+F1) contains the login screen, and tty2 (accessed by Ctrl+Alt+F2) contains your actual loaded graphical session.
    – karel
    Jun 21 '18 at 11:20
















In Ubuntu 17.10 and later, tty1 (accessed by Ctrl+Alt+F1) contains the login screen, and tty2 (accessed by Ctrl+Alt+F2) contains your actual loaded graphical session.
– karel
Jun 21 '18 at 11:20




In Ubuntu 17.10 and later, tty1 (accessed by Ctrl+Alt+F1) contains the login screen, and tty2 (accessed by Ctrl+Alt+F2) contains your actual loaded graphical session.
– karel
Jun 21 '18 at 11:20


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f917320%2fswitching-between-console-and-gui%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅