Remote Desktop X11VNC

x11vnc is a tool that allows administrators to connect to the server’s real X desktop directly through the VNC Viewer.

Ubuntu

To use the X Desktop environment on Ubuntu system, you need to manually install it. Follow these steps, and during the installation process, select lightdm as the Display Manager:

sudo apt update
sudo apt install -y xserver-xorg-video-dummy x11vnc xfce4
sudo vim /etc/X11/xorg.conf
sudo reboot

Edit the Xorg configuration file:

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "dummy"
    VideoRam 256000
EndSection

Section "Monitor"
    Identifier  "Configured Monitor"
    HorizSync 5.0 - 1000.0
    VertRefresh 5.0 - 200.0
    ModeLine "1920x1080" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +Hsync +Vsync
#    Modeline "1280x800" 24.15 1280 1312 1400 1432 800 819 822 841
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080"
#    Modes "1280x800"
    EndSubSection
EndSection

Start the x11vnc service:

sudo x11vnc -display :0 -auth /var/lib/lightdm/.Xauthority &

You can now use a VNC client on your PC to remotely connect using the $bm1684_ip:0 address.

To connect using VNC Viewer:

(1)Download and install VNC Viewer on your PC, based on your system.

(2)Open VNC Viewer and skip the login step.

_images/vnc-01.png

(3)Enter the $bm1684_ip:0 address of your EC-A1684XJD4 FD:

_images/ubuntu-vnc-02.png

(4)Click on the circular button next to the linaro username, select xfce, and enter the username and password (both are linaro):

_images/ubuntu-vnc-03.png

(5)You will successfully enter the xfce4 desktop environment.

_images/ubuntu-vnc-04.png