Configure Chromium Browser in linux and open in windows using xserver via ssh

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am trying to install chromium browser in linux and start apache on linux. After that I have to open an ubuntu web page in Chromium on my windows machine via ssh using Putty or Mobarterm. Chromium is installed on linux but when I run command: chromium:browser on linux via Putty it throws error:




ERROR:browser_main_loop.cc(261)] Gtk: cannot open display











share|improve this question



























    up vote
    0
    down vote

    favorite












    I am trying to install chromium browser in linux and start apache on linux. After that I have to open an ubuntu web page in Chromium on my windows machine via ssh using Putty or Mobarterm. Chromium is installed on linux but when I run command: chromium:browser on linux via Putty it throws error:




    ERROR:browser_main_loop.cc(261)] Gtk: cannot open display











    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to install chromium browser in linux and start apache on linux. After that I have to open an ubuntu web page in Chromium on my windows machine via ssh using Putty or Mobarterm. Chromium is installed on linux but when I run command: chromium:browser on linux via Putty it throws error:




      ERROR:browser_main_loop.cc(261)] Gtk: cannot open display











      share|improve this question















      I am trying to install chromium browser in linux and start apache on linux. After that I have to open an ubuntu web page in Chromium on my windows machine via ssh using Putty or Mobarterm. Chromium is installed on linux but when I run command: chromium:browser on linux via Putty it throws error:




      ERROR:browser_main_loop.cc(261)] Gtk: cannot open display








      linux ssh x11 x-server chromium-os






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 at 2:21









      Rui F Ribeiro

      38.2k1475123




      38.2k1475123










      asked Apr 10 '17 at 5:47









      user2323168

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You need to Install xRDP in ur ubuntu machine the error GTK is a cross-platform widget toolkit for creating graphical user interface.



          Follow these steps install xRDP and open in ur windows Machine Via RDC (Remote Desktop Connection) and use Chromium.



          Step 1 – Install xRDP



          Open Terminal (Crtl+Alt+T) and execute the following commands:



          sudo apt-get update
          sudo apt-get install xrdp


          Step 2 – Install XFCE4 ( Unity doesn't seem to support xRDP in Ubuntu 14.04; although, in Ubuntu 12.04 it was supported ). That's why we install Xfce4.



          sudo apt-get install xfce4


          Step 3 – Configure xRDP



          In this step, we modify two files to make sure xRDP uses Xfce4. First we need to create, or edit, our .xsession file in our home directory. We can either use nano or simply redirect an echo statement (easier):



          echo xfce4-session >~/.xsession


          The second file we need to edit is the startup file for xRDP, so it will start Xfce4.



          sudo nano /etc/xrdp/startwm.sh


          The content should look like this (pay attention to the last line and ignore . /etc/X11/Xsession):



          #!/bin/sh

          if [ -r /etc/default/locale ]; then
          . /etc/default/locale
          export LANG LANGUAGE
          fi

          startxfce4


          Step 4 – Restart xRDP



          To make all these changes effective, restart xRDP as such:



          sudo service xrdp restart


          Testing your xRDP connection



          On the computer that will remotely control your Ubuntu machine, start you RDP client. Windows comes standard with a Remote Desktop client (mstsc.exe – you can start it from a command prompt, or find the shortcut to Remote Desktop under Accessories). Or Search 'remote' in start (Windows 7) Or 'remote' in search box in Windows 8.



          Hope This ll Help you.






          share|improve this answer




















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f358039%2fconfigure-chromium-browser-in-linux-and-open-in-windows-using-xserver-via-ssh%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








            up vote
            0
            down vote













            You need to Install xRDP in ur ubuntu machine the error GTK is a cross-platform widget toolkit for creating graphical user interface.



            Follow these steps install xRDP and open in ur windows Machine Via RDC (Remote Desktop Connection) and use Chromium.



            Step 1 – Install xRDP



            Open Terminal (Crtl+Alt+T) and execute the following commands:



            sudo apt-get update
            sudo apt-get install xrdp


            Step 2 – Install XFCE4 ( Unity doesn't seem to support xRDP in Ubuntu 14.04; although, in Ubuntu 12.04 it was supported ). That's why we install Xfce4.



            sudo apt-get install xfce4


            Step 3 – Configure xRDP



            In this step, we modify two files to make sure xRDP uses Xfce4. First we need to create, or edit, our .xsession file in our home directory. We can either use nano or simply redirect an echo statement (easier):



            echo xfce4-session >~/.xsession


            The second file we need to edit is the startup file for xRDP, so it will start Xfce4.



            sudo nano /etc/xrdp/startwm.sh


            The content should look like this (pay attention to the last line and ignore . /etc/X11/Xsession):



            #!/bin/sh

            if [ -r /etc/default/locale ]; then
            . /etc/default/locale
            export LANG LANGUAGE
            fi

            startxfce4


            Step 4 – Restart xRDP



            To make all these changes effective, restart xRDP as such:



            sudo service xrdp restart


            Testing your xRDP connection



            On the computer that will remotely control your Ubuntu machine, start you RDP client. Windows comes standard with a Remote Desktop client (mstsc.exe – you can start it from a command prompt, or find the shortcut to Remote Desktop under Accessories). Or Search 'remote' in start (Windows 7) Or 'remote' in search box in Windows 8.



            Hope This ll Help you.






            share|improve this answer
























              up vote
              0
              down vote













              You need to Install xRDP in ur ubuntu machine the error GTK is a cross-platform widget toolkit for creating graphical user interface.



              Follow these steps install xRDP and open in ur windows Machine Via RDC (Remote Desktop Connection) and use Chromium.



              Step 1 – Install xRDP



              Open Terminal (Crtl+Alt+T) and execute the following commands:



              sudo apt-get update
              sudo apt-get install xrdp


              Step 2 – Install XFCE4 ( Unity doesn't seem to support xRDP in Ubuntu 14.04; although, in Ubuntu 12.04 it was supported ). That's why we install Xfce4.



              sudo apt-get install xfce4


              Step 3 – Configure xRDP



              In this step, we modify two files to make sure xRDP uses Xfce4. First we need to create, or edit, our .xsession file in our home directory. We can either use nano or simply redirect an echo statement (easier):



              echo xfce4-session >~/.xsession


              The second file we need to edit is the startup file for xRDP, so it will start Xfce4.



              sudo nano /etc/xrdp/startwm.sh


              The content should look like this (pay attention to the last line and ignore . /etc/X11/Xsession):



              #!/bin/sh

              if [ -r /etc/default/locale ]; then
              . /etc/default/locale
              export LANG LANGUAGE
              fi

              startxfce4


              Step 4 – Restart xRDP



              To make all these changes effective, restart xRDP as such:



              sudo service xrdp restart


              Testing your xRDP connection



              On the computer that will remotely control your Ubuntu machine, start you RDP client. Windows comes standard with a Remote Desktop client (mstsc.exe – you can start it from a command prompt, or find the shortcut to Remote Desktop under Accessories). Or Search 'remote' in start (Windows 7) Or 'remote' in search box in Windows 8.



              Hope This ll Help you.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                You need to Install xRDP in ur ubuntu machine the error GTK is a cross-platform widget toolkit for creating graphical user interface.



                Follow these steps install xRDP and open in ur windows Machine Via RDC (Remote Desktop Connection) and use Chromium.



                Step 1 – Install xRDP



                Open Terminal (Crtl+Alt+T) and execute the following commands:



                sudo apt-get update
                sudo apt-get install xrdp


                Step 2 – Install XFCE4 ( Unity doesn't seem to support xRDP in Ubuntu 14.04; although, in Ubuntu 12.04 it was supported ). That's why we install Xfce4.



                sudo apt-get install xfce4


                Step 3 – Configure xRDP



                In this step, we modify two files to make sure xRDP uses Xfce4. First we need to create, or edit, our .xsession file in our home directory. We can either use nano or simply redirect an echo statement (easier):



                echo xfce4-session >~/.xsession


                The second file we need to edit is the startup file for xRDP, so it will start Xfce4.



                sudo nano /etc/xrdp/startwm.sh


                The content should look like this (pay attention to the last line and ignore . /etc/X11/Xsession):



                #!/bin/sh

                if [ -r /etc/default/locale ]; then
                . /etc/default/locale
                export LANG LANGUAGE
                fi

                startxfce4


                Step 4 – Restart xRDP



                To make all these changes effective, restart xRDP as such:



                sudo service xrdp restart


                Testing your xRDP connection



                On the computer that will remotely control your Ubuntu machine, start you RDP client. Windows comes standard with a Remote Desktop client (mstsc.exe – you can start it from a command prompt, or find the shortcut to Remote Desktop under Accessories). Or Search 'remote' in start (Windows 7) Or 'remote' in search box in Windows 8.



                Hope This ll Help you.






                share|improve this answer












                You need to Install xRDP in ur ubuntu machine the error GTK is a cross-platform widget toolkit for creating graphical user interface.



                Follow these steps install xRDP and open in ur windows Machine Via RDC (Remote Desktop Connection) and use Chromium.



                Step 1 – Install xRDP



                Open Terminal (Crtl+Alt+T) and execute the following commands:



                sudo apt-get update
                sudo apt-get install xrdp


                Step 2 – Install XFCE4 ( Unity doesn't seem to support xRDP in Ubuntu 14.04; although, in Ubuntu 12.04 it was supported ). That's why we install Xfce4.



                sudo apt-get install xfce4


                Step 3 – Configure xRDP



                In this step, we modify two files to make sure xRDP uses Xfce4. First we need to create, or edit, our .xsession file in our home directory. We can either use nano or simply redirect an echo statement (easier):



                echo xfce4-session >~/.xsession


                The second file we need to edit is the startup file for xRDP, so it will start Xfce4.



                sudo nano /etc/xrdp/startwm.sh


                The content should look like this (pay attention to the last line and ignore . /etc/X11/Xsession):



                #!/bin/sh

                if [ -r /etc/default/locale ]; then
                . /etc/default/locale
                export LANG LANGUAGE
                fi

                startxfce4


                Step 4 – Restart xRDP



                To make all these changes effective, restart xRDP as such:



                sudo service xrdp restart


                Testing your xRDP connection



                On the computer that will remotely control your Ubuntu machine, start you RDP client. Windows comes standard with a Remote Desktop client (mstsc.exe – you can start it from a command prompt, or find the shortcut to Remote Desktop under Accessories). Or Search 'remote' in start (Windows 7) Or 'remote' in search box in Windows 8.



                Hope This ll Help you.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 10 '17 at 5:56









                Vinood NK Maheshwari

                311110




                311110



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f358039%2fconfigure-chromium-browser-in-linux-and-open-in-windows-using-xserver-via-ssh%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 check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?