Ubuntu open to black screen with blinking cursor after upgrading from 12.10 to 13.04





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







9















I upgraded my Ubuntu OS from 12.10 to 13.04 and after the process of upgrading it via Software Updater , it requested me to restart the computer .



I restarted and on boot I proceed to the Purple with Ubuntu text and 4 dots below it and proceed to the black screen with a blinking underscore (_)



Please help me , i have all my files in there and I can't access them ..
I tried the grub menu edit that other questions pointed out but it doesnt seem to do anything .



Please helppp /:










share|improve this question































    9















    I upgraded my Ubuntu OS from 12.10 to 13.04 and after the process of upgrading it via Software Updater , it requested me to restart the computer .



    I restarted and on boot I proceed to the Purple with Ubuntu text and 4 dots below it and proceed to the black screen with a blinking underscore (_)



    Please help me , i have all my files in there and I can't access them ..
    I tried the grub menu edit that other questions pointed out but it doesnt seem to do anything .



    Please helppp /:










    share|improve this question



























      9












      9








      9


      4






      I upgraded my Ubuntu OS from 12.10 to 13.04 and after the process of upgrading it via Software Updater , it requested me to restart the computer .



      I restarted and on boot I proceed to the Purple with Ubuntu text and 4 dots below it and proceed to the black screen with a blinking underscore (_)



      Please help me , i have all my files in there and I can't access them ..
      I tried the grub menu edit that other questions pointed out but it doesnt seem to do anything .



      Please helppp /:










      share|improve this question
















      I upgraded my Ubuntu OS from 12.10 to 13.04 and after the process of upgrading it via Software Updater , it requested me to restart the computer .



      I restarted and on boot I proceed to the Purple with Ubuntu text and 4 dots below it and proceed to the black screen with a blinking underscore (_)



      Please help me , i have all my files in there and I can't access them ..
      I tried the grub menu edit that other questions pointed out but it doesnt seem to do anything .



      Please helppp /:







      upgrade 13.04 system-installation






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 31 '15 at 20:44









      Tim

      20.2k1586143




      20.2k1586143










      asked May 18 '13 at 12:03









      GabGab

      46112




      46112






















          7 Answers
          7






          active

          oldest

          votes


















          11














          Try the following:



          press Ctrl+Alt+F1



          You'll see a terminal for login, enter your credentials and execute the following command:



          sudo service lightdm --full-restart



          Enter your password again and you should see the login page






          share|improve this answer


























          • This fixed it for me, thanks! Unfortunately I have to about 50% of the times, any idea why, and how to get it fixed for good?

            – alemur
            Jan 13 '14 at 8:37













          • just accidently pressed ctrl+alt+function key, and got blank screen with cursor. Clicked ctrl+alt+F7, desktop back again. Thanks. Your answer give the hint.

            – devprashant
            Aug 3 '16 at 4:06











          • I m in the same situation but my computer doesn t recognize my credentials

            – HoCo_
            Feb 27 at 8:43



















          4














          I dont know if this will help you but, this happened to me after I moved around harddrives from one computer to another. I had a black screen with a comand cursor blinking and taunting me everytime I tried to boot. After reformating and installing and reinstalling. I checked my setup and my comp was booting the wrong hard drive. I swapped the drive order and the bootloader came up.



          Again, this was just my experience with the black screen cursur blinking. Solution was:



          F2 > boot > swap boot order of drives.






          share|improve this answer































            1














            I had similar problem and solved it by following steps:



            first press Ctrl+Alt+F1(or F2, F3, F4)



            You'll see a terminal for login, enter your credentials and execute the following command:



            ps -aux | grep --color "lightdm"



            then, you will see processes that run lightdm, so you should kill those process:



            kill -9 -15 <process number>



            after that graphical login screen appears.






            share|improve this answer































              0














              Have you tried the options listed at this My computer boots to a black screen, what options do I have to fix it?
              Also, do you have a discrete graphics card, possibly with Optimus technology? If yes, please install bumbleebee project from Bumblebee wiki.






              share|improve this answer

































                0














                Apparently this is an issue that can happen, especially with SSD drives.



                The solution would be to install gdm and use that instead.



                sudo apt-get install gdm


                and when prompted, select it.
                If you want to switych back to lightdm:



                sudo dpkg-reconfigure gdm


                This is the source.






                share|improve this answer
























                • gdm broke my computer even more, preventing me from using Ctrl+Alt+F1 to enter the command line. To switch back to lightdm, I had to hold Shift during boot to enter Recovery Mode, enter the root shell, mount the disk as rw, login as my user, and sudo dpkg-reconfigure lightdm.

                  – Rory O'Kane
                  Feb 14 '17 at 21:36





















                0














                Here’s what worked for me, on a Dell Precision M6800 laptop running Ubuntu 16.10:



                First, at the black screen with the cursor in the top-left (which wasn’t blinking in my case), I followed this answer and pressed Ctrl+Alt+F1 to show a terminal, and logged in with my username and password.



                That answer suggests running sudo service lightdm --full-restart, but the command only gave me an error. Instead, this answer’s solution of removing and reinstalling lightdm was what brought me forward. Note that a wired internet connection is required for the apt-get install part; wireless internet is apparently not set up yet at this stage in the boot process.



                sudo apt-get purge lightdm
                sudo apt-get update
                sudo apt-get install lightdm
                dpkg-reconfigure lightdm
                sudo reboot


                After this reboot, the login screen successfully showed, at the point in time where previously the one-line log message disappeared and the underline cursor appeared. But when I entered my correct password to log in, I only got the error “Failed to start session” in red text.



                The article ‘Fix “Failed To Start Session” At Login In Ubuntu 14.04’ helped with that. At the login screen with the error message, I pressed Ctrl+Alt+F1 again to show a terminal, and logged in. Then I ran sudo apt-get install ubuntu-desktop, which installed ubuntu-desktop for the first time. Finally, I ran sudo reboot to reboot.



                When the computer finished rebooting, I was able to successfully log in at the login screen and return to using the computer normally.






                share|improve this answer

































                  0














                  I was unable to switch to other TTYs as is recommended in other answers. I had a blinking cursor, but otherwise my system was unresponsive.



                  Root cause for me: Bad package upgrade (?improper shutdown?) left my system/dpkg in a broken state.



                  Detection: After using recovery mode to get to the root shell, I tried apt-get purge lightdm as per previous answers. This command failed, with a message: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



                  Fix:




                  1. Get to a root shell if you haven't already. You can do this by booting into 'recovery mode' from grub, and using the keyboard to select the root prompt option.

                  2. Run dpkg --configure -a.

                  3. If this was indeed your problem, it will resume some package installation that was not completed. For me, that was a kernel upgrade with an nvidia driver component.

                  4. Be patient. After it is completed, try reboot and see if it has fixed your problem.






                  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',
                    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%2f297080%2fubuntu-open-to-black-screen-with-blinking-cursor-after-upgrading-from-12-10-to-1%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









                    11














                    Try the following:



                    press Ctrl+Alt+F1



                    You'll see a terminal for login, enter your credentials and execute the following command:



                    sudo service lightdm --full-restart



                    Enter your password again and you should see the login page






                    share|improve this answer


























                    • This fixed it for me, thanks! Unfortunately I have to about 50% of the times, any idea why, and how to get it fixed for good?

                      – alemur
                      Jan 13 '14 at 8:37













                    • just accidently pressed ctrl+alt+function key, and got blank screen with cursor. Clicked ctrl+alt+F7, desktop back again. Thanks. Your answer give the hint.

                      – devprashant
                      Aug 3 '16 at 4:06











                    • I m in the same situation but my computer doesn t recognize my credentials

                      – HoCo_
                      Feb 27 at 8:43
















                    11














                    Try the following:



                    press Ctrl+Alt+F1



                    You'll see a terminal for login, enter your credentials and execute the following command:



                    sudo service lightdm --full-restart



                    Enter your password again and you should see the login page






                    share|improve this answer


























                    • This fixed it for me, thanks! Unfortunately I have to about 50% of the times, any idea why, and how to get it fixed for good?

                      – alemur
                      Jan 13 '14 at 8:37













                    • just accidently pressed ctrl+alt+function key, and got blank screen with cursor. Clicked ctrl+alt+F7, desktop back again. Thanks. Your answer give the hint.

                      – devprashant
                      Aug 3 '16 at 4:06











                    • I m in the same situation but my computer doesn t recognize my credentials

                      – HoCo_
                      Feb 27 at 8:43














                    11












                    11








                    11







                    Try the following:



                    press Ctrl+Alt+F1



                    You'll see a terminal for login, enter your credentials and execute the following command:



                    sudo service lightdm --full-restart



                    Enter your password again and you should see the login page






                    share|improve this answer















                    Try the following:



                    press Ctrl+Alt+F1



                    You'll see a terminal for login, enter your credentials and execute the following command:



                    sudo service lightdm --full-restart



                    Enter your password again and you should see the login page







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Sep 24 '13 at 10:08









                    jobin

                    19.7k1280110




                    19.7k1280110










                    answered Sep 24 '13 at 9:19









                    vimtut0rvimtut0r

                    11113




                    11113













                    • This fixed it for me, thanks! Unfortunately I have to about 50% of the times, any idea why, and how to get it fixed for good?

                      – alemur
                      Jan 13 '14 at 8:37













                    • just accidently pressed ctrl+alt+function key, and got blank screen with cursor. Clicked ctrl+alt+F7, desktop back again. Thanks. Your answer give the hint.

                      – devprashant
                      Aug 3 '16 at 4:06











                    • I m in the same situation but my computer doesn t recognize my credentials

                      – HoCo_
                      Feb 27 at 8:43



















                    • This fixed it for me, thanks! Unfortunately I have to about 50% of the times, any idea why, and how to get it fixed for good?

                      – alemur
                      Jan 13 '14 at 8:37













                    • just accidently pressed ctrl+alt+function key, and got blank screen with cursor. Clicked ctrl+alt+F7, desktop back again. Thanks. Your answer give the hint.

                      – devprashant
                      Aug 3 '16 at 4:06











                    • I m in the same situation but my computer doesn t recognize my credentials

                      – HoCo_
                      Feb 27 at 8:43

















                    This fixed it for me, thanks! Unfortunately I have to about 50% of the times, any idea why, and how to get it fixed for good?

                    – alemur
                    Jan 13 '14 at 8:37







                    This fixed it for me, thanks! Unfortunately I have to about 50% of the times, any idea why, and how to get it fixed for good?

                    – alemur
                    Jan 13 '14 at 8:37















                    just accidently pressed ctrl+alt+function key, and got blank screen with cursor. Clicked ctrl+alt+F7, desktop back again. Thanks. Your answer give the hint.

                    – devprashant
                    Aug 3 '16 at 4:06





                    just accidently pressed ctrl+alt+function key, and got blank screen with cursor. Clicked ctrl+alt+F7, desktop back again. Thanks. Your answer give the hint.

                    – devprashant
                    Aug 3 '16 at 4:06













                    I m in the same situation but my computer doesn t recognize my credentials

                    – HoCo_
                    Feb 27 at 8:43





                    I m in the same situation but my computer doesn t recognize my credentials

                    – HoCo_
                    Feb 27 at 8:43













                    4














                    I dont know if this will help you but, this happened to me after I moved around harddrives from one computer to another. I had a black screen with a comand cursor blinking and taunting me everytime I tried to boot. After reformating and installing and reinstalling. I checked my setup and my comp was booting the wrong hard drive. I swapped the drive order and the bootloader came up.



                    Again, this was just my experience with the black screen cursur blinking. Solution was:



                    F2 > boot > swap boot order of drives.






                    share|improve this answer




























                      4














                      I dont know if this will help you but, this happened to me after I moved around harddrives from one computer to another. I had a black screen with a comand cursor blinking and taunting me everytime I tried to boot. After reformating and installing and reinstalling. I checked my setup and my comp was booting the wrong hard drive. I swapped the drive order and the bootloader came up.



                      Again, this was just my experience with the black screen cursur blinking. Solution was:



                      F2 > boot > swap boot order of drives.






                      share|improve this answer


























                        4












                        4








                        4







                        I dont know if this will help you but, this happened to me after I moved around harddrives from one computer to another. I had a black screen with a comand cursor blinking and taunting me everytime I tried to boot. After reformating and installing and reinstalling. I checked my setup and my comp was booting the wrong hard drive. I swapped the drive order and the bootloader came up.



                        Again, this was just my experience with the black screen cursur blinking. Solution was:



                        F2 > boot > swap boot order of drives.






                        share|improve this answer













                        I dont know if this will help you but, this happened to me after I moved around harddrives from one computer to another. I had a black screen with a comand cursor blinking and taunting me everytime I tried to boot. After reformating and installing and reinstalling. I checked my setup and my comp was booting the wrong hard drive. I swapped the drive order and the bootloader came up.



                        Again, this was just my experience with the black screen cursur blinking. Solution was:



                        F2 > boot > swap boot order of drives.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Dec 20 '13 at 3:02









                        JoeJoe

                        412




                        412























                            1














                            I had similar problem and solved it by following steps:



                            first press Ctrl+Alt+F1(or F2, F3, F4)



                            You'll see a terminal for login, enter your credentials and execute the following command:



                            ps -aux | grep --color "lightdm"



                            then, you will see processes that run lightdm, so you should kill those process:



                            kill -9 -15 <process number>



                            after that graphical login screen appears.






                            share|improve this answer




























                              1














                              I had similar problem and solved it by following steps:



                              first press Ctrl+Alt+F1(or F2, F3, F4)



                              You'll see a terminal for login, enter your credentials and execute the following command:



                              ps -aux | grep --color "lightdm"



                              then, you will see processes that run lightdm, so you should kill those process:



                              kill -9 -15 <process number>



                              after that graphical login screen appears.






                              share|improve this answer


























                                1












                                1








                                1







                                I had similar problem and solved it by following steps:



                                first press Ctrl+Alt+F1(or F2, F3, F4)



                                You'll see a terminal for login, enter your credentials and execute the following command:



                                ps -aux | grep --color "lightdm"



                                then, you will see processes that run lightdm, so you should kill those process:



                                kill -9 -15 <process number>



                                after that graphical login screen appears.






                                share|improve this answer













                                I had similar problem and solved it by following steps:



                                first press Ctrl+Alt+F1(or F2, F3, F4)



                                You'll see a terminal for login, enter your credentials and execute the following command:



                                ps -aux | grep --color "lightdm"



                                then, you will see processes that run lightdm, so you should kill those process:



                                kill -9 -15 <process number>



                                after that graphical login screen appears.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Aug 16 '17 at 9:24









                                Fatemeh AbdollaheiFatemeh Abdollahei

                                738




                                738























                                    0














                                    Have you tried the options listed at this My computer boots to a black screen, what options do I have to fix it?
                                    Also, do you have a discrete graphics card, possibly with Optimus technology? If yes, please install bumbleebee project from Bumblebee wiki.






                                    share|improve this answer






























                                      0














                                      Have you tried the options listed at this My computer boots to a black screen, what options do I have to fix it?
                                      Also, do you have a discrete graphics card, possibly with Optimus technology? If yes, please install bumbleebee project from Bumblebee wiki.






                                      share|improve this answer




























                                        0












                                        0








                                        0







                                        Have you tried the options listed at this My computer boots to a black screen, what options do I have to fix it?
                                        Also, do you have a discrete graphics card, possibly with Optimus technology? If yes, please install bumbleebee project from Bumblebee wiki.






                                        share|improve this answer















                                        Have you tried the options listed at this My computer boots to a black screen, what options do I have to fix it?
                                        Also, do you have a discrete graphics card, possibly with Optimus technology? If yes, please install bumbleebee project from Bumblebee wiki.







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Apr 13 '17 at 12:23









                                        Community

                                        1




                                        1










                                        answered May 19 '13 at 9:03









                                        Gaurav KumarGaurav Kumar

                                        1734




                                        1734























                                            0














                                            Apparently this is an issue that can happen, especially with SSD drives.



                                            The solution would be to install gdm and use that instead.



                                            sudo apt-get install gdm


                                            and when prompted, select it.
                                            If you want to switych back to lightdm:



                                            sudo dpkg-reconfigure gdm


                                            This is the source.






                                            share|improve this answer
























                                            • gdm broke my computer even more, preventing me from using Ctrl+Alt+F1 to enter the command line. To switch back to lightdm, I had to hold Shift during boot to enter Recovery Mode, enter the root shell, mount the disk as rw, login as my user, and sudo dpkg-reconfigure lightdm.

                                              – Rory O'Kane
                                              Feb 14 '17 at 21:36


















                                            0














                                            Apparently this is an issue that can happen, especially with SSD drives.



                                            The solution would be to install gdm and use that instead.



                                            sudo apt-get install gdm


                                            and when prompted, select it.
                                            If you want to switych back to lightdm:



                                            sudo dpkg-reconfigure gdm


                                            This is the source.






                                            share|improve this answer
























                                            • gdm broke my computer even more, preventing me from using Ctrl+Alt+F1 to enter the command line. To switch back to lightdm, I had to hold Shift during boot to enter Recovery Mode, enter the root shell, mount the disk as rw, login as my user, and sudo dpkg-reconfigure lightdm.

                                              – Rory O'Kane
                                              Feb 14 '17 at 21:36
















                                            0












                                            0








                                            0







                                            Apparently this is an issue that can happen, especially with SSD drives.



                                            The solution would be to install gdm and use that instead.



                                            sudo apt-get install gdm


                                            and when prompted, select it.
                                            If you want to switych back to lightdm:



                                            sudo dpkg-reconfigure gdm


                                            This is the source.






                                            share|improve this answer













                                            Apparently this is an issue that can happen, especially with SSD drives.



                                            The solution would be to install gdm and use that instead.



                                            sudo apt-get install gdm


                                            and when prompted, select it.
                                            If you want to switych back to lightdm:



                                            sudo dpkg-reconfigure gdm


                                            This is the source.







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Jan 13 '14 at 8:59









                                            alemuralemur

                                            5301722




                                            5301722













                                            • gdm broke my computer even more, preventing me from using Ctrl+Alt+F1 to enter the command line. To switch back to lightdm, I had to hold Shift during boot to enter Recovery Mode, enter the root shell, mount the disk as rw, login as my user, and sudo dpkg-reconfigure lightdm.

                                              – Rory O'Kane
                                              Feb 14 '17 at 21:36





















                                            • gdm broke my computer even more, preventing me from using Ctrl+Alt+F1 to enter the command line. To switch back to lightdm, I had to hold Shift during boot to enter Recovery Mode, enter the root shell, mount the disk as rw, login as my user, and sudo dpkg-reconfigure lightdm.

                                              – Rory O'Kane
                                              Feb 14 '17 at 21:36



















                                            gdm broke my computer even more, preventing me from using Ctrl+Alt+F1 to enter the command line. To switch back to lightdm, I had to hold Shift during boot to enter Recovery Mode, enter the root shell, mount the disk as rw, login as my user, and sudo dpkg-reconfigure lightdm.

                                            – Rory O'Kane
                                            Feb 14 '17 at 21:36







                                            gdm broke my computer even more, preventing me from using Ctrl+Alt+F1 to enter the command line. To switch back to lightdm, I had to hold Shift during boot to enter Recovery Mode, enter the root shell, mount the disk as rw, login as my user, and sudo dpkg-reconfigure lightdm.

                                            – Rory O'Kane
                                            Feb 14 '17 at 21:36













                                            0














                                            Here’s what worked for me, on a Dell Precision M6800 laptop running Ubuntu 16.10:



                                            First, at the black screen with the cursor in the top-left (which wasn’t blinking in my case), I followed this answer and pressed Ctrl+Alt+F1 to show a terminal, and logged in with my username and password.



                                            That answer suggests running sudo service lightdm --full-restart, but the command only gave me an error. Instead, this answer’s solution of removing and reinstalling lightdm was what brought me forward. Note that a wired internet connection is required for the apt-get install part; wireless internet is apparently not set up yet at this stage in the boot process.



                                            sudo apt-get purge lightdm
                                            sudo apt-get update
                                            sudo apt-get install lightdm
                                            dpkg-reconfigure lightdm
                                            sudo reboot


                                            After this reboot, the login screen successfully showed, at the point in time where previously the one-line log message disappeared and the underline cursor appeared. But when I entered my correct password to log in, I only got the error “Failed to start session” in red text.



                                            The article ‘Fix “Failed To Start Session” At Login In Ubuntu 14.04’ helped with that. At the login screen with the error message, I pressed Ctrl+Alt+F1 again to show a terminal, and logged in. Then I ran sudo apt-get install ubuntu-desktop, which installed ubuntu-desktop for the first time. Finally, I ran sudo reboot to reboot.



                                            When the computer finished rebooting, I was able to successfully log in at the login screen and return to using the computer normally.






                                            share|improve this answer






























                                              0














                                              Here’s what worked for me, on a Dell Precision M6800 laptop running Ubuntu 16.10:



                                              First, at the black screen with the cursor in the top-left (which wasn’t blinking in my case), I followed this answer and pressed Ctrl+Alt+F1 to show a terminal, and logged in with my username and password.



                                              That answer suggests running sudo service lightdm --full-restart, but the command only gave me an error. Instead, this answer’s solution of removing and reinstalling lightdm was what brought me forward. Note that a wired internet connection is required for the apt-get install part; wireless internet is apparently not set up yet at this stage in the boot process.



                                              sudo apt-get purge lightdm
                                              sudo apt-get update
                                              sudo apt-get install lightdm
                                              dpkg-reconfigure lightdm
                                              sudo reboot


                                              After this reboot, the login screen successfully showed, at the point in time where previously the one-line log message disappeared and the underline cursor appeared. But when I entered my correct password to log in, I only got the error “Failed to start session” in red text.



                                              The article ‘Fix “Failed To Start Session” At Login In Ubuntu 14.04’ helped with that. At the login screen with the error message, I pressed Ctrl+Alt+F1 again to show a terminal, and logged in. Then I ran sudo apt-get install ubuntu-desktop, which installed ubuntu-desktop for the first time. Finally, I ran sudo reboot to reboot.



                                              When the computer finished rebooting, I was able to successfully log in at the login screen and return to using the computer normally.






                                              share|improve this answer




























                                                0












                                                0








                                                0







                                                Here’s what worked for me, on a Dell Precision M6800 laptop running Ubuntu 16.10:



                                                First, at the black screen with the cursor in the top-left (which wasn’t blinking in my case), I followed this answer and pressed Ctrl+Alt+F1 to show a terminal, and logged in with my username and password.



                                                That answer suggests running sudo service lightdm --full-restart, but the command only gave me an error. Instead, this answer’s solution of removing and reinstalling lightdm was what brought me forward. Note that a wired internet connection is required for the apt-get install part; wireless internet is apparently not set up yet at this stage in the boot process.



                                                sudo apt-get purge lightdm
                                                sudo apt-get update
                                                sudo apt-get install lightdm
                                                dpkg-reconfigure lightdm
                                                sudo reboot


                                                After this reboot, the login screen successfully showed, at the point in time where previously the one-line log message disappeared and the underline cursor appeared. But when I entered my correct password to log in, I only got the error “Failed to start session” in red text.



                                                The article ‘Fix “Failed To Start Session” At Login In Ubuntu 14.04’ helped with that. At the login screen with the error message, I pressed Ctrl+Alt+F1 again to show a terminal, and logged in. Then I ran sudo apt-get install ubuntu-desktop, which installed ubuntu-desktop for the first time. Finally, I ran sudo reboot to reboot.



                                                When the computer finished rebooting, I was able to successfully log in at the login screen and return to using the computer normally.






                                                share|improve this answer















                                                Here’s what worked for me, on a Dell Precision M6800 laptop running Ubuntu 16.10:



                                                First, at the black screen with the cursor in the top-left (which wasn’t blinking in my case), I followed this answer and pressed Ctrl+Alt+F1 to show a terminal, and logged in with my username and password.



                                                That answer suggests running sudo service lightdm --full-restart, but the command only gave me an error. Instead, this answer’s solution of removing and reinstalling lightdm was what brought me forward. Note that a wired internet connection is required for the apt-get install part; wireless internet is apparently not set up yet at this stage in the boot process.



                                                sudo apt-get purge lightdm
                                                sudo apt-get update
                                                sudo apt-get install lightdm
                                                dpkg-reconfigure lightdm
                                                sudo reboot


                                                After this reboot, the login screen successfully showed, at the point in time where previously the one-line log message disappeared and the underline cursor appeared. But when I entered my correct password to log in, I only got the error “Failed to start session” in red text.



                                                The article ‘Fix “Failed To Start Session” At Login In Ubuntu 14.04’ helped with that. At the login screen with the error message, I pressed Ctrl+Alt+F1 again to show a terminal, and logged in. Then I ran sudo apt-get install ubuntu-desktop, which installed ubuntu-desktop for the first time. Finally, I ran sudo reboot to reboot.



                                                When the computer finished rebooting, I was able to successfully log in at the login screen and return to using the computer normally.







                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited Apr 13 '17 at 12:24









                                                Community

                                                1




                                                1










                                                answered Feb 14 '17 at 22:01









                                                Rory O'KaneRory O'Kane

                                                17717




                                                17717























                                                    0














                                                    I was unable to switch to other TTYs as is recommended in other answers. I had a blinking cursor, but otherwise my system was unresponsive.



                                                    Root cause for me: Bad package upgrade (?improper shutdown?) left my system/dpkg in a broken state.



                                                    Detection: After using recovery mode to get to the root shell, I tried apt-get purge lightdm as per previous answers. This command failed, with a message: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



                                                    Fix:




                                                    1. Get to a root shell if you haven't already. You can do this by booting into 'recovery mode' from grub, and using the keyboard to select the root prompt option.

                                                    2. Run dpkg --configure -a.

                                                    3. If this was indeed your problem, it will resume some package installation that was not completed. For me, that was a kernel upgrade with an nvidia driver component.

                                                    4. Be patient. After it is completed, try reboot and see if it has fixed your problem.






                                                    share|improve this answer




























                                                      0














                                                      I was unable to switch to other TTYs as is recommended in other answers. I had a blinking cursor, but otherwise my system was unresponsive.



                                                      Root cause for me: Bad package upgrade (?improper shutdown?) left my system/dpkg in a broken state.



                                                      Detection: After using recovery mode to get to the root shell, I tried apt-get purge lightdm as per previous answers. This command failed, with a message: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



                                                      Fix:




                                                      1. Get to a root shell if you haven't already. You can do this by booting into 'recovery mode' from grub, and using the keyboard to select the root prompt option.

                                                      2. Run dpkg --configure -a.

                                                      3. If this was indeed your problem, it will resume some package installation that was not completed. For me, that was a kernel upgrade with an nvidia driver component.

                                                      4. Be patient. After it is completed, try reboot and see if it has fixed your problem.






                                                      share|improve this answer


























                                                        0












                                                        0








                                                        0







                                                        I was unable to switch to other TTYs as is recommended in other answers. I had a blinking cursor, but otherwise my system was unresponsive.



                                                        Root cause for me: Bad package upgrade (?improper shutdown?) left my system/dpkg in a broken state.



                                                        Detection: After using recovery mode to get to the root shell, I tried apt-get purge lightdm as per previous answers. This command failed, with a message: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



                                                        Fix:




                                                        1. Get to a root shell if you haven't already. You can do this by booting into 'recovery mode' from grub, and using the keyboard to select the root prompt option.

                                                        2. Run dpkg --configure -a.

                                                        3. If this was indeed your problem, it will resume some package installation that was not completed. For me, that was a kernel upgrade with an nvidia driver component.

                                                        4. Be patient. After it is completed, try reboot and see if it has fixed your problem.






                                                        share|improve this answer













                                                        I was unable to switch to other TTYs as is recommended in other answers. I had a blinking cursor, but otherwise my system was unresponsive.



                                                        Root cause for me: Bad package upgrade (?improper shutdown?) left my system/dpkg in a broken state.



                                                        Detection: After using recovery mode to get to the root shell, I tried apt-get purge lightdm as per previous answers. This command failed, with a message: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



                                                        Fix:




                                                        1. Get to a root shell if you haven't already. You can do this by booting into 'recovery mode' from grub, and using the keyboard to select the root prompt option.

                                                        2. Run dpkg --configure -a.

                                                        3. If this was indeed your problem, it will resume some package installation that was not completed. For me, that was a kernel upgrade with an nvidia driver component.

                                                        4. Be patient. After it is completed, try reboot and see if it has fixed your problem.







                                                        share|improve this answer












                                                        share|improve this answer



                                                        share|improve this answer










                                                        answered Mar 22 '17 at 10:55









                                                        64bit_twitchyliquid64bit_twitchyliquid

                                                        1011




                                                        1011






























                                                            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.




                                                            draft saved


                                                            draft discarded














                                                            StackExchange.ready(
                                                            function () {
                                                            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f297080%2fubuntu-open-to-black-screen-with-blinking-cursor-after-upgrading-from-12-10-to-1%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

                                                            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                                                            ComboBox Display Member on multiple fields

                                                            Is it possible to collect Nectar points via Trainline?