Display not working for any user except root on tool vnc for Os Suselinux

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











up vote
1
down vote

favorite












I was trying to install SAP Hana Data provisioning agent for which SAP Note said that we need a non-root user who should have read/write access to /usr/sap folder and display access. So I started vncserver for that non-root user and I was able to download agent and closed that session. Now for installing agent I logged into same session however it said you dont have GUI access since I had exported display for that single session only. Now I added display variable in /etc/environment file logged in as root and started vncserver again. Now I was able to open GUI/xclock using root user only. if I type xclock on terminal after logging in using any user other than root, I get stuck on that command prompt.



I also tried setting export DISPLAY=:0.0 in each user specific .bashrc file.



Didnot work.







share|improve this question























    up vote
    1
    down vote

    favorite












    I was trying to install SAP Hana Data provisioning agent for which SAP Note said that we need a non-root user who should have read/write access to /usr/sap folder and display access. So I started vncserver for that non-root user and I was able to download agent and closed that session. Now for installing agent I logged into same session however it said you dont have GUI access since I had exported display for that single session only. Now I added display variable in /etc/environment file logged in as root and started vncserver again. Now I was able to open GUI/xclock using root user only. if I type xclock on terminal after logging in using any user other than root, I get stuck on that command prompt.



    I also tried setting export DISPLAY=:0.0 in each user specific .bashrc file.



    Didnot work.







    share|improve this question





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I was trying to install SAP Hana Data provisioning agent for which SAP Note said that we need a non-root user who should have read/write access to /usr/sap folder and display access. So I started vncserver for that non-root user and I was able to download agent and closed that session. Now for installing agent I logged into same session however it said you dont have GUI access since I had exported display for that single session only. Now I added display variable in /etc/environment file logged in as root and started vncserver again. Now I was able to open GUI/xclock using root user only. if I type xclock on terminal after logging in using any user other than root, I get stuck on that command prompt.



      I also tried setting export DISPLAY=:0.0 in each user specific .bashrc file.



      Didnot work.







      share|improve this question











      I was trying to install SAP Hana Data provisioning agent for which SAP Note said that we need a non-root user who should have read/write access to /usr/sap folder and display access. So I started vncserver for that non-root user and I was able to download agent and closed that session. Now for installing agent I logged into same session however it said you dont have GUI access since I had exported display for that single session only. Now I added display variable in /etc/environment file logged in as root and started vncserver again. Now I was able to open GUI/xclock using root user only. if I type xclock on terminal after logging in using any user other than root, I get stuck on that command prompt.



      I also tried setting export DISPLAY=:0.0 in each user specific .bashrc file.



      Didnot work.









      share|improve this question










      share|improve this question




      share|improve this question









      asked May 4 at 5:40









      Kriti Singh

      61




      61

























          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
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441707%2fdisplay-not-working-for-any-user-except-root-on-tool-vnc-for-os-suselinux%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441707%2fdisplay-not-working-for-any-user-except-root-on-tool-vnc-for-os-suselinux%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)