4.8 Configuring an RSE connection to work with an ARM® Linux target

On some targets you can use a Secure SHell (SSH) connection with the Remote System Explorer (RSE) provided with DS-5.


  1. In the Remote Systems view, click on the Define a connection to remote system option on the toolbar.
  2. In the Select Remote System Type dialog box, expand the General group and select Linux.
    Figure 4-2 Selecting a connection type
    Selecting a connection type

  3. Click Next.
  4. In Remote Linux System Connection, enter the remote target IP address or name in the Host name field.
    Figure 4-3 Defining the connection information
    Defining the connection information

  5. Click Next.
  6. Select SSH protocol file access.
    Figure 4-4 Defining the file system
    Defining the file system

  7. Click Next.
  8. Select the shell processes for Linux systems.
    Figure 4-5 Defining the processes
    Defining the processes

  9. Click Next.
  10. Select SSH shells.
    Figure 4-6 Defining the shell services
    Defining the shell services

  11. Click Next.
  12. Select SSH terminals.
    Figure 4-7 Defining the terminal services
    Defining the terminal services

  13. Click Finish.
  14. In the Remote Systems view:
    1. Right-click on the Linux target and select Connect from the context menu.
    2. In the Enter Password dialog box, enter a UserID and Password if required.
    3. Click OK to close the dialog box.
    4. Copy the required files from the local file system on to the target file system. You can do this by dragging and dropping the relevant files in the Remote Systems view.
      This example uses Gnometris which requires copying the stripped version of the Gnometris application, gnometris, and the libgames-support.so library.
    5. Ensure that the files on the target have execute permissions. To do this, right-click on each file, select Properties from the context menu and select the checkboxes as required.
      Figure 4-8 Modifying file properties from the Remote Systems view
      Modifying file properties from the Remote Systems view

  15. Open a terminal shell that is connected to the target and launch gdbserver with the application:
    1. In the Remote Systems view, right-click on Ssh Terminals.
    2. Select Launch Terminal to open a terminal shell.
    3. In the terminal shell, navigate to the directory where you copied the application, then execute the required commands.
      For example, to launch Gnometris:
      export DISPLAY=ip:0.0
      gdbserver :port gnometris
      is the IP address of the host to display the Gnometris game
      is the connection port between gdbserver and the application, for example 5000.


      If the target has a display connected to it then you do not need to use the export DISPLAY command.
This section contains the following subsections:
Related tasks
4.3 Importing the example projects into Eclipse
4.4 Building the gnometris project from Eclipse
4.5 Building the gnometris project from the command line
4.6 Loading the Gnometris application on a Fixed Virtual Platform (FVP)
4.7 Loading the Gnometris application on to an ARM® Linux target
4.8.2 Connecting to the Gnometris application that is already running on an ARM® Linux target
4.9 Debugging Gnometris
Related reference
4.2 Examples provided with DS-5
Related information
Debug Configurations - Connection tab
Debug Configurations - Files tab
Debug Configurations - Debugger tab
Debug Configurations - Environment tab
Target management terminal for serial and SSH connections
Remote Systems view
Non-ConfidentialPDF file icon PDF versionARM DUI0478Y
Copyright © 2010-2016 ARM. All rights reserved.