diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-03-23 10:38:41 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-23 21:56:10 +0000 |
commit | 2df514bfe4a911c0dca8828038dd94e6265f50ca (patch) | |
tree | efd278e2ac99335bb2bb528f5dcc5f3b5f6760db /documentation | |
parent | 12f5c25ae7754552e8636a445f4be33563125eb0 (diff) | |
download | poky-2df514bfe4a911c0dca8828038dd94e6265f50ca.tar.gz |
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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/sdk-manual/sdk-using.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/sdk-manual/sdk-using.xml b/documentation/sdk-manual/sdk-using.xml index d198836922..4a8b5811fb 100644 --- a/documentation/sdk-manual/sdk-using.xml +++ b/documentation/sdk-manual/sdk-using.xml | |||
@@ -1261,6 +1261,23 @@ | |||
1261 | your application using the Eclipse IDE and then use | 1261 | your application using the Eclipse IDE and then use |
1262 | the emulator to perform debugging. | 1262 | the emulator to perform debugging. |
1263 | Follow these steps to deploy the application. | 1263 | Follow these steps to deploy the application. |
1264 | <note> | ||
1265 | Currently, Eclipse does not support SSH port forwarding. | ||
1266 | Consequently, if you need to run or debug a remote | ||
1267 | application using the host display, you must create a | ||
1268 | tunneling connection from outside Eclipse and keep | ||
1269 | that connection alive during your work. | ||
1270 | For example, in a new terminal, run the following: | ||
1271 | <literallayout class='monospaced'> | ||
1272 | ssh -XY user_name@remote_host_ip | ||
1273 | </literallayout> | ||
1274 | After running the command, add the command to be executed | ||
1275 | in Eclipse's run configuration before the application | ||
1276 | as follows: | ||
1277 | <literallayout class='monospaced'> | ||
1278 | export DISPLAY=:10.0 | ||
1279 | </literallayout> | ||
1280 | </note> | ||
1264 | <orderedlist> | 1281 | <orderedlist> |
1265 | <listitem><para>Select "Debug Configurations..." from the | 1282 | <listitem><para>Select "Debug Configurations..." from the |
1266 | "Run" menu.</para></listitem> | 1283 | "Run" menu.</para></listitem> |