Kubuntu 18.04 boots in single_cmd mode (after installing netcdf4 — not necessarily related)












0















I have a dual boot Kubuntu 18.04/Windows 10 on my Dell XPS 13, currently typing from my Windows partition. It can't boot the Kubuntu partition anymore. I have been using Kubuntu 18.04 for some time now, this doesn't seem to be an upgrade issue from 17.10 like I've seen elsewhere. I have been a (K)Ubuntu user for multiple years but I'm not a pro.



An hour ago, I was unable to open up Dolphin (file explorer), the icon just appeared in the tray and then disappeared again. I decided to try to log out and back in, but when I clicked log out nothing happened. I decided to try to reboot, but when I clicked reboot nothing happened. Eventually, I decided to force my laptop off by holding down the power button 10 seconds (what most likely caused the problem). Now, I see the grub2 menu, and if I try to boot Kubuntu, I see the logo appear for a couple seconds, then it goes in single command mode. Here's what it looks like, the first lines are not always there (sometimes it starts at "Ubuntu 18.04.1 LTS ..."). I can login, but it doesn't seem to be able to access the internet (Edit: I am indeed able to access to the internet -- I managed to ssh into a remote server). I type reboot and it does the same thing again.



Here's another possible cause: I was on Kubuntu doing some C++ assignments for school. I decided to try installing netCDF4 to test something out, and so I used this shell script. It ran and gave me some errors and warnings, but when running "make check" afterwards, it said every test were successful. It's immediately after that that my troubles (described above) began.



I've tried a couple of fixes here and there that didn't seem too invasive but nothing worked. I have a working bootable USB if needed.



Edit: one thing I have tried is to run "startx" from that terminal, because everyone suggests that. When I do it, it just does nothing for a long time, then "xauth: timeout in locking authority file /home/username/.Xauthority", then "/usr/lib/xorg/Xorg: /usr/local/lib/libz.so.1: version '2LIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)" then "xinit: giving up", "xinit: unable to connect to X server: Connection refused", "xinit: server error".



Edit 2: Time was sort of of the essence so I backed up my files and did a fresh install. I'm leaving this as unsolved because it truly is unsolved, but I won't be able to test any offered solution. Leaving it up just so that people know this problem exists.



Thanks in advance for any help.










share|improve this question





























    0















    I have a dual boot Kubuntu 18.04/Windows 10 on my Dell XPS 13, currently typing from my Windows partition. It can't boot the Kubuntu partition anymore. I have been using Kubuntu 18.04 for some time now, this doesn't seem to be an upgrade issue from 17.10 like I've seen elsewhere. I have been a (K)Ubuntu user for multiple years but I'm not a pro.



    An hour ago, I was unable to open up Dolphin (file explorer), the icon just appeared in the tray and then disappeared again. I decided to try to log out and back in, but when I clicked log out nothing happened. I decided to try to reboot, but when I clicked reboot nothing happened. Eventually, I decided to force my laptop off by holding down the power button 10 seconds (what most likely caused the problem). Now, I see the grub2 menu, and if I try to boot Kubuntu, I see the logo appear for a couple seconds, then it goes in single command mode. Here's what it looks like, the first lines are not always there (sometimes it starts at "Ubuntu 18.04.1 LTS ..."). I can login, but it doesn't seem to be able to access the internet (Edit: I am indeed able to access to the internet -- I managed to ssh into a remote server). I type reboot and it does the same thing again.



    Here's another possible cause: I was on Kubuntu doing some C++ assignments for school. I decided to try installing netCDF4 to test something out, and so I used this shell script. It ran and gave me some errors and warnings, but when running "make check" afterwards, it said every test were successful. It's immediately after that that my troubles (described above) began.



    I've tried a couple of fixes here and there that didn't seem too invasive but nothing worked. I have a working bootable USB if needed.



    Edit: one thing I have tried is to run "startx" from that terminal, because everyone suggests that. When I do it, it just does nothing for a long time, then "xauth: timeout in locking authority file /home/username/.Xauthority", then "/usr/lib/xorg/Xorg: /usr/local/lib/libz.so.1: version '2LIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)" then "xinit: giving up", "xinit: unable to connect to X server: Connection refused", "xinit: server error".



    Edit 2: Time was sort of of the essence so I backed up my files and did a fresh install. I'm leaving this as unsolved because it truly is unsolved, but I won't be able to test any offered solution. Leaving it up just so that people know this problem exists.



    Thanks in advance for any help.










    share|improve this question



























      0












      0








      0








      I have a dual boot Kubuntu 18.04/Windows 10 on my Dell XPS 13, currently typing from my Windows partition. It can't boot the Kubuntu partition anymore. I have been using Kubuntu 18.04 for some time now, this doesn't seem to be an upgrade issue from 17.10 like I've seen elsewhere. I have been a (K)Ubuntu user for multiple years but I'm not a pro.



      An hour ago, I was unable to open up Dolphin (file explorer), the icon just appeared in the tray and then disappeared again. I decided to try to log out and back in, but when I clicked log out nothing happened. I decided to try to reboot, but when I clicked reboot nothing happened. Eventually, I decided to force my laptop off by holding down the power button 10 seconds (what most likely caused the problem). Now, I see the grub2 menu, and if I try to boot Kubuntu, I see the logo appear for a couple seconds, then it goes in single command mode. Here's what it looks like, the first lines are not always there (sometimes it starts at "Ubuntu 18.04.1 LTS ..."). I can login, but it doesn't seem to be able to access the internet (Edit: I am indeed able to access to the internet -- I managed to ssh into a remote server). I type reboot and it does the same thing again.



      Here's another possible cause: I was on Kubuntu doing some C++ assignments for school. I decided to try installing netCDF4 to test something out, and so I used this shell script. It ran and gave me some errors and warnings, but when running "make check" afterwards, it said every test were successful. It's immediately after that that my troubles (described above) began.



      I've tried a couple of fixes here and there that didn't seem too invasive but nothing worked. I have a working bootable USB if needed.



      Edit: one thing I have tried is to run "startx" from that terminal, because everyone suggests that. When I do it, it just does nothing for a long time, then "xauth: timeout in locking authority file /home/username/.Xauthority", then "/usr/lib/xorg/Xorg: /usr/local/lib/libz.so.1: version '2LIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)" then "xinit: giving up", "xinit: unable to connect to X server: Connection refused", "xinit: server error".



      Edit 2: Time was sort of of the essence so I backed up my files and did a fresh install. I'm leaving this as unsolved because it truly is unsolved, but I won't be able to test any offered solution. Leaving it up just so that people know this problem exists.



      Thanks in advance for any help.










      share|improve this question
















      I have a dual boot Kubuntu 18.04/Windows 10 on my Dell XPS 13, currently typing from my Windows partition. It can't boot the Kubuntu partition anymore. I have been using Kubuntu 18.04 for some time now, this doesn't seem to be an upgrade issue from 17.10 like I've seen elsewhere. I have been a (K)Ubuntu user for multiple years but I'm not a pro.



      An hour ago, I was unable to open up Dolphin (file explorer), the icon just appeared in the tray and then disappeared again. I decided to try to log out and back in, but when I clicked log out nothing happened. I decided to try to reboot, but when I clicked reboot nothing happened. Eventually, I decided to force my laptop off by holding down the power button 10 seconds (what most likely caused the problem). Now, I see the grub2 menu, and if I try to boot Kubuntu, I see the logo appear for a couple seconds, then it goes in single command mode. Here's what it looks like, the first lines are not always there (sometimes it starts at "Ubuntu 18.04.1 LTS ..."). I can login, but it doesn't seem to be able to access the internet (Edit: I am indeed able to access to the internet -- I managed to ssh into a remote server). I type reboot and it does the same thing again.



      Here's another possible cause: I was on Kubuntu doing some C++ assignments for school. I decided to try installing netCDF4 to test something out, and so I used this shell script. It ran and gave me some errors and warnings, but when running "make check" afterwards, it said every test were successful. It's immediately after that that my troubles (described above) began.



      I've tried a couple of fixes here and there that didn't seem too invasive but nothing worked. I have a working bootable USB if needed.



      Edit: one thing I have tried is to run "startx" from that terminal, because everyone suggests that. When I do it, it just does nothing for a long time, then "xauth: timeout in locking authority file /home/username/.Xauthority", then "/usr/lib/xorg/Xorg: /usr/local/lib/libz.so.1: version '2LIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)" then "xinit: giving up", "xinit: unable to connect to X server: Connection refused", "xinit: server error".



      Edit 2: Time was sort of of the essence so I backed up my files and did a fresh install. I'm leaving this as unsolved because it truly is unsolved, but I won't be able to test any offered solution. Leaving it up just so that people know this problem exists.



      Thanks in advance for any help.







      boot 18.04 kubuntu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 31 at 1:40







      n17182559

















      asked Jan 30 at 21:16









      n17182559n17182559

      12




      12






















          0






          active

          oldest

          votes











          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%2f1114226%2fkubuntu-18-04-boots-in-single-cmd-mode-after-installing-netcdf4-not-necessar%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1114226%2fkubuntu-18-04-boots-in-single-cmd-mode-after-installing-netcdf4-not-necessar%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

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀