Is it possible to start a Ubuntu remote desktop session over netFIELD Cloud to an netFIELD Extension Linux enabled device?

Q

Is it possible to start a Ubuntu remote desktop session over netFIELD Cloud to an netFIELD Extension Linux enabled device?

A

Yes this is possible in case the device has a monitor connected and a desktop screen was created.

STEP 1:

Ubunutu supports Remote Desktop sessions by default.

Visit this page https://help.ubuntu.com/stable/ubuntu-help/sharing-desktop.html.de to install GNOME Remote Desktop first on your Ubuntu machine.

In order to let the system use the set VNC password permanently after reach reboot, open the "Password and Keys" application, go to "Login/DefaultKeying", right click to "Change Password" and leave both password boxes empty when asked.

Follow the instruction and enable Remote Desktop Support in the Ubuntu settings.

  1. Enable the "Enable Legacy VNC Protocol"
  2. Set the "Request Password" option behind the "Enable Legacy VNC Protocol" settings
  3. Set the switch "Remote Control" to enable
  4. Set a user and set a password finally
  5. Leave the settings dialog

The remote desktop access via VNC clients is now already available via <Ubuntu machine IP address>:5900

STEP 2:

Install the noVNC function that turns VNC based protocol sessions into html5 sessions made for web browsers

Use the following command on your Ubuntu machine

sudo apt install novnc

STEP 3:

For a test start the noVNC function manually with (or create a "Start Application" and insert the line in the command line for an automatic start)

/usr/share/novnc/utils/launch.sh --vnc 127.0.0.1:5900

STEP 4:

Start a web browser session from a different machine with


http://<<Ubuntu machine IP address>:6080/vnc.html

STEP 5:

Login with the password

STEP 6:

Enable the "Remote Control" function for your Ubuntu device in netFIELD Cloud

Configure the "Remote Control Settings" of your Ubuntu device as follows:

host = 127.0.0.1
http port = 6080