Skip To Main Content
Support Knowledge Base

Unable to Perform GUI Access for Intel® Developer Cloud

Content Type: Install & Setup   |   Article ID: 000095964   |   Last Reviewed: 12/08/2023

Description

Unable to access the GUI for Intel® Developer Cloud instance on a web browser.

Resolution

In order to enable the GUI Access for Intel® Developer Cloud, follow the steps below.

  1. Connect to an Intel® Developer Cloud instance using the SSH command from View Instances page.
  2. Execute the following commands line-by-line, to set up VNC.

    sudo apt install xfce4 xfce4-goodies tightvncserver xterm firefox -y

    sudo update-alternatives --config x-terminal-emulator

    sudo snap install novnc

    mkdir ~/.vnc

    cat > ~/.vnc/xstartup <<EOF

    #!/bin/bash

    xrdb $HOME/.Xresources

    startxfce4 &

    EOF

    chmod +x ~/.vnc/xstartup

  3. Execute the following command to start a VNC server instance.
    vncserver -geometry 1280x1024 :1
  4. Execute the following command to run noVNC.
    novnc --vnc localhost:5901
     
    NoteIf encounter error: Port 6080 in use.
    Try --listen PORT
    1. Kill the process running on port 6080 using the following command.
      fuser -k 6080/tcp
    2. Execute the following command to run noVNC again.
      novnc --vnc localhost:5901
  5. Open a new terminal, add -L 6080:localhost:6080 to the end of the SSH command and connect to the instance.
  6. Navigate to the following URL on a web browser.
    http://localhost:6080/vnc.html?host=localhost
  7. Connect using the password set up during VNC configuration, and successfully access the GUI.
  8. Open a terminal in the GUI and launch xterm.
  9. Execute the following command to disable the access control.
    xhost +
  10. Finally, launch any installed application from the GUI on the Intel® Developer Cloud instance without issue.

Related Products

This article applies to 1 products.