Ctrl+Alt+F7 doesn't switch back to X session in Kubuntu 18.04 Bionic
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
13
down vote
favorite
After I switch to virtual console using Ctrl+Alt+F6 I could not get back to X session using Ctrl+Alt+F7 - only blinking cursor is shown. Tried chvt
- same result. Have to reboot and lost all my opened apps which is very inconvenient. Kubuntu version is 18.04 Bionic.
Could anybody help?
command-line kubuntu shortcut-keys tty sddm
add a comment |Â
up vote
13
down vote
favorite
After I switch to virtual console using Ctrl+Alt+F6 I could not get back to X session using Ctrl+Alt+F7 - only blinking cursor is shown. Tried chvt
- same result. Have to reboot and lost all my opened apps which is very inconvenient. Kubuntu version is 18.04 Bionic.
Could anybody help?
command-line kubuntu shortcut-keys tty sddm
add a comment |Â
up vote
13
down vote
favorite
up vote
13
down vote
favorite
After I switch to virtual console using Ctrl+Alt+F6 I could not get back to X session using Ctrl+Alt+F7 - only blinking cursor is shown. Tried chvt
- same result. Have to reboot and lost all my opened apps which is very inconvenient. Kubuntu version is 18.04 Bionic.
Could anybody help?
command-line kubuntu shortcut-keys tty sddm
After I switch to virtual console using Ctrl+Alt+F6 I could not get back to X session using Ctrl+Alt+F7 - only blinking cursor is shown. Tried chvt
- same result. Have to reboot and lost all my opened apps which is very inconvenient. Kubuntu version is 18.04 Bionic.
Could anybody help?
command-line kubuntu shortcut-keys tty sddm
edited Jun 12 at 3:42
asked Jun 11 at 7:59
Dmitry Vinokurov
9518
9518
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
13
down vote
accepted
Other as in Ubuntu 17.10 and later, in Kubuntu 18.04 the default display manager is SDDM, where:
tty1
holds the GUI session
get there with Ctrl+Alt+F1 or (sudo
)chvt 1
tty2
totty6
hold non-graphical TTY sessions
get there with Ctrl+Alt+F2 to F6 or (sudo
)chvt 2
tochvt 6
tty7
and above are unused
Further reading:
How can I reduce the number of TTYs? (also answers how to increase their number)
SDDM bug report from 2014 about this, which also contains a workaround to make SDDM start ontty7
What's the logic in needingsudo
for actions that can be done with an unprivileged keyboard shortcut?
â Eric Duminil
Jun 11 at 12:51
1
@EricDuminil At least I needsudo
to runchvt
from a normal terminal session, elseCouldn't get a file descriptor referring to the console
.
â dessert
Jun 11 at 13:04
3
@EricDuminil: A remote user or unprivileged daemon account cannot press keys on your keyboard. Pressing something on the keyboard conveys a high level of privilege: you're physically present and thus capable of taking over the machine in any number of physical ways.
â R..
Jun 11 at 15:09
add a comment |Â
up vote
2
down vote
On a Linux text-mode virtual console / terminal, Alt+left-arrow and Alt+right-arrow cycle through virtual consoles.
(X servers disable that keybind, so switch to a text-mode VC first, with ctrl+alt+f2, or any VC number that doesn't have an X session running on it.
If you're ever not sure which VC something is on, or which VTs exist, use one of those to cycle through and see what you find. If there's an X session running on a VC, you will find it.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
13
down vote
accepted
Other as in Ubuntu 17.10 and later, in Kubuntu 18.04 the default display manager is SDDM, where:
tty1
holds the GUI session
get there with Ctrl+Alt+F1 or (sudo
)chvt 1
tty2
totty6
hold non-graphical TTY sessions
get there with Ctrl+Alt+F2 to F6 or (sudo
)chvt 2
tochvt 6
tty7
and above are unused
Further reading:
How can I reduce the number of TTYs? (also answers how to increase their number)
SDDM bug report from 2014 about this, which also contains a workaround to make SDDM start ontty7
What's the logic in needingsudo
for actions that can be done with an unprivileged keyboard shortcut?
â Eric Duminil
Jun 11 at 12:51
1
@EricDuminil At least I needsudo
to runchvt
from a normal terminal session, elseCouldn't get a file descriptor referring to the console
.
â dessert
Jun 11 at 13:04
3
@EricDuminil: A remote user or unprivileged daemon account cannot press keys on your keyboard. Pressing something on the keyboard conveys a high level of privilege: you're physically present and thus capable of taking over the machine in any number of physical ways.
â R..
Jun 11 at 15:09
add a comment |Â
up vote
13
down vote
accepted
Other as in Ubuntu 17.10 and later, in Kubuntu 18.04 the default display manager is SDDM, where:
tty1
holds the GUI session
get there with Ctrl+Alt+F1 or (sudo
)chvt 1
tty2
totty6
hold non-graphical TTY sessions
get there with Ctrl+Alt+F2 to F6 or (sudo
)chvt 2
tochvt 6
tty7
and above are unused
Further reading:
How can I reduce the number of TTYs? (also answers how to increase their number)
SDDM bug report from 2014 about this, which also contains a workaround to make SDDM start ontty7
What's the logic in needingsudo
for actions that can be done with an unprivileged keyboard shortcut?
â Eric Duminil
Jun 11 at 12:51
1
@EricDuminil At least I needsudo
to runchvt
from a normal terminal session, elseCouldn't get a file descriptor referring to the console
.
â dessert
Jun 11 at 13:04
3
@EricDuminil: A remote user or unprivileged daemon account cannot press keys on your keyboard. Pressing something on the keyboard conveys a high level of privilege: you're physically present and thus capable of taking over the machine in any number of physical ways.
â R..
Jun 11 at 15:09
add a comment |Â
up vote
13
down vote
accepted
up vote
13
down vote
accepted
Other as in Ubuntu 17.10 and later, in Kubuntu 18.04 the default display manager is SDDM, where:
tty1
holds the GUI session
get there with Ctrl+Alt+F1 or (sudo
)chvt 1
tty2
totty6
hold non-graphical TTY sessions
get there with Ctrl+Alt+F2 to F6 or (sudo
)chvt 2
tochvt 6
tty7
and above are unused
Further reading:
How can I reduce the number of TTYs? (also answers how to increase their number)
SDDM bug report from 2014 about this, which also contains a workaround to make SDDM start ontty7
Other as in Ubuntu 17.10 and later, in Kubuntu 18.04 the default display manager is SDDM, where:
tty1
holds the GUI session
get there with Ctrl+Alt+F1 or (sudo
)chvt 1
tty2
totty6
hold non-graphical TTY sessions
get there with Ctrl+Alt+F2 to F6 or (sudo
)chvt 2
tochvt 6
tty7
and above are unused
Further reading:
How can I reduce the number of TTYs? (also answers how to increase their number)
SDDM bug report from 2014 about this, which also contains a workaround to make SDDM start ontty7
edited Jun 11 at 10:47
answered Jun 11 at 8:29
![](https://i.stack.imgur.com/9L8vd.png?s=32&g=1)
![](https://i.stack.imgur.com/9L8vd.png?s=32&g=1)
dessert
19.4k55494
19.4k55494
What's the logic in needingsudo
for actions that can be done with an unprivileged keyboard shortcut?
â Eric Duminil
Jun 11 at 12:51
1
@EricDuminil At least I needsudo
to runchvt
from a normal terminal session, elseCouldn't get a file descriptor referring to the console
.
â dessert
Jun 11 at 13:04
3
@EricDuminil: A remote user or unprivileged daemon account cannot press keys on your keyboard. Pressing something on the keyboard conveys a high level of privilege: you're physically present and thus capable of taking over the machine in any number of physical ways.
â R..
Jun 11 at 15:09
add a comment |Â
What's the logic in needingsudo
for actions that can be done with an unprivileged keyboard shortcut?
â Eric Duminil
Jun 11 at 12:51
1
@EricDuminil At least I needsudo
to runchvt
from a normal terminal session, elseCouldn't get a file descriptor referring to the console
.
â dessert
Jun 11 at 13:04
3
@EricDuminil: A remote user or unprivileged daemon account cannot press keys on your keyboard. Pressing something on the keyboard conveys a high level of privilege: you're physically present and thus capable of taking over the machine in any number of physical ways.
â R..
Jun 11 at 15:09
What's the logic in needing
sudo
for actions that can be done with an unprivileged keyboard shortcut?â Eric Duminil
Jun 11 at 12:51
What's the logic in needing
sudo
for actions that can be done with an unprivileged keyboard shortcut?â Eric Duminil
Jun 11 at 12:51
1
1
@EricDuminil At least I need
sudo
to run chvt
from a normal terminal session, else Couldn't get a file descriptor referring to the console
.â dessert
Jun 11 at 13:04
@EricDuminil At least I need
sudo
to run chvt
from a normal terminal session, else Couldn't get a file descriptor referring to the console
.â dessert
Jun 11 at 13:04
3
3
@EricDuminil: A remote user or unprivileged daemon account cannot press keys on your keyboard. Pressing something on the keyboard conveys a high level of privilege: you're physically present and thus capable of taking over the machine in any number of physical ways.
â R..
Jun 11 at 15:09
@EricDuminil: A remote user or unprivileged daemon account cannot press keys on your keyboard. Pressing something on the keyboard conveys a high level of privilege: you're physically present and thus capable of taking over the machine in any number of physical ways.
â R..
Jun 11 at 15:09
add a comment |Â
up vote
2
down vote
On a Linux text-mode virtual console / terminal, Alt+left-arrow and Alt+right-arrow cycle through virtual consoles.
(X servers disable that keybind, so switch to a text-mode VC first, with ctrl+alt+f2, or any VC number that doesn't have an X session running on it.
If you're ever not sure which VC something is on, or which VTs exist, use one of those to cycle through and see what you find. If there's an X session running on a VC, you will find it.
add a comment |Â
up vote
2
down vote
On a Linux text-mode virtual console / terminal, Alt+left-arrow and Alt+right-arrow cycle through virtual consoles.
(X servers disable that keybind, so switch to a text-mode VC first, with ctrl+alt+f2, or any VC number that doesn't have an X session running on it.
If you're ever not sure which VC something is on, or which VTs exist, use one of those to cycle through and see what you find. If there's an X session running on a VC, you will find it.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
On a Linux text-mode virtual console / terminal, Alt+left-arrow and Alt+right-arrow cycle through virtual consoles.
(X servers disable that keybind, so switch to a text-mode VC first, with ctrl+alt+f2, or any VC number that doesn't have an X session running on it.
If you're ever not sure which VC something is on, or which VTs exist, use one of those to cycle through and see what you find. If there's an X session running on a VC, you will find it.
On a Linux text-mode virtual console / terminal, Alt+left-arrow and Alt+right-arrow cycle through virtual consoles.
(X servers disable that keybind, so switch to a text-mode VC first, with ctrl+alt+f2, or any VC number that doesn't have an X session running on it.
If you're ever not sure which VC something is on, or which VTs exist, use one of those to cycle through and see what you find. If there's an X session running on a VC, you will find it.
answered Jun 11 at 18:04
![](https://i.stack.imgur.com/N4ivW.png?s=32&g=1)
![](https://i.stack.imgur.com/N4ivW.png?s=32&g=1)
Peter Cordes
791612
791612
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045527%2fctrlaltf7-doesnt-switch-back-to-x-session-in-kubuntu-18-04-bionic%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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