
Installing SEGGER Embedded Studio
================================================================================

Run "./install_segger_embedded_studio" as root user and follow the installation 
instructions.

If you get a "This program must be run as root" error message when you run 
"./install_segger_embedded_studio", you are not running as root user. To solve 
this, log in as root user and run "./install_segger_embedded_studio". 
Alternatively, if you are a user with sudo privileges you can use "sudo 
./install_segger_embedded_studio".


Starting SEGGER Embedded Studio
================================================================================

On most distributions a SEGGER Embedded Studio icon will be added to the 
programming/development application desktop menu, simply click on this icon to 
start SEGGER Embedded Studio. 

Alternatively, you can start SEGGER Embedded Studio from the command line as 
follows:

1. Start a terminal and cd to the directory you installed SEGGER Embedded 
Studio into.

2. Start SEGGER Embedded Studio by running "./bin/emStudio".


Installing SEGGER Embedded Studio on a headless server
================================================================================

Run "./install_segger_embedded_studio --copy-files-to installation_directory" 
and follow the instructions.


Troubleshooting
================================================================================

Installing on systems running the Wayland display server
--------------------------------------------------------------------------------

When running the installer on systems running the Wayland display server, root 
needs permission to access the display server. If root does not have 
permission, you will get the following error when running the installer:

  No protocol specified
  error: cannot open display

To resolve this, run the following command from a terminal before running the 
installer:

  xhost +SI:localuser:root

NOTE: When running this command you should be logged in as the user with 
permission to access the display server rather than root.

