Ubuntu 18.04 login screen Display settings











up vote
8
down vote

favorite
2












On Ubuntu 18.04, I have connected my laptop to an external display and I am able to set the external display as primary and external display only mode. But when I turn on my laptop or log out from my session the display login screen is displayed only on my(internal) laptop screen. But once I login the display switches to external only and my laptop screen turns off as expected.



Is there a way I can make the login screen appear only on the external screen on bootup or on logout as in 16.04? also the login screen does not follow my cursor as in 16.04.










share|improve this question




























    up vote
    8
    down vote

    favorite
    2












    On Ubuntu 18.04, I have connected my laptop to an external display and I am able to set the external display as primary and external display only mode. But when I turn on my laptop or log out from my session the display login screen is displayed only on my(internal) laptop screen. But once I login the display switches to external only and my laptop screen turns off as expected.



    Is there a way I can make the login screen appear only on the external screen on bootup or on logout as in 16.04? also the login screen does not follow my cursor as in 16.04.










    share|improve this question


























      up vote
      8
      down vote

      favorite
      2









      up vote
      8
      down vote

      favorite
      2






      2





      On Ubuntu 18.04, I have connected my laptop to an external display and I am able to set the external display as primary and external display only mode. But when I turn on my laptop or log out from my session the display login screen is displayed only on my(internal) laptop screen. But once I login the display switches to external only and my laptop screen turns off as expected.



      Is there a way I can make the login screen appear only on the external screen on bootup or on logout as in 16.04? also the login screen does not follow my cursor as in 16.04.










      share|improve this question















      On Ubuntu 18.04, I have connected my laptop to an external display and I am able to set the external display as primary and external display only mode. But when I turn on my laptop or log out from my session the display login screen is displayed only on my(internal) laptop screen. But once I login the display switches to external only and my laptop screen turns off as expected.



      Is there a way I can make the login screen appear only on the external screen on bootup or on logout as in 16.04? also the login screen does not follow my cursor as in 16.04.







      multiple-monitors 18.04 gdm






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 5 at 2:18









      Damian T.

      1005




      1005










      asked Jun 4 at 0:54









      Aravind

      9117




      9117






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          9
          down vote













          This is a known and reported bug with gdm3. The current workaround appears to be:




          1. Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.

          2. Copy your user's monitors.xml file into the home folder for gdm user.


          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          Then, reboot and see if your changes persist. If this doesn't work, try going through the whole process again. It took me two times in order to get it to stick. I was also able to reboot with my external display disconnected and it switched back to my internal laptop display. I rebooted again and reconnected it and it switches back to my external monitor.



          Hope this helps!






          share|improve this answer





















          • Thank you for your suggestion. For some reason it’s not sticking to the external display on boot up, tried about 4 times. Will wait for the bug to be resolved.
            – Aravind
            Jun 5 at 1:27












          • It works for me.
            – jdthood
            Oct 17 at 7:24


















          up vote
          5
          down vote



          accepted










          This Solved my Isuue:



          Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.



          Copy your user's monitors.xml file into the home folder for gdm user.



          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          And in the /etc/gdm3/custom.conf uncomment
          WaylandEnable=false






          share|improve this answer



















          • 2




            How is this answer different from Damian T.'s answer?
            – Kennet Celeste
            Oct 29 at 15:40


















          up vote
          3
          down vote













          I too have an external monitor. This worked for me:




          • Set your display mode as desired using Settings > Devices > Displays


          • Open a terminal window by holding down Ctrl + Alt + T and then type:



            sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config



          • Hit Enter and then reboot the computer







          share|improve this answer

















          • 1




            This was the only answer that worked for me on Ubuntu 18... this folder actually exists unlike /home/gdm
            – finsbury
            Oct 20 at 15:05










          • This should be the accepted answer. Least invasive solution! Worked for my Thinkpad on 18.04 .
            – Aamir
            Nov 26 at 19:45











          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: 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%2f1043337%2fubuntu-18-04-login-screen-display-settings%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          3 Answers
          3






          active

          oldest

          votes








          3 Answers
          3






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          9
          down vote













          This is a known and reported bug with gdm3. The current workaround appears to be:




          1. Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.

          2. Copy your user's monitors.xml file into the home folder for gdm user.


          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          Then, reboot and see if your changes persist. If this doesn't work, try going through the whole process again. It took me two times in order to get it to stick. I was also able to reboot with my external display disconnected and it switched back to my internal laptop display. I rebooted again and reconnected it and it switches back to my external monitor.



          Hope this helps!






          share|improve this answer





















          • Thank you for your suggestion. For some reason it’s not sticking to the external display on boot up, tried about 4 times. Will wait for the bug to be resolved.
            – Aravind
            Jun 5 at 1:27












          • It works for me.
            – jdthood
            Oct 17 at 7:24















          up vote
          9
          down vote













          This is a known and reported bug with gdm3. The current workaround appears to be:




          1. Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.

          2. Copy your user's monitors.xml file into the home folder for gdm user.


          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          Then, reboot and see if your changes persist. If this doesn't work, try going through the whole process again. It took me two times in order to get it to stick. I was also able to reboot with my external display disconnected and it switched back to my internal laptop display. I rebooted again and reconnected it and it switches back to my external monitor.



          Hope this helps!






          share|improve this answer





















          • Thank you for your suggestion. For some reason it’s not sticking to the external display on boot up, tried about 4 times. Will wait for the bug to be resolved.
            – Aravind
            Jun 5 at 1:27












          • It works for me.
            – jdthood
            Oct 17 at 7:24













          up vote
          9
          down vote










          up vote
          9
          down vote









          This is a known and reported bug with gdm3. The current workaround appears to be:




          1. Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.

          2. Copy your user's monitors.xml file into the home folder for gdm user.


          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          Then, reboot and see if your changes persist. If this doesn't work, try going through the whole process again. It took me two times in order to get it to stick. I was also able to reboot with my external display disconnected and it switched back to my internal laptop display. I rebooted again and reconnected it and it switches back to my external monitor.



          Hope this helps!






          share|improve this answer












          This is a known and reported bug with gdm3. The current workaround appears to be:




          1. Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.

          2. Copy your user's monitors.xml file into the home folder for gdm user.


          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          Then, reboot and see if your changes persist. If this doesn't work, try going through the whole process again. It took me two times in order to get it to stick. I was also able to reboot with my external display disconnected and it switched back to my internal laptop display. I rebooted again and reconnected it and it switches back to my external monitor.



          Hope this helps!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 4 at 21:18









          Damian T.

          1005




          1005












          • Thank you for your suggestion. For some reason it’s not sticking to the external display on boot up, tried about 4 times. Will wait for the bug to be resolved.
            – Aravind
            Jun 5 at 1:27












          • It works for me.
            – jdthood
            Oct 17 at 7:24


















          • Thank you for your suggestion. For some reason it’s not sticking to the external display on boot up, tried about 4 times. Will wait for the bug to be resolved.
            – Aravind
            Jun 5 at 1:27












          • It works for me.
            – jdthood
            Oct 17 at 7:24
















          Thank you for your suggestion. For some reason it’s not sticking to the external display on boot up, tried about 4 times. Will wait for the bug to be resolved.
          – Aravind
          Jun 5 at 1:27






          Thank you for your suggestion. For some reason it’s not sticking to the external display on boot up, tried about 4 times. Will wait for the bug to be resolved.
          – Aravind
          Jun 5 at 1:27














          It works for me.
          – jdthood
          Oct 17 at 7:24




          It works for me.
          – jdthood
          Oct 17 at 7:24












          up vote
          5
          down vote



          accepted










          This Solved my Isuue:



          Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.



          Copy your user's monitors.xml file into the home folder for gdm user.



          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          And in the /etc/gdm3/custom.conf uncomment
          WaylandEnable=false






          share|improve this answer



















          • 2




            How is this answer different from Damian T.'s answer?
            – Kennet Celeste
            Oct 29 at 15:40















          up vote
          5
          down vote



          accepted










          This Solved my Isuue:



          Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.



          Copy your user's monitors.xml file into the home folder for gdm user.



          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          And in the /etc/gdm3/custom.conf uncomment
          WaylandEnable=false






          share|improve this answer



















          • 2




            How is this answer different from Damian T.'s answer?
            – Kennet Celeste
            Oct 29 at 15:40













          up vote
          5
          down vote



          accepted







          up vote
          5
          down vote



          accepted






          This Solved my Isuue:



          Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.



          Copy your user's monitors.xml file into the home folder for gdm user.



          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          And in the /etc/gdm3/custom.conf uncomment
          WaylandEnable=false






          share|improve this answer














          This Solved my Isuue:



          Go into Settings > Devices > Displays and configure your monitors the way you want for your login screen (in your case, internal laptop display disabled). Click the "Save" button when done.



          Copy your user's monitors.xml file into the home folder for gdm user.



          To copy the monitors.xml file, open a terminal and perform the following:



          sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
          sudo chown gdm:gdm ~gdm/.config/monitors.xml


          And in the /etc/gdm3/custom.conf uncomment
          WaylandEnable=false







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 17 at 7:20









          jdthood

          10.3k14161




          10.3k14161










          answered Jun 23 at 0:01









          Aravind

          9117




          9117








          • 2




            How is this answer different from Damian T.'s answer?
            – Kennet Celeste
            Oct 29 at 15:40














          • 2




            How is this answer different from Damian T.'s answer?
            – Kennet Celeste
            Oct 29 at 15:40








          2




          2




          How is this answer different from Damian T.'s answer?
          – Kennet Celeste
          Oct 29 at 15:40




          How is this answer different from Damian T.'s answer?
          – Kennet Celeste
          Oct 29 at 15:40










          up vote
          3
          down vote













          I too have an external monitor. This worked for me:




          • Set your display mode as desired using Settings > Devices > Displays


          • Open a terminal window by holding down Ctrl + Alt + T and then type:



            sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config



          • Hit Enter and then reboot the computer







          share|improve this answer

















          • 1




            This was the only answer that worked for me on Ubuntu 18... this folder actually exists unlike /home/gdm
            – finsbury
            Oct 20 at 15:05










          • This should be the accepted answer. Least invasive solution! Worked for my Thinkpad on 18.04 .
            – Aamir
            Nov 26 at 19:45















          up vote
          3
          down vote













          I too have an external monitor. This worked for me:




          • Set your display mode as desired using Settings > Devices > Displays


          • Open a terminal window by holding down Ctrl + Alt + T and then type:



            sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config



          • Hit Enter and then reboot the computer







          share|improve this answer

















          • 1




            This was the only answer that worked for me on Ubuntu 18... this folder actually exists unlike /home/gdm
            – finsbury
            Oct 20 at 15:05










          • This should be the accepted answer. Least invasive solution! Worked for my Thinkpad on 18.04 .
            – Aamir
            Nov 26 at 19:45













          up vote
          3
          down vote










          up vote
          3
          down vote









          I too have an external monitor. This worked for me:




          • Set your display mode as desired using Settings > Devices > Displays


          • Open a terminal window by holding down Ctrl + Alt + T and then type:



            sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config



          • Hit Enter and then reboot the computer







          share|improve this answer












          I too have an external monitor. This worked for me:




          • Set your display mode as desired using Settings > Devices > Displays


          • Open a terminal window by holding down Ctrl + Alt + T and then type:



            sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config



          • Hit Enter and then reboot the computer








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 9 at 10:27









          J D

          312




          312








          • 1




            This was the only answer that worked for me on Ubuntu 18... this folder actually exists unlike /home/gdm
            – finsbury
            Oct 20 at 15:05










          • This should be the accepted answer. Least invasive solution! Worked for my Thinkpad on 18.04 .
            – Aamir
            Nov 26 at 19:45














          • 1




            This was the only answer that worked for me on Ubuntu 18... this folder actually exists unlike /home/gdm
            – finsbury
            Oct 20 at 15:05










          • This should be the accepted answer. Least invasive solution! Worked for my Thinkpad on 18.04 .
            – Aamir
            Nov 26 at 19:45








          1




          1




          This was the only answer that worked for me on Ubuntu 18... this folder actually exists unlike /home/gdm
          – finsbury
          Oct 20 at 15:05




          This was the only answer that worked for me on Ubuntu 18... this folder actually exists unlike /home/gdm
          – finsbury
          Oct 20 at 15:05












          This should be the accepted answer. Least invasive solution! Worked for my Thinkpad on 18.04 .
          – Aamir
          Nov 26 at 19:45




          This should be the accepted answer. Least invasive solution! Worked for my Thinkpad on 18.04 .
          – Aamir
          Nov 26 at 19:45


















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f1043337%2fubuntu-18-04-login-screen-display-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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕