30 thoughts on “How To install Setup VNC Server On Ubuntu 18.04 LTS Bionic Beaver

  • apt-get install xfce4 xfce4-* vnc4server -y

    vncserver

    vncserver -kill :1

    mv ~/.vnc/xstartup ~/.vnc/xstartup.bak

    nano ~/.vnc/xstartup

    #!/bin/bash

    xrdb $HOME/.Xresources

    startxfce4 &

    chmod +x ~/.vnc/xstartup

    vncserver

  • Commands:
    lsb_release -a ; hostname -I ; hostname ; getconf LONG_BIT

    apt-get install xfce4 xfce4-* vnc4server -y
    vncserver
    vncserver -kill :1
    mv ~/.vnc/xstartup ~/.vnc/xstartup.bak

    vim ~/.vnc/xstartup
    #!/bin/bash
    xrdb $HOME/.Xresources
    startxfce4 &

    chmod +x ~/.vnc/startup
    vncserver

  • like others are saying, post the commands so its easier for us to copy. watching you do it in a 2min video is not fun. thx

  • Heres the commands for you lazy f***s:
    lsb_release -a ; hostname -I ; hostname ; getconf LONG_BIT
    apt-get install xfce4 xfce4-* vncserver -y
    vncserver
    vncserver -kill :1
    mv ~/.vnc/xstartup.bat
    nano ~/.vnc/xstartup.bak
    #!/bin/bash
    xrdb $HOME/.Xresources
    startxfce4 &
    chmod +x ~./.vnc/xstartup
    vncserver

  • sudo apt-get install xfce4 xfce4-goodies

    The above also works, and is **faster**!

  • vncserver

    vncserver -kill :1

    mv ~/.vnc/xstartup ~/.vnc/xstartup.bak

    nano ~/.vnc/xstartup

    #!/bin/bash

    xrdb $HOME/ .Xresources

    startxfce4 &

    chmod +x ~/.vnc/xstartup

    vncserver

  • I would have been better if you share the txt file text in your description

  • the server screen is not responding for the mouse clicks after connected. please help me out

  • lsb_release -a ; hostname -I ; hostname ; getconf LONG_BIT

    sudo su

    apt-get install xfce4 xfce4-* vnc4server -y

    vncserver

    vncserver -kill :1

    mv ~/.vnc/xstartup ~/.vnc/xstartup.bak

    nano ~/.vnc/xstartup

    #!bin/bash

    xrdb $HOME/.Xresources

    startxfce4 &

    chmod +x ~/.vnc/xstartup

    vncserver

    hostname -I

  • Here are the commands-

    lsb_release -a ; hostname -I ; hostname ; getconf LONG_BIT

    apt-get install xfce4 xfce4-* vnc4server -y

    vncserver

    vncserver -kill :1

    mv ~/.vnc/xstartup ~/.vnc/xstartup.bak

    nano ~/.vnc/xstartup

    #!/bin/bash

    xrdb $HOME/.Xresources

    startxfce4 &

    chmod +x ~/.vnc/xstartup

    vncserver

  • Please paste commands in the video description so that we can copy-paste.

  • i have installed ubuntu 18.04 lts – in that i am trying to install x11vnc server, but its not working for me
    i have tried this configuration also

  • apt-get install xfce4 xfce4-* vnc4server -y
    vncserver
    vncserver -kill :1
    mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
    nano ~/.vnc/xstartup
    #!/bin/bash
    xrdb $HOME/.Xresources
    startxfce4 &
    chmod +x ~/.vnc/xstartup
    vncserver
    hostname -I

  • Here's the commands if anyone needs them:

    apt-get install xfce4 xfce4-* vnc4server -y

    vncserver

    vncserver -kill :1

    mv ~/.vnc/xstartup ~/.vnc/xstartup
    .bak
    nano ~/.vnc/xstartup

    #!/bin/bash

    xrdb $HOME/.Xresources

    startxfce4 &

    chmod +x ~/.vnc/xstartup

    vncserver

  • Thank you so much Sir. I finally found a way to acces ubuntu dekstop gui in an orange pi zero armbian bionic server. Thank you!!! 🙂

  • lsb_release -a; hostname – I; hostname; getconf LONG_BIT
    vncserver
    vncserver -kill :1
    mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
    nano ~/.vnc/xstartup
    #!/bin/bash
    xrdb $HOME/.Xresources
    startxfce4 &
    chmod +x ~/.vnc/xstartup
    vncserver

  • These commands worked for me BUT what if I want to VNC into my normal gnome desktop? using these commands only allows me to use xfce4. So would i have to just type "apt-get install gnome gnome-* vncserver -y" to get the gnome desktop for the vncserver?

  • This didn't work for me, just get a gray screen

  • apt-get install xfce4 xfce4-* vnc4server -y
    vncserver
    vncserver -kill :1

    nano ~/.vnc/xstartup

    #!/bin/sh

    xrdb $HOME/.Xresources
    xsetroot -solid grey
    # fix to make xfce work:
    startxfce4 &

    chmod +x ~/.vnc/xstartup
    sudo apt-get install gnome-panel

    vncserver

  • It would have been better if you would have added commands in the description.

Comments are closed.