DISPLAY command on the command line












0















What does the command export DISPLAY=:0on terminal do ??



Is it possible to change the number from 0 to some other value..










share|improve this question





























    0















    What does the command export DISPLAY=:0on terminal do ??



    Is it possible to change the number from 0 to some other value..










    share|improve this question



























      0












      0








      0








      What does the command export DISPLAY=:0on terminal do ??



      Is it possible to change the number from 0 to some other value..










      share|improve this question
















      What does the command export DISPLAY=:0on terminal do ??



      Is it possible to change the number from 0 to some other value..







      12.04 command-line graphics xorg display






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 13 '14 at 16:11









      Avinash Raj

      52.5k41170219




      52.5k41170219










      asked Jan 13 '14 at 15:44









      SathishSathish

      76128




      76128






















          1 Answer
          1






          active

          oldest

          votes


















          0














          DISPLAY=:0.0 is "the first configured screen"



          DISPLAY=:0.1 is "the second configured screen"



          And the EXPORT actually sets the variable to that value. It is used to tell X server to show what is comming next on that display. Example: How to start a GUI software on a remote Linux PC via SSH



          And yes, technically it should be possible to run KDE on tty6 and Unity on tty7. I have done it before (as in 2010) but I saw a question a while back about how to set that up and I failed to find a correct answer on how to do this with Unity. It needs to be done with the LightDM config and I can find the setting to change the port it uses (so change tty7 to tty6) but have not seen how to use both at the same time.






          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%2f404878%2fdisplay-command-on-the-command-line%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            DISPLAY=:0.0 is "the first configured screen"



            DISPLAY=:0.1 is "the second configured screen"



            And the EXPORT actually sets the variable to that value. It is used to tell X server to show what is comming next on that display. Example: How to start a GUI software on a remote Linux PC via SSH



            And yes, technically it should be possible to run KDE on tty6 and Unity on tty7. I have done it before (as in 2010) but I saw a question a while back about how to set that up and I failed to find a correct answer on how to do this with Unity. It needs to be done with the LightDM config and I can find the setting to change the port it uses (so change tty7 to tty6) but have not seen how to use both at the same time.






            share|improve this answer






























              0














              DISPLAY=:0.0 is "the first configured screen"



              DISPLAY=:0.1 is "the second configured screen"



              And the EXPORT actually sets the variable to that value. It is used to tell X server to show what is comming next on that display. Example: How to start a GUI software on a remote Linux PC via SSH



              And yes, technically it should be possible to run KDE on tty6 and Unity on tty7. I have done it before (as in 2010) but I saw a question a while back about how to set that up and I failed to find a correct answer on how to do this with Unity. It needs to be done with the LightDM config and I can find the setting to change the port it uses (so change tty7 to tty6) but have not seen how to use both at the same time.






              share|improve this answer




























                0












                0








                0







                DISPLAY=:0.0 is "the first configured screen"



                DISPLAY=:0.1 is "the second configured screen"



                And the EXPORT actually sets the variable to that value. It is used to tell X server to show what is comming next on that display. Example: How to start a GUI software on a remote Linux PC via SSH



                And yes, technically it should be possible to run KDE on tty6 and Unity on tty7. I have done it before (as in 2010) but I saw a question a while back about how to set that up and I failed to find a correct answer on how to do this with Unity. It needs to be done with the LightDM config and I can find the setting to change the port it uses (so change tty7 to tty6) but have not seen how to use both at the same time.






                share|improve this answer















                DISPLAY=:0.0 is "the first configured screen"



                DISPLAY=:0.1 is "the second configured screen"



                And the EXPORT actually sets the variable to that value. It is used to tell X server to show what is comming next on that display. Example: How to start a GUI software on a remote Linux PC via SSH



                And yes, technically it should be possible to run KDE on tty6 and Unity on tty7. I have done it before (as in 2010) but I saw a question a while back about how to set that up and I failed to find a correct answer on how to do this with Unity. It needs to be done with the LightDM config and I can find the setting to change the port it uses (so change tty7 to tty6) but have not seen how to use both at the same time.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 13 '17 at 12:24









                Community

                1




                1










                answered Jan 13 '14 at 16:10









                RinzwindRinzwind

                208k28400534




                208k28400534






























                    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%2f404878%2fdisplay-command-on-the-command-line%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

                    Category:香港粉麵

                    List *all* the tuples!

                    Channel [V]