Reverting from Ctrl - Alt - F1
I tried to install an nvidia driver and there was an error saying I must not be in an X terminal when doing so. So I did a Ctrl+Alt+F1.
The resulting terminal did not allow the nvidia driver to be installed and showed the same error message. How do I revert back to the Unity GUI?
command-line
add a comment |
I tried to install an nvidia driver and there was an error saying I must not be in an X terminal when doing so. So I did a Ctrl+Alt+F1.
The resulting terminal did not allow the nvidia driver to be installed and showed the same error message. How do I revert back to the Unity GUI?
command-line
1
Related (but not a duplicate): What does “Ctrl + Alt + F12” do?
– Eliah Kagan
Jul 26 '14 at 23:29
Thanks, @EliahKagan! Useful comments are so seldom upvoted on StackExchange. I found that related question very useful when dealing with the problem that brought me to this one, and I'm sure others have/will as well. Thank you.
– Michael Hoffmann
Aug 23 '15 at 7:19
add a comment |
I tried to install an nvidia driver and there was an error saying I must not be in an X terminal when doing so. So I did a Ctrl+Alt+F1.
The resulting terminal did not allow the nvidia driver to be installed and showed the same error message. How do I revert back to the Unity GUI?
command-line
I tried to install an nvidia driver and there was an error saying I must not be in an X terminal when doing so. So I did a Ctrl+Alt+F1.
The resulting terminal did not allow the nvidia driver to be installed and showed the same error message. How do I revert back to the Unity GUI?
command-line
command-line
edited Oct 17 '12 at 15:31
Peyman Mahdian
208210
208210
asked Jun 29 '12 at 14:08
H2ONaClH2ONaCl
3,359204886
3,359204886
1
Related (but not a duplicate): What does “Ctrl + Alt + F12” do?
– Eliah Kagan
Jul 26 '14 at 23:29
Thanks, @EliahKagan! Useful comments are so seldom upvoted on StackExchange. I found that related question very useful when dealing with the problem that brought me to this one, and I'm sure others have/will as well. Thank you.
– Michael Hoffmann
Aug 23 '15 at 7:19
add a comment |
1
Related (but not a duplicate): What does “Ctrl + Alt + F12” do?
– Eliah Kagan
Jul 26 '14 at 23:29
Thanks, @EliahKagan! Useful comments are so seldom upvoted on StackExchange. I found that related question very useful when dealing with the problem that brought me to this one, and I'm sure others have/will as well. Thank you.
– Michael Hoffmann
Aug 23 '15 at 7:19
1
1
Related (but not a duplicate): What does “Ctrl + Alt + F12” do?
– Eliah Kagan
Jul 26 '14 at 23:29
Related (but not a duplicate): What does “Ctrl + Alt + F12” do?
– Eliah Kagan
Jul 26 '14 at 23:29
Thanks, @EliahKagan! Useful comments are so seldom upvoted on StackExchange. I found that related question very useful when dealing with the problem that brought me to this one, and I'm sure others have/will as well. Thank you.
– Michael Hoffmann
Aug 23 '15 at 7:19
Thanks, @EliahKagan! Useful comments are so seldom upvoted on StackExchange. I found that related question very useful when dealing with the problem that brought me to this one, and I'm sure others have/will as well. Thank you.
– Michael Hoffmann
Aug 23 '15 at 7:19
add a comment |
7 Answers
7
active
oldest
votes
Ctrl+Alt+F1 to F6 are the virtual consoles provided by the getty
/agetty
programs.
Ctrl+Alt+F7 is the console where your X server is running. The GUI (Gnome/KDE or any other) runs over X.
So to get back into your GUI window manager: type:
Ctrl+Alt+F7
or
Alt+F7
or
Ctrl+Alt+F8
With 17.10 and newer, the login screen is on TTY1, and logged-in users' GUI sessions on TTY2 and onwards. So, you may need to use Ctrl+Alt+F2 or Ctrl+Alt+F1 instead.
3
Be forewarned -- if you're trying this with a VM while in Windows, this can disable your extended displays -- useWin
+P
to recover with Extend
– kayleeFrye_onDeck
Sep 7 '16 at 21:24
add a comment |
When you are in a virtual console just press Alt+RightArrow or Alt+LeftArrow to move to next/previous virtual console respectively. Console with X is usually seventh.
What i like about this is that this works accross the distros
– Sergiy Kolodyazhnyy
Apr 12 '15 at 6:57
how to close them all then?
– Mohamed Ibrahim
Aug 4 '17 at 20:00
add a comment |
To revert to the GUI desktop you have to press:
Ctrl+Alt+F7
13
Or justAlt
+F7
. Holding downCtrl
is only necessary when switching from the GUI to a text-based virtual console. Switching from one text-based virtual console to another (or to X11) can be accomplished with justAlt
+Fn
.
– Eliah Kagan
Jun 29 '12 at 14:44
OnFreebsd
withLxde
, I useAlt
+F9
to return to Gui from other virtual consoles.
– Hakim
Sep 13 '14 at 10:04
add a comment |
For completeness, I'll mention the chvt
command.
The virtual terminal offers a login prompt, and if you have logged in, you can switch to other VTs:
chvt 7
will probably get you back to the GUI, since it usually runs on VT7, as mentioned in the other answers.
This is useful for scripting (for example, when taking a screenshot of LightDM).
add a comment |
Ctrl+Alt+F7 does not work on LM13 Cinnamon. However, Alt+F8 brings it back to GUI.
add a comment |
It has been already mentioned that cycling with Alt+ArrowLeft until you get back to your bellowed desktop also works, especially accross distro's (my Fedora 20, for instance, has GUI on F2), so it's convenient.
There's also a crude method: login and run sudo service lightdm restart
, which will restart your session ( so yes, you will be logged out and will get back to login screen ). This answer also takes into account that your login manager might not be lightdm, but the idea is the same.
add a comment |
You can determine on which terminals you and any other users are logged in with the who
command. For me it was tty9
, so I had to press Ctrl+Alt+F9.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f157617%2freverting-from-ctrl-alt-f1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
Ctrl+Alt+F1 to F6 are the virtual consoles provided by the getty
/agetty
programs.
Ctrl+Alt+F7 is the console where your X server is running. The GUI (Gnome/KDE or any other) runs over X.
So to get back into your GUI window manager: type:
Ctrl+Alt+F7
or
Alt+F7
or
Ctrl+Alt+F8
With 17.10 and newer, the login screen is on TTY1, and logged-in users' GUI sessions on TTY2 and onwards. So, you may need to use Ctrl+Alt+F2 or Ctrl+Alt+F1 instead.
3
Be forewarned -- if you're trying this with a VM while in Windows, this can disable your extended displays -- useWin
+P
to recover with Extend
– kayleeFrye_onDeck
Sep 7 '16 at 21:24
add a comment |
Ctrl+Alt+F1 to F6 are the virtual consoles provided by the getty
/agetty
programs.
Ctrl+Alt+F7 is the console where your X server is running. The GUI (Gnome/KDE or any other) runs over X.
So to get back into your GUI window manager: type:
Ctrl+Alt+F7
or
Alt+F7
or
Ctrl+Alt+F8
With 17.10 and newer, the login screen is on TTY1, and logged-in users' GUI sessions on TTY2 and onwards. So, you may need to use Ctrl+Alt+F2 or Ctrl+Alt+F1 instead.
3
Be forewarned -- if you're trying this with a VM while in Windows, this can disable your extended displays -- useWin
+P
to recover with Extend
– kayleeFrye_onDeck
Sep 7 '16 at 21:24
add a comment |
Ctrl+Alt+F1 to F6 are the virtual consoles provided by the getty
/agetty
programs.
Ctrl+Alt+F7 is the console where your X server is running. The GUI (Gnome/KDE or any other) runs over X.
So to get back into your GUI window manager: type:
Ctrl+Alt+F7
or
Alt+F7
or
Ctrl+Alt+F8
With 17.10 and newer, the login screen is on TTY1, and logged-in users' GUI sessions on TTY2 and onwards. So, you may need to use Ctrl+Alt+F2 or Ctrl+Alt+F1 instead.
Ctrl+Alt+F1 to F6 are the virtual consoles provided by the getty
/agetty
programs.
Ctrl+Alt+F7 is the console where your X server is running. The GUI (Gnome/KDE or any other) runs over X.
So to get back into your GUI window manager: type:
Ctrl+Alt+F7
or
Alt+F7
or
Ctrl+Alt+F8
With 17.10 and newer, the login screen is on TTY1, and logged-in users' GUI sessions on TTY2 and onwards. So, you may need to use Ctrl+Alt+F2 or Ctrl+Alt+F1 instead.
edited Jun 28 '18 at 6:35
muru
1
1
answered Jun 29 '12 at 14:14
drake01drake01
2,68511213
2,68511213
3
Be forewarned -- if you're trying this with a VM while in Windows, this can disable your extended displays -- useWin
+P
to recover with Extend
– kayleeFrye_onDeck
Sep 7 '16 at 21:24
add a comment |
3
Be forewarned -- if you're trying this with a VM while in Windows, this can disable your extended displays -- useWin
+P
to recover with Extend
– kayleeFrye_onDeck
Sep 7 '16 at 21:24
3
3
Be forewarned -- if you're trying this with a VM while in Windows, this can disable your extended displays -- use
Win
+ P
to recover with Extend– kayleeFrye_onDeck
Sep 7 '16 at 21:24
Be forewarned -- if you're trying this with a VM while in Windows, this can disable your extended displays -- use
Win
+ P
to recover with Extend– kayleeFrye_onDeck
Sep 7 '16 at 21:24
add a comment |
When you are in a virtual console just press Alt+RightArrow or Alt+LeftArrow to move to next/previous virtual console respectively. Console with X is usually seventh.
What i like about this is that this works accross the distros
– Sergiy Kolodyazhnyy
Apr 12 '15 at 6:57
how to close them all then?
– Mohamed Ibrahim
Aug 4 '17 at 20:00
add a comment |
When you are in a virtual console just press Alt+RightArrow or Alt+LeftArrow to move to next/previous virtual console respectively. Console with X is usually seventh.
What i like about this is that this works accross the distros
– Sergiy Kolodyazhnyy
Apr 12 '15 at 6:57
how to close them all then?
– Mohamed Ibrahim
Aug 4 '17 at 20:00
add a comment |
When you are in a virtual console just press Alt+RightArrow or Alt+LeftArrow to move to next/previous virtual console respectively. Console with X is usually seventh.
When you are in a virtual console just press Alt+RightArrow or Alt+LeftArrow to move to next/previous virtual console respectively. Console with X is usually seventh.
edited Dec 21 '13 at 17:46
answered Dec 21 '13 at 13:56
user134541
What i like about this is that this works accross the distros
– Sergiy Kolodyazhnyy
Apr 12 '15 at 6:57
how to close them all then?
– Mohamed Ibrahim
Aug 4 '17 at 20:00
add a comment |
What i like about this is that this works accross the distros
– Sergiy Kolodyazhnyy
Apr 12 '15 at 6:57
how to close them all then?
– Mohamed Ibrahim
Aug 4 '17 at 20:00
What i like about this is that this works accross the distros
– Sergiy Kolodyazhnyy
Apr 12 '15 at 6:57
What i like about this is that this works accross the distros
– Sergiy Kolodyazhnyy
Apr 12 '15 at 6:57
how to close them all then?
– Mohamed Ibrahim
Aug 4 '17 at 20:00
how to close them all then?
– Mohamed Ibrahim
Aug 4 '17 at 20:00
add a comment |
To revert to the GUI desktop you have to press:
Ctrl+Alt+F7
13
Or justAlt
+F7
. Holding downCtrl
is only necessary when switching from the GUI to a text-based virtual console. Switching from one text-based virtual console to another (or to X11) can be accomplished with justAlt
+Fn
.
– Eliah Kagan
Jun 29 '12 at 14:44
OnFreebsd
withLxde
, I useAlt
+F9
to return to Gui from other virtual consoles.
– Hakim
Sep 13 '14 at 10:04
add a comment |
To revert to the GUI desktop you have to press:
Ctrl+Alt+F7
13
Or justAlt
+F7
. Holding downCtrl
is only necessary when switching from the GUI to a text-based virtual console. Switching from one text-based virtual console to another (or to X11) can be accomplished with justAlt
+Fn
.
– Eliah Kagan
Jun 29 '12 at 14:44
OnFreebsd
withLxde
, I useAlt
+F9
to return to Gui from other virtual consoles.
– Hakim
Sep 13 '14 at 10:04
add a comment |
To revert to the GUI desktop you have to press:
Ctrl+Alt+F7
To revert to the GUI desktop you have to press:
Ctrl+Alt+F7
edited Aug 22 '12 at 8:48
Eliah Kagan
82.6k22227369
82.6k22227369
answered Jun 29 '12 at 14:14
leousaleousa
834723
834723
13
Or justAlt
+F7
. Holding downCtrl
is only necessary when switching from the GUI to a text-based virtual console. Switching from one text-based virtual console to another (or to X11) can be accomplished with justAlt
+Fn
.
– Eliah Kagan
Jun 29 '12 at 14:44
OnFreebsd
withLxde
, I useAlt
+F9
to return to Gui from other virtual consoles.
– Hakim
Sep 13 '14 at 10:04
add a comment |
13
Or justAlt
+F7
. Holding downCtrl
is only necessary when switching from the GUI to a text-based virtual console. Switching from one text-based virtual console to another (or to X11) can be accomplished with justAlt
+Fn
.
– Eliah Kagan
Jun 29 '12 at 14:44
OnFreebsd
withLxde
, I useAlt
+F9
to return to Gui from other virtual consoles.
– Hakim
Sep 13 '14 at 10:04
13
13
Or just
Alt
+F7
. Holding down Ctrl
is only necessary when switching from the GUI to a text-based virtual console. Switching from one text-based virtual console to another (or to X11) can be accomplished with just Alt
+Fn
.– Eliah Kagan
Jun 29 '12 at 14:44
Or just
Alt
+F7
. Holding down Ctrl
is only necessary when switching from the GUI to a text-based virtual console. Switching from one text-based virtual console to another (or to X11) can be accomplished with just Alt
+Fn
.– Eliah Kagan
Jun 29 '12 at 14:44
On
Freebsd
with Lxde
, I use Alt
+F9
to return to Gui from other virtual consoles.– Hakim
Sep 13 '14 at 10:04
On
Freebsd
with Lxde
, I use Alt
+F9
to return to Gui from other virtual consoles.– Hakim
Sep 13 '14 at 10:04
add a comment |
For completeness, I'll mention the chvt
command.
The virtual terminal offers a login prompt, and if you have logged in, you can switch to other VTs:
chvt 7
will probably get you back to the GUI, since it usually runs on VT7, as mentioned in the other answers.
This is useful for scripting (for example, when taking a screenshot of LightDM).
add a comment |
For completeness, I'll mention the chvt
command.
The virtual terminal offers a login prompt, and if you have logged in, you can switch to other VTs:
chvt 7
will probably get you back to the GUI, since it usually runs on VT7, as mentioned in the other answers.
This is useful for scripting (for example, when taking a screenshot of LightDM).
add a comment |
For completeness, I'll mention the chvt
command.
The virtual terminal offers a login prompt, and if you have logged in, you can switch to other VTs:
chvt 7
will probably get you back to the GUI, since it usually runs on VT7, as mentioned in the other answers.
This is useful for scripting (for example, when taking a screenshot of LightDM).
For completeness, I'll mention the chvt
command.
The virtual terminal offers a login prompt, and if you have logged in, you can switch to other VTs:
chvt 7
will probably get you back to the GUI, since it usually runs on VT7, as mentioned in the other answers.
This is useful for scripting (for example, when taking a screenshot of LightDM).
edited Apr 12 '15 at 5:41
answered Jul 26 '14 at 23:13
murumuru
1
1
add a comment |
add a comment |
Ctrl+Alt+F7 does not work on LM13 Cinnamon. However, Alt+F8 brings it back to GUI.
add a comment |
Ctrl+Alt+F7 does not work on LM13 Cinnamon. However, Alt+F8 brings it back to GUI.
add a comment |
Ctrl+Alt+F7 does not work on LM13 Cinnamon. However, Alt+F8 brings it back to GUI.
Ctrl+Alt+F7 does not work on LM13 Cinnamon. However, Alt+F8 brings it back to GUI.
edited Sep 9 '12 at 10:33
Peachy
5,03672843
5,03672843
answered Sep 6 '12 at 20:21
dsiddensdsiddens
8112
8112
add a comment |
add a comment |
It has been already mentioned that cycling with Alt+ArrowLeft until you get back to your bellowed desktop also works, especially accross distro's (my Fedora 20, for instance, has GUI on F2), so it's convenient.
There's also a crude method: login and run sudo service lightdm restart
, which will restart your session ( so yes, you will be logged out and will get back to login screen ). This answer also takes into account that your login manager might not be lightdm, but the idea is the same.
add a comment |
It has been already mentioned that cycling with Alt+ArrowLeft until you get back to your bellowed desktop also works, especially accross distro's (my Fedora 20, for instance, has GUI on F2), so it's convenient.
There's also a crude method: login and run sudo service lightdm restart
, which will restart your session ( so yes, you will be logged out and will get back to login screen ). This answer also takes into account that your login manager might not be lightdm, but the idea is the same.
add a comment |
It has been already mentioned that cycling with Alt+ArrowLeft until you get back to your bellowed desktop also works, especially accross distro's (my Fedora 20, for instance, has GUI on F2), so it's convenient.
There's also a crude method: login and run sudo service lightdm restart
, which will restart your session ( so yes, you will be logged out and will get back to login screen ). This answer also takes into account that your login manager might not be lightdm, but the idea is the same.
It has been already mentioned that cycling with Alt+ArrowLeft until you get back to your bellowed desktop also works, especially accross distro's (my Fedora 20, for instance, has GUI on F2), so it's convenient.
There's also a crude method: login and run sudo service lightdm restart
, which will restart your session ( so yes, you will be logged out and will get back to login screen ). This answer also takes into account that your login manager might not be lightdm, but the idea is the same.
edited Apr 13 '17 at 12:24
Community♦
1
1
answered Apr 12 '15 at 6:56
Sergiy KolodyazhnyySergiy Kolodyazhnyy
73.8k9154323
73.8k9154323
add a comment |
add a comment |
You can determine on which terminals you and any other users are logged in with the who
command. For me it was tty9
, so I had to press Ctrl+Alt+F9.
add a comment |
You can determine on which terminals you and any other users are logged in with the who
command. For me it was tty9
, so I had to press Ctrl+Alt+F9.
add a comment |
You can determine on which terminals you and any other users are logged in with the who
command. For me it was tty9
, so I had to press Ctrl+Alt+F9.
You can determine on which terminals you and any other users are logged in with the who
command. For me it was tty9
, so I had to press Ctrl+Alt+F9.
edited Jun 26 '18 at 7:31
Codito ergo sum
1,5043825
1,5043825
answered Jul 22 '16 at 8:45
AlvaroAlvaro
211
211
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f157617%2freverting-from-ctrl-alt-f1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
Related (but not a duplicate): What does “Ctrl + Alt + F12” do?
– Eliah Kagan
Jul 26 '14 at 23:29
Thanks, @EliahKagan! Useful comments are so seldom upvoted on StackExchange. I found that related question very useful when dealing with the problem that brought me to this one, and I'm sure others have/will as well. Thank you.
– Michael Hoffmann
Aug 23 '15 at 7:19