How to install GUI desktop on a server?











up vote
33
down vote

favorite
11












After installing Ubuntu server how do I install the desktop environment?










share|improve this question




























    up vote
    33
    down vote

    favorite
    11












    After installing Ubuntu server how do I install the desktop environment?










    share|improve this question


























      up vote
      33
      down vote

      favorite
      11









      up vote
      33
      down vote

      favorite
      11






      11





      After installing Ubuntu server how do I install the desktop environment?










      share|improve this question















      After installing Ubuntu server how do I install the desktop environment?







      system-installation package-management






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 3 '14 at 16:24









      Tim

      19.5k1483138




      19.5k1483138










      asked Aug 12 '10 at 21:33









      John K

      5903923




      5903923






















          4 Answers
          4






          active

          oldest

          votes

















          up vote
          39
          down vote



          accepted










          Depending on which desktop you wish to install, you install the the meta-package that installs all the necessary packages. You can use apt-get or aptitude to do this.



          sudo apt-get install ubuntu-desktop


          installs the Unity desktop



          sudo aptitude install kubuntu-desktop


          would install the KDE desktop



          Other desktop meta-packages are xubuntu-desktop, ubuntu-gnome-desktop, lubuntu-desktop, and edubuntu-desktop .






          share|improve this answer



















          • 3




            For onlookers, here's additional info I found useful that's on the same wavelength as the answer - ubuntugeek.com/install-gui-in-ubuntu-server.html
            – John K
            Aug 13 '10 at 3:30


















          up vote
          34
          down vote













          If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command



          sudo aptitude install --without-recommends ubuntu-desktop





          share|improve this answer



















          • 3




            dam... started the install from the answer and scrolled down to this. :(
            – Meirion Hughes
            Jun 11 '14 at 8:29










          • my version of aptitude doesn't have that option. It does have --without-recommends
            – JHowIX
            Feb 3 '16 at 17:09










          • @JHowIX try using apt-get instead, that one worked for me.
            – AZhu
            Feb 6 '16 at 3:53






          • 4




            sudo apt-get install --no-install-recommends ubuntu-desktop or sudo aptitude install --without-recommends ubuntu-desktop
            – Hover Ruan
            Apr 21 '16 at 2:31




















          up vote
          9
          down vote













          sudo apt-get install ubuntu-desktop





          share|improve this answer




























            up vote
            7
            down vote













            If you just need to run virtual GUI (GUI exsists but you dont need to see it) on the computer for testing or other purposes.



            sudo apt-get install xvnc4viewer



            Is a setup I have.



            :)






            share|improve this answer



















            • 2




              So, the server isn't running the desktop, but you can still VNC from a client machine and get a desktop? That would be perfect for my needs (dunno about the OP).
              – Scaine
              Oct 16 '10 at 8:34










            • yeah you see a graphical shell.
              – Matt H
              May 8 '14 at 3:42











            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%2f2093%2fhow-to-install-gui-desktop-on-a-server%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            4 Answers
            4






            active

            oldest

            votes








            4 Answers
            4






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            39
            down vote



            accepted










            Depending on which desktop you wish to install, you install the the meta-package that installs all the necessary packages. You can use apt-get or aptitude to do this.



            sudo apt-get install ubuntu-desktop


            installs the Unity desktop



            sudo aptitude install kubuntu-desktop


            would install the KDE desktop



            Other desktop meta-packages are xubuntu-desktop, ubuntu-gnome-desktop, lubuntu-desktop, and edubuntu-desktop .






            share|improve this answer



















            • 3




              For onlookers, here's additional info I found useful that's on the same wavelength as the answer - ubuntugeek.com/install-gui-in-ubuntu-server.html
              – John K
              Aug 13 '10 at 3:30















            up vote
            39
            down vote



            accepted










            Depending on which desktop you wish to install, you install the the meta-package that installs all the necessary packages. You can use apt-get or aptitude to do this.



            sudo apt-get install ubuntu-desktop


            installs the Unity desktop



            sudo aptitude install kubuntu-desktop


            would install the KDE desktop



            Other desktop meta-packages are xubuntu-desktop, ubuntu-gnome-desktop, lubuntu-desktop, and edubuntu-desktop .






            share|improve this answer



















            • 3




              For onlookers, here's additional info I found useful that's on the same wavelength as the answer - ubuntugeek.com/install-gui-in-ubuntu-server.html
              – John K
              Aug 13 '10 at 3:30













            up vote
            39
            down vote



            accepted







            up vote
            39
            down vote



            accepted






            Depending on which desktop you wish to install, you install the the meta-package that installs all the necessary packages. You can use apt-get or aptitude to do this.



            sudo apt-get install ubuntu-desktop


            installs the Unity desktop



            sudo aptitude install kubuntu-desktop


            would install the KDE desktop



            Other desktop meta-packages are xubuntu-desktop, ubuntu-gnome-desktop, lubuntu-desktop, and edubuntu-desktop .






            share|improve this answer














            Depending on which desktop you wish to install, you install the the meta-package that installs all the necessary packages. You can use apt-get or aptitude to do this.



            sudo apt-get install ubuntu-desktop


            installs the Unity desktop



            sudo aptitude install kubuntu-desktop


            would install the KDE desktop



            Other desktop meta-packages are xubuntu-desktop, ubuntu-gnome-desktop, lubuntu-desktop, and edubuntu-desktop .







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 19 '15 at 19:16









            muru

            134k19286485




            134k19286485










            answered Aug 12 '10 at 21:43









            txwikinger

            19.1k86592




            19.1k86592








            • 3




              For onlookers, here's additional info I found useful that's on the same wavelength as the answer - ubuntugeek.com/install-gui-in-ubuntu-server.html
              – John K
              Aug 13 '10 at 3:30














            • 3




              For onlookers, here's additional info I found useful that's on the same wavelength as the answer - ubuntugeek.com/install-gui-in-ubuntu-server.html
              – John K
              Aug 13 '10 at 3:30








            3




            3




            For onlookers, here's additional info I found useful that's on the same wavelength as the answer - ubuntugeek.com/install-gui-in-ubuntu-server.html
            – John K
            Aug 13 '10 at 3:30




            For onlookers, here's additional info I found useful that's on the same wavelength as the answer - ubuntugeek.com/install-gui-in-ubuntu-server.html
            – John K
            Aug 13 '10 at 3:30












            up vote
            34
            down vote













            If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command



            sudo aptitude install --without-recommends ubuntu-desktop





            share|improve this answer



















            • 3




              dam... started the install from the answer and scrolled down to this. :(
              – Meirion Hughes
              Jun 11 '14 at 8:29










            • my version of aptitude doesn't have that option. It does have --without-recommends
              – JHowIX
              Feb 3 '16 at 17:09










            • @JHowIX try using apt-get instead, that one worked for me.
              – AZhu
              Feb 6 '16 at 3:53






            • 4




              sudo apt-get install --no-install-recommends ubuntu-desktop or sudo aptitude install --without-recommends ubuntu-desktop
              – Hover Ruan
              Apr 21 '16 at 2:31

















            up vote
            34
            down vote













            If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command



            sudo aptitude install --without-recommends ubuntu-desktop





            share|improve this answer



















            • 3




              dam... started the install from the answer and scrolled down to this. :(
              – Meirion Hughes
              Jun 11 '14 at 8:29










            • my version of aptitude doesn't have that option. It does have --without-recommends
              – JHowIX
              Feb 3 '16 at 17:09










            • @JHowIX try using apt-get instead, that one worked for me.
              – AZhu
              Feb 6 '16 at 3:53






            • 4




              sudo apt-get install --no-install-recommends ubuntu-desktop or sudo aptitude install --without-recommends ubuntu-desktop
              – Hover Ruan
              Apr 21 '16 at 2:31















            up vote
            34
            down vote










            up vote
            34
            down vote









            If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command



            sudo aptitude install --without-recommends ubuntu-desktop





            share|improve this answer














            If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command



            sudo aptitude install --without-recommends ubuntu-desktop






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jul 15 '16 at 13:44









            OkezieE

            1034




            1034










            answered Oct 15 '10 at 19:55









            hhlp

            32k1377131




            32k1377131








            • 3




              dam... started the install from the answer and scrolled down to this. :(
              – Meirion Hughes
              Jun 11 '14 at 8:29










            • my version of aptitude doesn't have that option. It does have --without-recommends
              – JHowIX
              Feb 3 '16 at 17:09










            • @JHowIX try using apt-get instead, that one worked for me.
              – AZhu
              Feb 6 '16 at 3:53






            • 4




              sudo apt-get install --no-install-recommends ubuntu-desktop or sudo aptitude install --without-recommends ubuntu-desktop
              – Hover Ruan
              Apr 21 '16 at 2:31
















            • 3




              dam... started the install from the answer and scrolled down to this. :(
              – Meirion Hughes
              Jun 11 '14 at 8:29










            • my version of aptitude doesn't have that option. It does have --without-recommends
              – JHowIX
              Feb 3 '16 at 17:09










            • @JHowIX try using apt-get instead, that one worked for me.
              – AZhu
              Feb 6 '16 at 3:53






            • 4




              sudo apt-get install --no-install-recommends ubuntu-desktop or sudo aptitude install --without-recommends ubuntu-desktop
              – Hover Ruan
              Apr 21 '16 at 2:31










            3




            3




            dam... started the install from the answer and scrolled down to this. :(
            – Meirion Hughes
            Jun 11 '14 at 8:29




            dam... started the install from the answer and scrolled down to this. :(
            – Meirion Hughes
            Jun 11 '14 at 8:29












            my version of aptitude doesn't have that option. It does have --without-recommends
            – JHowIX
            Feb 3 '16 at 17:09




            my version of aptitude doesn't have that option. It does have --without-recommends
            – JHowIX
            Feb 3 '16 at 17:09












            @JHowIX try using apt-get instead, that one worked for me.
            – AZhu
            Feb 6 '16 at 3:53




            @JHowIX try using apt-get instead, that one worked for me.
            – AZhu
            Feb 6 '16 at 3:53




            4




            4




            sudo apt-get install --no-install-recommends ubuntu-desktop or sudo aptitude install --without-recommends ubuntu-desktop
            – Hover Ruan
            Apr 21 '16 at 2:31






            sudo apt-get install --no-install-recommends ubuntu-desktop or sudo aptitude install --without-recommends ubuntu-desktop
            – Hover Ruan
            Apr 21 '16 at 2:31












            up vote
            9
            down vote













            sudo apt-get install ubuntu-desktop





            share|improve this answer

























              up vote
              9
              down vote













              sudo apt-get install ubuntu-desktop





              share|improve this answer























                up vote
                9
                down vote










                up vote
                9
                down vote









                sudo apt-get install ubuntu-desktop





                share|improve this answer












                sudo apt-get install ubuntu-desktop






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 12 '10 at 21:35









                maco

                12.4k32334




                12.4k32334






















                    up vote
                    7
                    down vote













                    If you just need to run virtual GUI (GUI exsists but you dont need to see it) on the computer for testing or other purposes.



                    sudo apt-get install xvnc4viewer



                    Is a setup I have.



                    :)






                    share|improve this answer



















                    • 2




                      So, the server isn't running the desktop, but you can still VNC from a client machine and get a desktop? That would be perfect for my needs (dunno about the OP).
                      – Scaine
                      Oct 16 '10 at 8:34










                    • yeah you see a graphical shell.
                      – Matt H
                      May 8 '14 at 3:42















                    up vote
                    7
                    down vote













                    If you just need to run virtual GUI (GUI exsists but you dont need to see it) on the computer for testing or other purposes.



                    sudo apt-get install xvnc4viewer



                    Is a setup I have.



                    :)






                    share|improve this answer



















                    • 2




                      So, the server isn't running the desktop, but you can still VNC from a client machine and get a desktop? That would be perfect for my needs (dunno about the OP).
                      – Scaine
                      Oct 16 '10 at 8:34










                    • yeah you see a graphical shell.
                      – Matt H
                      May 8 '14 at 3:42













                    up vote
                    7
                    down vote










                    up vote
                    7
                    down vote









                    If you just need to run virtual GUI (GUI exsists but you dont need to see it) on the computer for testing or other purposes.



                    sudo apt-get install xvnc4viewer



                    Is a setup I have.



                    :)






                    share|improve this answer














                    If you just need to run virtual GUI (GUI exsists but you dont need to see it) on the computer for testing or other purposes.



                    sudo apt-get install xvnc4viewer



                    Is a setup I have.



                    :)







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Aug 13 '10 at 0:02

























                    answered Aug 12 '10 at 23:47









                    myusuf3

                    13k328099




                    13k328099








                    • 2




                      So, the server isn't running the desktop, but you can still VNC from a client machine and get a desktop? That would be perfect for my needs (dunno about the OP).
                      – Scaine
                      Oct 16 '10 at 8:34










                    • yeah you see a graphical shell.
                      – Matt H
                      May 8 '14 at 3:42














                    • 2




                      So, the server isn't running the desktop, but you can still VNC from a client machine and get a desktop? That would be perfect for my needs (dunno about the OP).
                      – Scaine
                      Oct 16 '10 at 8:34










                    • yeah you see a graphical shell.
                      – Matt H
                      May 8 '14 at 3:42








                    2




                    2




                    So, the server isn't running the desktop, but you can still VNC from a client machine and get a desktop? That would be perfect for my needs (dunno about the OP).
                    – Scaine
                    Oct 16 '10 at 8:34




                    So, the server isn't running the desktop, but you can still VNC from a client machine and get a desktop? That would be perfect for my needs (dunno about the OP).
                    – Scaine
                    Oct 16 '10 at 8:34












                    yeah you see a graphical shell.
                    – Matt H
                    May 8 '14 at 3:42




                    yeah you see a graphical shell.
                    – Matt H
                    May 8 '14 at 3:42


















                    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%2f2093%2fhow-to-install-gui-desktop-on-a-server%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

                    數位音樂下載

                    When can things happen in Etherscan, such as the picture below?

                    格利澤436b