Black screen after installing XDM on ubuntu… and I lost all of my settings












3















I'm on Ubuntu 17.04 and I recently installed the xdm package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:



Welcome to Ubuntu
login:
password:


After logging in using this black screen, I tried this command:



unity --reset


The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.



What should I do?



Is there a way to fix this problem without removing nvidia? like:



sudo apt-get remove nvidia-*


I also tried these commends:



sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity


Nothing happened!



If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).










share|improve this question

























  • Try export DISPLAY:=0 unity --replace to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question

    – Redbob
    Sep 13 '17 at 15:18











  • for this commend: export DISPLAY:=0 unity --replace ...terminal says: bash: export: 'DISPLAY:=0': not a valid identifier bash: export: '--replace': not a valid identifier

    – Sss
    Sep 13 '17 at 15:23













  • I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.

    – David Foerster
    Sep 15 '17 at 1:15


















3















I'm on Ubuntu 17.04 and I recently installed the xdm package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:



Welcome to Ubuntu
login:
password:


After logging in using this black screen, I tried this command:



unity --reset


The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.



What should I do?



Is there a way to fix this problem without removing nvidia? like:



sudo apt-get remove nvidia-*


I also tried these commends:



sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity


Nothing happened!



If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).










share|improve this question

























  • Try export DISPLAY:=0 unity --replace to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question

    – Redbob
    Sep 13 '17 at 15:18











  • for this commend: export DISPLAY:=0 unity --replace ...terminal says: bash: export: 'DISPLAY:=0': not a valid identifier bash: export: '--replace': not a valid identifier

    – Sss
    Sep 13 '17 at 15:23













  • I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.

    – David Foerster
    Sep 15 '17 at 1:15
















3












3








3








I'm on Ubuntu 17.04 and I recently installed the xdm package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:



Welcome to Ubuntu
login:
password:


After logging in using this black screen, I tried this command:



unity --reset


The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.



What should I do?



Is there a way to fix this problem without removing nvidia? like:



sudo apt-get remove nvidia-*


I also tried these commends:



sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity


Nothing happened!



If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).










share|improve this question
















I'm on Ubuntu 17.04 and I recently installed the xdm package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:



Welcome to Ubuntu
login:
password:


After logging in using this black screen, I tried this command:



unity --reset


The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.



What should I do?



Is there a way to fix this problem without removing nvidia? like:



sudo apt-get remove nvidia-*


I also tried these commends:



sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity


Nothing happened!



If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).







boot display-manager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 15 '17 at 15:56









terdon

65.5k12138220




65.5k12138220










asked Sep 13 '17 at 15:00









SssSss

6334822




6334822













  • Try export DISPLAY:=0 unity --replace to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question

    – Redbob
    Sep 13 '17 at 15:18











  • for this commend: export DISPLAY:=0 unity --replace ...terminal says: bash: export: 'DISPLAY:=0': not a valid identifier bash: export: '--replace': not a valid identifier

    – Sss
    Sep 13 '17 at 15:23













  • I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.

    – David Foerster
    Sep 15 '17 at 1:15





















  • Try export DISPLAY:=0 unity --replace to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question

    – Redbob
    Sep 13 '17 at 15:18











  • for this commend: export DISPLAY:=0 unity --replace ...terminal says: bash: export: 'DISPLAY:=0': not a valid identifier bash: export: '--replace': not a valid identifier

    – Sss
    Sep 13 '17 at 15:23













  • I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.

    – David Foerster
    Sep 15 '17 at 1:15



















Try export DISPLAY:=0 unity --replace to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question

– Redbob
Sep 13 '17 at 15:18





Try export DISPLAY:=0 unity --replace to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question

– Redbob
Sep 13 '17 at 15:18













for this commend: export DISPLAY:=0 unity --replace ...terminal says: bash: export: 'DISPLAY:=0': not a valid identifier bash: export: '--replace': not a valid identifier

– Sss
Sep 13 '17 at 15:23







for this commend: export DISPLAY:=0 unity --replace ...terminal says: bash: export: 'DISPLAY:=0': not a valid identifier bash: export: '--replace': not a valid identifier

– Sss
Sep 13 '17 at 15:23















I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.

– David Foerster
Sep 15 '17 at 1:15







I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.

– David Foerster
Sep 15 '17 at 1:15












2 Answers
2






active

oldest

votes


















4














So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.



You can set a different default display manager with



sudo dpkg-reconfigure [package]


where [package] is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm.



You can also remove the accidentally installed display manager:



sudo apt remove xdm


This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).






share|improve this answer































    0














    Found the solution... I needed to change XDM to LightDM or to gdm3.



    I solved this by running these commands:



    sudo apt-get install gdm3


    To install gdm3 and choose gdm3 to replace XDM



    Or:



    sudo dpkg-reconfigure lightdm


    To replace XDM with Lightdm






    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%2f955486%2fblack-screen-after-installing-xdm-on-ubuntu-and-i-lost-all-of-my-settings%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4














      So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.



      You can set a different default display manager with



      sudo dpkg-reconfigure [package]


      where [package] is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm.



      You can also remove the accidentally installed display manager:



      sudo apt remove xdm


      This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).






      share|improve this answer




























        4














        So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.



        You can set a different default display manager with



        sudo dpkg-reconfigure [package]


        where [package] is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm.



        You can also remove the accidentally installed display manager:



        sudo apt remove xdm


        This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).






        share|improve this answer


























          4












          4








          4







          So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.



          You can set a different default display manager with



          sudo dpkg-reconfigure [package]


          where [package] is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm.



          You can also remove the accidentally installed display manager:



          sudo apt remove xdm


          This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).






          share|improve this answer













          So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.



          You can set a different default display manager with



          sudo dpkg-reconfigure [package]


          where [package] is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm.



          You can also remove the accidentally installed display manager:



          sudo apt remove xdm


          This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 15 '17 at 17:11









          David FoersterDavid Foerster

          28k1365111




          28k1365111

























              0














              Found the solution... I needed to change XDM to LightDM or to gdm3.



              I solved this by running these commands:



              sudo apt-get install gdm3


              To install gdm3 and choose gdm3 to replace XDM



              Or:



              sudo dpkg-reconfigure lightdm


              To replace XDM with Lightdm






              share|improve this answer






























                0














                Found the solution... I needed to change XDM to LightDM or to gdm3.



                I solved this by running these commands:



                sudo apt-get install gdm3


                To install gdm3 and choose gdm3 to replace XDM



                Or:



                sudo dpkg-reconfigure lightdm


                To replace XDM with Lightdm






                share|improve this answer




























                  0












                  0








                  0







                  Found the solution... I needed to change XDM to LightDM or to gdm3.



                  I solved this by running these commands:



                  sudo apt-get install gdm3


                  To install gdm3 and choose gdm3 to replace XDM



                  Or:



                  sudo dpkg-reconfigure lightdm


                  To replace XDM with Lightdm






                  share|improve this answer















                  Found the solution... I needed to change XDM to LightDM or to gdm3.



                  I solved this by running these commands:



                  sudo apt-get install gdm3


                  To install gdm3 and choose gdm3 to replace XDM



                  Or:



                  sudo dpkg-reconfigure lightdm


                  To replace XDM with Lightdm







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Sep 15 '17 at 15:25









                  Zanna

                  50.6k13135241




                  50.6k13135241










                  answered Sep 13 '17 at 22:18









                  SssSss

                  6334822




                  6334822






























                      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%2f955486%2fblack-screen-after-installing-xdm-on-ubuntu-and-i-lost-all-of-my-settings%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?