Can't open google-chrome in CentOS7

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











up vote
-1
down vote

favorite












I installed google-chrome-stable latest version (69.0.3497.81) on my CentOS 7. Then i tried to open it but it didn't opened .So i searched for solutions on net which advised me to run it using a non-root user , which I did but still showed error:



"Gtk-WARNING **: cannot open display:"



I also tried changing the display variable thru root as :



DISPLAY=:0 ;
export DISPLAY



but this too isn't working .









share









New contributor




yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    -1
    down vote

    favorite












    I installed google-chrome-stable latest version (69.0.3497.81) on my CentOS 7. Then i tried to open it but it didn't opened .So i searched for solutions on net which advised me to run it using a non-root user , which I did but still showed error:



    "Gtk-WARNING **: cannot open display:"



    I also tried changing the display variable thru root as :



    DISPLAY=:0 ;
    export DISPLAY



    but this too isn't working .









    share









    New contributor




    yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I installed google-chrome-stable latest version (69.0.3497.81) on my CentOS 7. Then i tried to open it but it didn't opened .So i searched for solutions on net which advised me to run it using a non-root user , which I did but still showed error:



      "Gtk-WARNING **: cannot open display:"



      I also tried changing the display variable thru root as :



      DISPLAY=:0 ;
      export DISPLAY



      but this too isn't working .









      share









      New contributor




      yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I installed google-chrome-stable latest version (69.0.3497.81) on my CentOS 7. Then i tried to open it but it didn't opened .So i searched for solutions on net which advised me to run it using a non-root user , which I did but still showed error:



      "Gtk-WARNING **: cannot open display:"



      I also tried changing the display variable thru root as :



      DISPLAY=:0 ;
      export DISPLAY



      but this too isn't working .







      linux centos chrome





      share









      New contributor




      yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share









      New contributor




      yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share








      edited 4 mins ago









      Rui F Ribeiro

      37.8k1475119




      37.8k1475119






      New contributor




      yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 mins ago









      yashjain naruto

      1




      1




      New contributor




      yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      yashjain naruto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          yashjain naruto is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478583%2fcant-open-google-chrome-in-centos7%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          yashjain naruto is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          yashjain naruto is a new contributor. Be nice, and check out our Code of Conduct.












          yashjain naruto is a new contributor. Be nice, and check out our Code of Conduct.











          yashjain naruto is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478583%2fcant-open-google-chrome-in-centos7%23new-answer', 'question_page');

          );

          Post as a guest













































































          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?