vnc service for ubuntu 18.04, no background and menus

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








up vote
0
down vote

favorite












There are many topics about accessing a remote desktop via vnc. However, it seems that 18.04 is different. I have installed tightvncserver and the content of ~/.vnc/xstartup according to this topic is



#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

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


As I connect, I see an incomplete desktop without any background and system menu. There is no terminal also. See the picture



enter image description here



Any idea?







share|improve this question
























    up vote
    0
    down vote

    favorite












    There are many topics about accessing a remote desktop via vnc. However, it seems that 18.04 is different. I have installed tightvncserver and the content of ~/.vnc/xstartup according to this topic is



    #!/bin/sh

    export XKL_XMODMAP_DISABLE=1
    unset SESSION_MANAGER
    unset DBUS_SESSION_BUS_ADDRESS

    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &

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


    As I connect, I see an incomplete desktop without any background and system menu. There is no terminal also. See the picture



    enter image description here



    Any idea?







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      There are many topics about accessing a remote desktop via vnc. However, it seems that 18.04 is different. I have installed tightvncserver and the content of ~/.vnc/xstartup according to this topic is



      #!/bin/sh

      export XKL_XMODMAP_DISABLE=1
      unset SESSION_MANAGER
      unset DBUS_SESSION_BUS_ADDRESS

      [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
      [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
      xsetroot -solid grey
      vncconfig -iconic &

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


      As I connect, I see an incomplete desktop without any background and system menu. There is no terminal also. See the picture



      enter image description here



      Any idea?







      share|improve this question












      There are many topics about accessing a remote desktop via vnc. However, it seems that 18.04 is different. I have installed tightvncserver and the content of ~/.vnc/xstartup according to this topic is



      #!/bin/sh

      export XKL_XMODMAP_DISABLE=1
      unset SESSION_MANAGER
      unset DBUS_SESSION_BUS_ADDRESS

      [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
      [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
      xsetroot -solid grey
      vncconfig -iconic &

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


      As I connect, I see an incomplete desktop without any background and system menu. There is no terminal also. See the picture



      enter image description here



      Any idea?









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 28 at 16:30









      mahmood

      1,00811015




      1,00811015




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I also suffered from this problem (with LXDE & lxpanel) long time ago.
          It causes by panel start before the X display on VNCserver.



          try delay gnome-panel by create 'gnome-panel-delay' script on same /usr/bin with following



          !/bin/sh



          sleep 4 && gnome-panel



          exec gnome-panel-delay instead of gnome-panel in ~/.vnc/xstartup or setting under ~/.config






          share|improve this answer




















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f1041260%2fvnc-service-for-ubuntu-18-04-no-background-and-menus%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I also suffered from this problem (with LXDE & lxpanel) long time ago.
            It causes by panel start before the X display on VNCserver.



            try delay gnome-panel by create 'gnome-panel-delay' script on same /usr/bin with following



            !/bin/sh



            sleep 4 && gnome-panel



            exec gnome-panel-delay instead of gnome-panel in ~/.vnc/xstartup or setting under ~/.config






            share|improve this answer
























              up vote
              0
              down vote













              I also suffered from this problem (with LXDE & lxpanel) long time ago.
              It causes by panel start before the X display on VNCserver.



              try delay gnome-panel by create 'gnome-panel-delay' script on same /usr/bin with following



              !/bin/sh



              sleep 4 && gnome-panel



              exec gnome-panel-delay instead of gnome-panel in ~/.vnc/xstartup or setting under ~/.config






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                I also suffered from this problem (with LXDE & lxpanel) long time ago.
                It causes by panel start before the X display on VNCserver.



                try delay gnome-panel by create 'gnome-panel-delay' script on same /usr/bin with following



                !/bin/sh



                sleep 4 && gnome-panel



                exec gnome-panel-delay instead of gnome-panel in ~/.vnc/xstartup or setting under ~/.config






                share|improve this answer












                I also suffered from this problem (with LXDE & lxpanel) long time ago.
                It causes by panel start before the X display on VNCserver.



                try delay gnome-panel by create 'gnome-panel-delay' script on same /usr/bin with following



                !/bin/sh



                sleep 4 && gnome-panel



                exec gnome-panel-delay instead of gnome-panel in ~/.vnc/xstartup or setting under ~/.config







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 23 at 13:50









                rembi

                1




                1






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1041260%2fvnc-service-for-ubuntu-18-04-no-background-and-menus%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error