sdk-manual: Added note for running remote apps with SSH port forw enabled.

I added the following note in the section that deals with running
Eclipse with a remote application.

Fixes [YOCTO #9276]

Currently, Eclipse does not support SSH port forwarding.
Consequently, if you need to run or debug a remote
application using the host display, you must create a
tunneling connection from outside Eclipse and keep
that connection alive during your work.
For example, in a new terminal, run the following:

     ssh -XY user_name@remote_host_ip

After running the command, add the command to be executed
in Eclipse's run configuration before the application
as follows:

     export DISPLAY=:10.0

(From yocto-docs rev: 7bf2875ff1653a8e50fa8e2bba540b2eb2512d2d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2016-03-23 10:38:41 -07:00 committed by Richard Purdie
parent 12f5c25ae7
commit 2df514bfe4
1 changed files with 17 additions and 0 deletions

View File

@ -1261,6 +1261,23 @@
your application using the Eclipse IDE and then use
the emulator to perform debugging.
Follow these steps to deploy the application.
<note>
Currently, Eclipse does not support SSH port forwarding.
Consequently, if you need to run or debug a remote
application using the host display, you must create a
tunneling connection from outside Eclipse and keep
that connection alive during your work.
For example, in a new terminal, run the following:
<literallayout class='monospaced'>
ssh -XY user_name@remote_host_ip
</literallayout>
After running the command, add the command to be executed
in Eclipse's run configuration before the application
as follows:
<literallayout class='monospaced'>
export DISPLAY=:10.0
</literallayout>
</note>
<orderedlist>
<listitem><para>Select "Debug Configurations..." from the
"Run" menu.</para></listitem>