Cannot run firefox, chrome, terminal on VNC












0















I am having a problem related to my virtual machine at Google cloud. I have installed Ubuntu 16.04 LTS on my virtual machine instance. I am using vnc to connect to it. But after setting up everything as specified by tutorials, the gui is not as it is in ubuntu 16.
VNC gui for ubuntu



Moreover, I am unable to open gnome-terminal on it. After accessing virtual machine through my computer I have installed chrome, but when I click on it a tab opens for "Starting chrome" and then it close.
Here is my configuration of xstartup file.



#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &


Please help me, how should figure out the problem.










share|improve this question



























    0















    I am having a problem related to my virtual machine at Google cloud. I have installed Ubuntu 16.04 LTS on my virtual machine instance. I am using vnc to connect to it. But after setting up everything as specified by tutorials, the gui is not as it is in ubuntu 16.
    VNC gui for ubuntu



    Moreover, I am unable to open gnome-terminal on it. After accessing virtual machine through my computer I have installed chrome, but when I click on it a tab opens for "Starting chrome" and then it close.
    Here is my configuration of xstartup file.



    #!/bin/sh

    # Uncomment the following two lines for normal desktop:
    # unset SESSION_MANAGER
    # exec /etc/X11/xinit/xinitrc

    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    x-window-manager &

    gnome-panel &
    gnome-settings-daemon &
    metacity &
    nautilus &


    Please help me, how should figure out the problem.










    share|improve this question

























      0












      0








      0








      I am having a problem related to my virtual machine at Google cloud. I have installed Ubuntu 16.04 LTS on my virtual machine instance. I am using vnc to connect to it. But after setting up everything as specified by tutorials, the gui is not as it is in ubuntu 16.
      VNC gui for ubuntu



      Moreover, I am unable to open gnome-terminal on it. After accessing virtual machine through my computer I have installed chrome, but when I click on it a tab opens for "Starting chrome" and then it close.
      Here is my configuration of xstartup file.



      #!/bin/sh

      # Uncomment the following two lines for normal desktop:
      # unset SESSION_MANAGER
      # exec /etc/X11/xinit/xinitrc

      [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
      [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
      xsetroot -solid grey
      vncconfig -iconic &
      x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
      x-window-manager &

      gnome-panel &
      gnome-settings-daemon &
      metacity &
      nautilus &


      Please help me, how should figure out the problem.










      share|improve this question














      I am having a problem related to my virtual machine at Google cloud. I have installed Ubuntu 16.04 LTS on my virtual machine instance. I am using vnc to connect to it. But after setting up everything as specified by tutorials, the gui is not as it is in ubuntu 16.
      VNC gui for ubuntu



      Moreover, I am unable to open gnome-terminal on it. After accessing virtual machine through my computer I have installed chrome, but when I click on it a tab opens for "Starting chrome" and then it close.
      Here is my configuration of xstartup file.



      #!/bin/sh

      # Uncomment the following two lines for normal desktop:
      # unset SESSION_MANAGER
      # exec /etc/X11/xinit/xinitrc

      [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
      [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
      xsetroot -solid grey
      vncconfig -iconic &
      x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
      x-window-manager &

      gnome-panel &
      gnome-settings-daemon &
      metacity &
      nautilus &


      Please help me, how should figure out the problem.







      internet gnome-terminal vnc cloud






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 9 hours ago









      Muhammad RafiqueMuhammad Rafique

      63




      63






















          0






          active

          oldest

          votes











          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%2f1110049%2fcannot-run-firefox-chrome-terminal-on-vnc%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1110049%2fcannot-run-firefox-chrome-terminal-on-vnc%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

          GameSpot

          日野市

          Tu-95轟炸機