Only Terminal windows appear on TightVNC












0















I use ubuntu server provided by amazon ec2. I want gui so that i install ubuntu-desktop on server and edit xstartup. But when i connect to my server through TightVNC it shows only terminal windows. Here is the .vnc/xstartup:



            #!/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 &









share|improve this question
















bumped to the homepage by Community 27 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I use ubuntu server provided by amazon ec2. I want gui so that i install ubuntu-desktop on server and edit xstartup. But when i connect to my server through TightVNC it shows only terminal windows. Here is the .vnc/xstartup:



                #!/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 &









    share|improve this question
















    bumped to the homepage by Community 27 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I use ubuntu server provided by amazon ec2. I want gui so that i install ubuntu-desktop on server and edit xstartup. But when i connect to my server through TightVNC it shows only terminal windows. Here is the .vnc/xstartup:



                  #!/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 &









      share|improve this question
















      I use ubuntu server provided by amazon ec2. I want gui so that i install ubuntu-desktop on server and edit xstartup. But when i connect to my server through TightVNC it shows only terminal windows. Here is the .vnc/xstartup:



                  #!/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 &






      14.04 amazon-ec2 tightvncserver






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 29 '14 at 19:55







      rajagopalx

















      asked Aug 29 '14 at 12:51









      rajagopalxrajagopalx

      10616




      10616





      bumped to the homepage by Community 27 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 27 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          The solution is in the file itself:



          # Uncomment the following TWO (2) lines for normal desktop:


          However, in your config, only the first line is uncommented. The xinitrc sript is skipped, because it is still commented.



          Uncomment this line, and you should be fine. Without it, starting a gnome-session is futile.






          share|improve this answer
























          • if i uncomment that line dotted grey screen only appears ?

            – rajagopalx
            Aug 29 '14 at 13:48











          • Can you post a screenshot of this dotted grey screen?

            – s3lph
            Aug 29 '14 at 13:49











          • i don't have 10 reputation. so i upload file here drive.google.com/file/d/0BzK7h-AXtpjNbjU5NjlCN3ZObHM/…

            – rajagopalx
            Aug 29 '14 at 13:57











          • Here (ubuntuforums.org/showthread.php?t=1707906) the permissions of the xinitrc script were broken. Check it for your case

            – s3lph
            Aug 29 '14 at 14:00











          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%2f517564%2fonly-terminal-windows-appear-on-tightvnc%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









          0














          The solution is in the file itself:



          # Uncomment the following TWO (2) lines for normal desktop:


          However, in your config, only the first line is uncommented. The xinitrc sript is skipped, because it is still commented.



          Uncomment this line, and you should be fine. Without it, starting a gnome-session is futile.






          share|improve this answer
























          • if i uncomment that line dotted grey screen only appears ?

            – rajagopalx
            Aug 29 '14 at 13:48











          • Can you post a screenshot of this dotted grey screen?

            – s3lph
            Aug 29 '14 at 13:49











          • i don't have 10 reputation. so i upload file here drive.google.com/file/d/0BzK7h-AXtpjNbjU5NjlCN3ZObHM/…

            – rajagopalx
            Aug 29 '14 at 13:57











          • Here (ubuntuforums.org/showthread.php?t=1707906) the permissions of the xinitrc script were broken. Check it for your case

            – s3lph
            Aug 29 '14 at 14:00
















          0














          The solution is in the file itself:



          # Uncomment the following TWO (2) lines for normal desktop:


          However, in your config, only the first line is uncommented. The xinitrc sript is skipped, because it is still commented.



          Uncomment this line, and you should be fine. Without it, starting a gnome-session is futile.






          share|improve this answer
























          • if i uncomment that line dotted grey screen only appears ?

            – rajagopalx
            Aug 29 '14 at 13:48











          • Can you post a screenshot of this dotted grey screen?

            – s3lph
            Aug 29 '14 at 13:49











          • i don't have 10 reputation. so i upload file here drive.google.com/file/d/0BzK7h-AXtpjNbjU5NjlCN3ZObHM/…

            – rajagopalx
            Aug 29 '14 at 13:57











          • Here (ubuntuforums.org/showthread.php?t=1707906) the permissions of the xinitrc script were broken. Check it for your case

            – s3lph
            Aug 29 '14 at 14:00














          0












          0








          0







          The solution is in the file itself:



          # Uncomment the following TWO (2) lines for normal desktop:


          However, in your config, only the first line is uncommented. The xinitrc sript is skipped, because it is still commented.



          Uncomment this line, and you should be fine. Without it, starting a gnome-session is futile.






          share|improve this answer













          The solution is in the file itself:



          # Uncomment the following TWO (2) lines for normal desktop:


          However, in your config, only the first line is uncommented. The xinitrc sript is skipped, because it is still commented.



          Uncomment this line, and you should be fine. Without it, starting a gnome-session is futile.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 29 '14 at 13:26









          s3lphs3lph

          10.5k94572




          10.5k94572













          • if i uncomment that line dotted grey screen only appears ?

            – rajagopalx
            Aug 29 '14 at 13:48











          • Can you post a screenshot of this dotted grey screen?

            – s3lph
            Aug 29 '14 at 13:49











          • i don't have 10 reputation. so i upload file here drive.google.com/file/d/0BzK7h-AXtpjNbjU5NjlCN3ZObHM/…

            – rajagopalx
            Aug 29 '14 at 13:57











          • Here (ubuntuforums.org/showthread.php?t=1707906) the permissions of the xinitrc script were broken. Check it for your case

            – s3lph
            Aug 29 '14 at 14:00



















          • if i uncomment that line dotted grey screen only appears ?

            – rajagopalx
            Aug 29 '14 at 13:48











          • Can you post a screenshot of this dotted grey screen?

            – s3lph
            Aug 29 '14 at 13:49











          • i don't have 10 reputation. so i upload file here drive.google.com/file/d/0BzK7h-AXtpjNbjU5NjlCN3ZObHM/…

            – rajagopalx
            Aug 29 '14 at 13:57











          • Here (ubuntuforums.org/showthread.php?t=1707906) the permissions of the xinitrc script were broken. Check it for your case

            – s3lph
            Aug 29 '14 at 14:00

















          if i uncomment that line dotted grey screen only appears ?

          – rajagopalx
          Aug 29 '14 at 13:48





          if i uncomment that line dotted grey screen only appears ?

          – rajagopalx
          Aug 29 '14 at 13:48













          Can you post a screenshot of this dotted grey screen?

          – s3lph
          Aug 29 '14 at 13:49





          Can you post a screenshot of this dotted grey screen?

          – s3lph
          Aug 29 '14 at 13:49













          i don't have 10 reputation. so i upload file here drive.google.com/file/d/0BzK7h-AXtpjNbjU5NjlCN3ZObHM/…

          – rajagopalx
          Aug 29 '14 at 13:57





          i don't have 10 reputation. so i upload file here drive.google.com/file/d/0BzK7h-AXtpjNbjU5NjlCN3ZObHM/…

          – rajagopalx
          Aug 29 '14 at 13:57













          Here (ubuntuforums.org/showthread.php?t=1707906) the permissions of the xinitrc script were broken. Check it for your case

          – s3lph
          Aug 29 '14 at 14:00





          Here (ubuntuforums.org/showthread.php?t=1707906) the permissions of the xinitrc script were broken. Check it for your case

          – s3lph
          Aug 29 '14 at 14:00


















          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%2f517564%2fonly-terminal-windows-appear-on-tightvnc%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