Ctrl+Alt+F7 doesn't switch back to X session in Kubuntu 18.04 Bionic

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
13
down vote

favorite
3












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?







share|improve this question

























    up vote
    13
    down vote

    favorite
    3












    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?







    share|improve this question























      up vote
      13
      down vote

      favorite
      3









      up vote
      13
      down vote

      favorite
      3






      3





      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?







      share|improve this question













      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?









      share|improve this question












      share|improve this question




      share|improve this question








      edited Jun 12 at 3:42
























      asked Jun 11 at 7:59









      Dmitry Vinokurov

      9518




      9518




















          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 to tty6 hold non-graphical TTY sessions

            get there with Ctrl+Alt+F2 to F6 or (sudo) chvt 2 to chvt 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 on tty7





          share|improve this answer























          • 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




            @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




            @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


















          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.






          share|improve this answer





















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1045527%2fctrlaltf7-doesnt-switch-back-to-x-session-in-kubuntu-18-04-bionic%23new-answer', 'question_page');

            );

            Post as a guest






























            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 to tty6 hold non-graphical TTY sessions

              get there with Ctrl+Alt+F2 to F6 or (sudo) chvt 2 to chvt 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 on tty7





            share|improve this answer























            • 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




              @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




              @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















            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 to tty6 hold non-graphical TTY sessions

              get there with Ctrl+Alt+F2 to F6 or (sudo) chvt 2 to chvt 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 on tty7





            share|improve this answer























            • 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




              @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




              @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













            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 to tty6 hold non-graphical TTY sessions

              get there with Ctrl+Alt+F2 to F6 or (sudo) chvt 2 to chvt 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 on tty7





            share|improve this answer















            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 to tty6 hold non-graphical TTY sessions

              get there with Ctrl+Alt+F2 to F6 or (sudo) chvt 2 to chvt 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 on tty7






            share|improve this answer















            share|improve this answer



            share|improve this answer








            edited Jun 11 at 10:47


























            answered Jun 11 at 8:29









            dessert

            19.4k55494




            19.4k55494











            • 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




              @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




              @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






            • 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







            • 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













            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.






            share|improve this answer

























              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.






              share|improve this answer























                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.






                share|improve this answer













                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.







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 11 at 18:04









                Peter Cordes

                791612




                791612






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491