Configuring a VNC Desktop: Upgrading GUI from classic gnome desktop to newest gnome desktop











up vote
0
down vote

favorite












I have a vnc system, I was able to build. It leverages the classic gnome desktop GUI.



enter image description here



I would like to upgrade the .vnc/xstartups file, to use the newest Gnome Desktop Environment. The Ubuntu Gnome Desktop featured as the official Ubuntu 18.04 desktop.



Here is my current ~/.vnc/xstartups file.



#!/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-session &
gnome-panel &
gnome-settings-daemon &
metacity &
gnome-terminal &


Thank you, please keep the comments and answer to the topic.




  • This question assumes a working VNC connection, with no errors.

  • This question is specific, as in no question to the purpose of this is necessary, I believe it's clear that the point is to have a newer GUI desktop environment.

  • If you don't know (A.K.A. "It's not possible"), join the club. Let's wait, for the person who does know how, to give the answer.


Any help is appreciated.










share|improve this question




























    up vote
    0
    down vote

    favorite












    I have a vnc system, I was able to build. It leverages the classic gnome desktop GUI.



    enter image description here



    I would like to upgrade the .vnc/xstartups file, to use the newest Gnome Desktop Environment. The Ubuntu Gnome Desktop featured as the official Ubuntu 18.04 desktop.



    Here is my current ~/.vnc/xstartups file.



    #!/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-session &
    gnome-panel &
    gnome-settings-daemon &
    metacity &
    gnome-terminal &


    Thank you, please keep the comments and answer to the topic.




    • This question assumes a working VNC connection, with no errors.

    • This question is specific, as in no question to the purpose of this is necessary, I believe it's clear that the point is to have a newer GUI desktop environment.

    • If you don't know (A.K.A. "It's not possible"), join the club. Let's wait, for the person who does know how, to give the answer.


    Any help is appreciated.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a vnc system, I was able to build. It leverages the classic gnome desktop GUI.



      enter image description here



      I would like to upgrade the .vnc/xstartups file, to use the newest Gnome Desktop Environment. The Ubuntu Gnome Desktop featured as the official Ubuntu 18.04 desktop.



      Here is my current ~/.vnc/xstartups file.



      #!/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-session &
      gnome-panel &
      gnome-settings-daemon &
      metacity &
      gnome-terminal &


      Thank you, please keep the comments and answer to the topic.




      • This question assumes a working VNC connection, with no errors.

      • This question is specific, as in no question to the purpose of this is necessary, I believe it's clear that the point is to have a newer GUI desktop environment.

      • If you don't know (A.K.A. "It's not possible"), join the club. Let's wait, for the person who does know how, to give the answer.


      Any help is appreciated.










      share|improve this question















      I have a vnc system, I was able to build. It leverages the classic gnome desktop GUI.



      enter image description here



      I would like to upgrade the .vnc/xstartups file, to use the newest Gnome Desktop Environment. The Ubuntu Gnome Desktop featured as the official Ubuntu 18.04 desktop.



      Here is my current ~/.vnc/xstartups file.



      #!/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-session &
      gnome-panel &
      gnome-settings-daemon &
      metacity &
      gnome-terminal &


      Thank you, please keep the comments and answer to the topic.




      • This question assumes a working VNC connection, with no errors.

      • This question is specific, as in no question to the purpose of this is necessary, I believe it's clear that the point is to have a newer GUI desktop environment.

      • If you don't know (A.K.A. "It's not possible"), join the club. Let's wait, for the person who does know how, to give the answer.


      Any help is appreciated.







      vnc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 2 at 0:14

























      asked Dec 1 at 2:03









      Artur Vieira

      1041




      1041






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          One solution was using Xfce4, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.



          Here are the instructions:
          https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04



          enter image description here
          I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop






          share|improve this answer






























            up vote
            0
            down vote













            One solution was using KDE, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.
            So nice!
            Instructions:



            Somewhat based, on https://wiki.centos.org/HowTos/VNC-Server
            Here are the libraries, from a fresh install of Ubuntu 18.04:



            sudo apt-get install build-essential openssh-server tightvncserver kubuntu-desktop xfonts-75dpi xfonts-100dpi



            After the install and a reboot. Login and navigate to the base directory. cd ~, run tightvncserver :1 command and initialize the configuration.



            Now run tightvncserver -kill :1 to shutdown the vnc server.



            Let's make the config changes.



            Run sudo rm -rf .vnc/xstartup && touch .vnc/xstartup && sudo chmod +x .vnc/xstartup to delete the file, and recreate it with the correct file properties.



            Ok, now jump into the editor and make a couple edits. sudo nano .vnc/xstartup



            Enter this as the file contents:



            #!/bin/sh
            # Config
            unset DBUS_SESSION_BUS_ADDRESS

            # Settings
            export XKL_XMODMAP_DISABLE=1
            export XKB_DEFAULT_RULES=base
            export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
            # Locale
            export LANG=en_US.UTF-8
            export LANGUAGE=
            export LC_CTYPE="en_US.UTF-8"
            export LC_NUMERIC="en_US.UTF-8"
            export LC_TIME="en_US.UTF-8"
            export LC_COLLATE="en_US.UTF-8"
            export LC_MONETARY="en_US.UTF-8"
            export LC_MESSAGES="en_US.UTF-8"
            export LC_PAPER="en_US.UTF-8"
            export LC_NAME="en_US.UTF-8"
            export LC_ADDRESS="en_US.UTF-8"
            export LC_TELEPHONE="en_US.UTF-8"
            export LC_MEASUREMENT="en_US.UTF-8"
            export LC_IDENTIFICATION="en_US.UTF-8"
            export LC_ALL=

            # 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
            plasmashell &
            startx


            type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



            One more, touch ~/.xinitxc && sudo nano ~/.xinitrc to create a basic X Server Initialization profile.



            Add this line to the file:



            startkde


            type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



            Now save whatever your output to hostname is, then in some client computer with interfacing access to the computer where all of this was configured in.



            Download a vnc viewer, I prefer RealVNC viewer. I am not associated with the company, in any way.
            https://www.realvnc.com/en/connecan/download/viewer/



            While that is downloading, open a ssh connection to the computer. Follow this guide.
            https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server



            While logged in to the shell on the remote computer.
            Start the vncserver as before with tightvncserver -compatiblekbd :1



            Leave that open.



            Enter in to the login bar in that client computer, in the RealVNC, the hostname output. Like so:



            hostnamehere:1 (<= hostnamehere is the output) and connect. Login with your regular user and enjoy.



            I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop






            share|improve this answer























            • Currently, this needs a fix, for the keyboard, which works within applications like Firefox, but does not work in the console, etc...
              – Artur Vieira
              Dec 5 at 3:17










            • Might be something that is easy to fix, with Xmanager5, github.com/spyder-ide/spyder/issues/3713#issuecomment-338086681
              – Artur Vieira
              Dec 8 at 6:21











            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: 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%2f1097566%2fconfiguring-a-vnc-desktop-upgrading-gui-from-classic-gnome-desktop-to-newest-gn%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            One solution was using Xfce4, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.



            Here are the instructions:
            https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04



            enter image description here
            I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop






            share|improve this answer



























              up vote
              0
              down vote













              One solution was using Xfce4, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.



              Here are the instructions:
              https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04



              enter image description here
              I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                One solution was using Xfce4, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.



                Here are the instructions:
                https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04



                enter image description here
                I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop






                share|improve this answer














                One solution was using Xfce4, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.



                Here are the instructions:
                https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04



                enter image description here
                I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 2 at 9:36

























                answered Dec 1 at 22:00









                Artur Vieira

                1041




                1041
























                    up vote
                    0
                    down vote













                    One solution was using KDE, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.
                    So nice!
                    Instructions:



                    Somewhat based, on https://wiki.centos.org/HowTos/VNC-Server
                    Here are the libraries, from a fresh install of Ubuntu 18.04:



                    sudo apt-get install build-essential openssh-server tightvncserver kubuntu-desktop xfonts-75dpi xfonts-100dpi



                    After the install and a reboot. Login and navigate to the base directory. cd ~, run tightvncserver :1 command and initialize the configuration.



                    Now run tightvncserver -kill :1 to shutdown the vnc server.



                    Let's make the config changes.



                    Run sudo rm -rf .vnc/xstartup && touch .vnc/xstartup && sudo chmod +x .vnc/xstartup to delete the file, and recreate it with the correct file properties.



                    Ok, now jump into the editor and make a couple edits. sudo nano .vnc/xstartup



                    Enter this as the file contents:



                    #!/bin/sh
                    # Config
                    unset DBUS_SESSION_BUS_ADDRESS

                    # Settings
                    export XKL_XMODMAP_DISABLE=1
                    export XKB_DEFAULT_RULES=base
                    export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
                    # Locale
                    export LANG=en_US.UTF-8
                    export LANGUAGE=
                    export LC_CTYPE="en_US.UTF-8"
                    export LC_NUMERIC="en_US.UTF-8"
                    export LC_TIME="en_US.UTF-8"
                    export LC_COLLATE="en_US.UTF-8"
                    export LC_MONETARY="en_US.UTF-8"
                    export LC_MESSAGES="en_US.UTF-8"
                    export LC_PAPER="en_US.UTF-8"
                    export LC_NAME="en_US.UTF-8"
                    export LC_ADDRESS="en_US.UTF-8"
                    export LC_TELEPHONE="en_US.UTF-8"
                    export LC_MEASUREMENT="en_US.UTF-8"
                    export LC_IDENTIFICATION="en_US.UTF-8"
                    export LC_ALL=

                    # 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
                    plasmashell &
                    startx


                    type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



                    One more, touch ~/.xinitxc && sudo nano ~/.xinitrc to create a basic X Server Initialization profile.



                    Add this line to the file:



                    startkde


                    type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



                    Now save whatever your output to hostname is, then in some client computer with interfacing access to the computer where all of this was configured in.



                    Download a vnc viewer, I prefer RealVNC viewer. I am not associated with the company, in any way.
                    https://www.realvnc.com/en/connecan/download/viewer/



                    While that is downloading, open a ssh connection to the computer. Follow this guide.
                    https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server



                    While logged in to the shell on the remote computer.
                    Start the vncserver as before with tightvncserver -compatiblekbd :1



                    Leave that open.



                    Enter in to the login bar in that client computer, in the RealVNC, the hostname output. Like so:



                    hostnamehere:1 (<= hostnamehere is the output) and connect. Login with your regular user and enjoy.



                    I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop






                    share|improve this answer























                    • Currently, this needs a fix, for the keyboard, which works within applications like Firefox, but does not work in the console, etc...
                      – Artur Vieira
                      Dec 5 at 3:17










                    • Might be something that is easy to fix, with Xmanager5, github.com/spyder-ide/spyder/issues/3713#issuecomment-338086681
                      – Artur Vieira
                      Dec 8 at 6:21















                    up vote
                    0
                    down vote













                    One solution was using KDE, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.
                    So nice!
                    Instructions:



                    Somewhat based, on https://wiki.centos.org/HowTos/VNC-Server
                    Here are the libraries, from a fresh install of Ubuntu 18.04:



                    sudo apt-get install build-essential openssh-server tightvncserver kubuntu-desktop xfonts-75dpi xfonts-100dpi



                    After the install and a reboot. Login and navigate to the base directory. cd ~, run tightvncserver :1 command and initialize the configuration.



                    Now run tightvncserver -kill :1 to shutdown the vnc server.



                    Let's make the config changes.



                    Run sudo rm -rf .vnc/xstartup && touch .vnc/xstartup && sudo chmod +x .vnc/xstartup to delete the file, and recreate it with the correct file properties.



                    Ok, now jump into the editor and make a couple edits. sudo nano .vnc/xstartup



                    Enter this as the file contents:



                    #!/bin/sh
                    # Config
                    unset DBUS_SESSION_BUS_ADDRESS

                    # Settings
                    export XKL_XMODMAP_DISABLE=1
                    export XKB_DEFAULT_RULES=base
                    export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
                    # Locale
                    export LANG=en_US.UTF-8
                    export LANGUAGE=
                    export LC_CTYPE="en_US.UTF-8"
                    export LC_NUMERIC="en_US.UTF-8"
                    export LC_TIME="en_US.UTF-8"
                    export LC_COLLATE="en_US.UTF-8"
                    export LC_MONETARY="en_US.UTF-8"
                    export LC_MESSAGES="en_US.UTF-8"
                    export LC_PAPER="en_US.UTF-8"
                    export LC_NAME="en_US.UTF-8"
                    export LC_ADDRESS="en_US.UTF-8"
                    export LC_TELEPHONE="en_US.UTF-8"
                    export LC_MEASUREMENT="en_US.UTF-8"
                    export LC_IDENTIFICATION="en_US.UTF-8"
                    export LC_ALL=

                    # 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
                    plasmashell &
                    startx


                    type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



                    One more, touch ~/.xinitxc && sudo nano ~/.xinitrc to create a basic X Server Initialization profile.



                    Add this line to the file:



                    startkde


                    type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



                    Now save whatever your output to hostname is, then in some client computer with interfacing access to the computer where all of this was configured in.



                    Download a vnc viewer, I prefer RealVNC viewer. I am not associated with the company, in any way.
                    https://www.realvnc.com/en/connecan/download/viewer/



                    While that is downloading, open a ssh connection to the computer. Follow this guide.
                    https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server



                    While logged in to the shell on the remote computer.
                    Start the vncserver as before with tightvncserver -compatiblekbd :1



                    Leave that open.



                    Enter in to the login bar in that client computer, in the RealVNC, the hostname output. Like so:



                    hostnamehere:1 (<= hostnamehere is the output) and connect. Login with your regular user and enjoy.



                    I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop






                    share|improve this answer























                    • Currently, this needs a fix, for the keyboard, which works within applications like Firefox, but does not work in the console, etc...
                      – Artur Vieira
                      Dec 5 at 3:17










                    • Might be something that is easy to fix, with Xmanager5, github.com/spyder-ide/spyder/issues/3713#issuecomment-338086681
                      – Artur Vieira
                      Dec 8 at 6:21













                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    One solution was using KDE, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.
                    So nice!
                    Instructions:



                    Somewhat based, on https://wiki.centos.org/HowTos/VNC-Server
                    Here are the libraries, from a fresh install of Ubuntu 18.04:



                    sudo apt-get install build-essential openssh-server tightvncserver kubuntu-desktop xfonts-75dpi xfonts-100dpi



                    After the install and a reboot. Login and navigate to the base directory. cd ~, run tightvncserver :1 command and initialize the configuration.



                    Now run tightvncserver -kill :1 to shutdown the vnc server.



                    Let's make the config changes.



                    Run sudo rm -rf .vnc/xstartup && touch .vnc/xstartup && sudo chmod +x .vnc/xstartup to delete the file, and recreate it with the correct file properties.



                    Ok, now jump into the editor and make a couple edits. sudo nano .vnc/xstartup



                    Enter this as the file contents:



                    #!/bin/sh
                    # Config
                    unset DBUS_SESSION_BUS_ADDRESS

                    # Settings
                    export XKL_XMODMAP_DISABLE=1
                    export XKB_DEFAULT_RULES=base
                    export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
                    # Locale
                    export LANG=en_US.UTF-8
                    export LANGUAGE=
                    export LC_CTYPE="en_US.UTF-8"
                    export LC_NUMERIC="en_US.UTF-8"
                    export LC_TIME="en_US.UTF-8"
                    export LC_COLLATE="en_US.UTF-8"
                    export LC_MONETARY="en_US.UTF-8"
                    export LC_MESSAGES="en_US.UTF-8"
                    export LC_PAPER="en_US.UTF-8"
                    export LC_NAME="en_US.UTF-8"
                    export LC_ADDRESS="en_US.UTF-8"
                    export LC_TELEPHONE="en_US.UTF-8"
                    export LC_MEASUREMENT="en_US.UTF-8"
                    export LC_IDENTIFICATION="en_US.UTF-8"
                    export LC_ALL=

                    # 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
                    plasmashell &
                    startx


                    type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



                    One more, touch ~/.xinitxc && sudo nano ~/.xinitrc to create a basic X Server Initialization profile.



                    Add this line to the file:



                    startkde


                    type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



                    Now save whatever your output to hostname is, then in some client computer with interfacing access to the computer where all of this was configured in.



                    Download a vnc viewer, I prefer RealVNC viewer. I am not associated with the company, in any way.
                    https://www.realvnc.com/en/connecan/download/viewer/



                    While that is downloading, open a ssh connection to the computer. Follow this guide.
                    https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server



                    While logged in to the shell on the remote computer.
                    Start the vncserver as before with tightvncserver -compatiblekbd :1



                    Leave that open.



                    Enter in to the login bar in that client computer, in the RealVNC, the hostname output. Like so:



                    hostnamehere:1 (<= hostnamehere is the output) and connect. Login with your regular user and enjoy.



                    I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop






                    share|improve this answer














                    One solution was using KDE, I installed the packages for the desktop environment and built a simple xstartups file which just initiates the desktop.
                    So nice!
                    Instructions:



                    Somewhat based, on https://wiki.centos.org/HowTos/VNC-Server
                    Here are the libraries, from a fresh install of Ubuntu 18.04:



                    sudo apt-get install build-essential openssh-server tightvncserver kubuntu-desktop xfonts-75dpi xfonts-100dpi



                    After the install and a reboot. Login and navigate to the base directory. cd ~, run tightvncserver :1 command and initialize the configuration.



                    Now run tightvncserver -kill :1 to shutdown the vnc server.



                    Let's make the config changes.



                    Run sudo rm -rf .vnc/xstartup && touch .vnc/xstartup && sudo chmod +x .vnc/xstartup to delete the file, and recreate it with the correct file properties.



                    Ok, now jump into the editor and make a couple edits. sudo nano .vnc/xstartup



                    Enter this as the file contents:



                    #!/bin/sh
                    # Config
                    unset DBUS_SESSION_BUS_ADDRESS

                    # Settings
                    export XKL_XMODMAP_DISABLE=1
                    export XKB_DEFAULT_RULES=base
                    export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
                    # Locale
                    export LANG=en_US.UTF-8
                    export LANGUAGE=
                    export LC_CTYPE="en_US.UTF-8"
                    export LC_NUMERIC="en_US.UTF-8"
                    export LC_TIME="en_US.UTF-8"
                    export LC_COLLATE="en_US.UTF-8"
                    export LC_MONETARY="en_US.UTF-8"
                    export LC_MESSAGES="en_US.UTF-8"
                    export LC_PAPER="en_US.UTF-8"
                    export LC_NAME="en_US.UTF-8"
                    export LC_ADDRESS="en_US.UTF-8"
                    export LC_TELEPHONE="en_US.UTF-8"
                    export LC_MEASUREMENT="en_US.UTF-8"
                    export LC_IDENTIFICATION="en_US.UTF-8"
                    export LC_ALL=

                    # 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
                    plasmashell &
                    startx


                    type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



                    One more, touch ~/.xinitxc && sudo nano ~/.xinitrc to create a basic X Server Initialization profile.



                    Add this line to the file:



                    startkde


                    type <Ctrl + x> for the menu and type y to save and hit Enter to exit.



                    Now save whatever your output to hostname is, then in some client computer with interfacing access to the computer where all of this was configured in.



                    Download a vnc viewer, I prefer RealVNC viewer. I am not associated with the company, in any way.
                    https://www.realvnc.com/en/connecan/download/viewer/



                    While that is downloading, open a ssh connection to the computer. Follow this guide.
                    https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server



                    While logged in to the shell on the remote computer.
                    Start the vncserver as before with tightvncserver -compatiblekbd :1



                    Leave that open.



                    Enter in to the login bar in that client computer, in the RealVNC, the hostname output. Like so:



                    hostnamehere:1 (<= hostnamehere is the output) and connect. Login with your regular user and enjoy.



                    I was really looking to have this setup type but with the Official Ubuntu Gnome Desktop







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Dec 3 at 11:54

























                    answered Dec 2 at 9:31









                    Artur Vieira

                    1041




                    1041












                    • Currently, this needs a fix, for the keyboard, which works within applications like Firefox, but does not work in the console, etc...
                      – Artur Vieira
                      Dec 5 at 3:17










                    • Might be something that is easy to fix, with Xmanager5, github.com/spyder-ide/spyder/issues/3713#issuecomment-338086681
                      – Artur Vieira
                      Dec 8 at 6:21


















                    • Currently, this needs a fix, for the keyboard, which works within applications like Firefox, but does not work in the console, etc...
                      – Artur Vieira
                      Dec 5 at 3:17










                    • Might be something that is easy to fix, with Xmanager5, github.com/spyder-ide/spyder/issues/3713#issuecomment-338086681
                      – Artur Vieira
                      Dec 8 at 6:21
















                    Currently, this needs a fix, for the keyboard, which works within applications like Firefox, but does not work in the console, etc...
                    – Artur Vieira
                    Dec 5 at 3:17




                    Currently, this needs a fix, for the keyboard, which works within applications like Firefox, but does not work in the console, etc...
                    – Artur Vieira
                    Dec 5 at 3:17












                    Might be something that is easy to fix, with Xmanager5, github.com/spyder-ide/spyder/issues/3713#issuecomment-338086681
                    – Artur Vieira
                    Dec 8 at 6:21




                    Might be something that is easy to fix, with Xmanager5, github.com/spyder-ide/spyder/issues/3713#issuecomment-338086681
                    – Artur Vieira
                    Dec 8 at 6:21


















                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f1097566%2fconfiguring-a-vnc-desktop-upgrading-gui-from-classic-gnome-desktop-to-newest-gn%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

                    Ellipse (mathématiques)

                    Quarter-circle Tiles

                    Mont Emei