poky: 68824d9b8f6e290da078383316b3f4b732585f2b eclipse-poky-kepler: 4a167fd662262ebdaa3cf0d332ac0debb52d7904 AB link: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7_M1.rc1 DESCRIPTION: When first deploying an app with Eclipse to a running QEMU (using SSH connection) sometimes (not 100%) sh don't have permissions to run. STEPS TO REPRODUCE: 1. Setup an eclipse environment running headless build and installing the eclipse plugin (Kepler) from the AB. 2. As Sysroot, toolchain and QEMU you can either use adt-installed qemu (this means that the qemu will boot via NFS - was downloaded the tar.gz version), it's not an *.ext3 booted image (didn't test with it yet) 3. Create a GTK autotools project (in my case but happened with a simple C autotools project). 4. Reconfigure the project 5. Build the project 6. Power on qemu from Eclipse Plugin 7. Setup a new SSH connection within Eclipse and deploy the app using the Run Configurations menu. 8. In Run configurations, make sure you select the connection created in #7 and the other settings, like exporting the display (more details in the attached print_screen_2) 9. Press RUN 10. Try again step #9 EXPECTED RESULTS: 9. App deploys to QEMU and runs. 10. App deploys to QEMU and runs. ACTUAL RESULTS: 9: Some error permission happens: Last login: Wed Jul 2 13:59:08 2014 from 192.168.7.7 echo $PWD'>' export DISPLAY=:0.0;/home/root/jkalkjadkljaklsjdlka;exit root@qemux86:~# echo $PWD'>' /home/root> root@qemux86:~# export DISPLAY=:0.0;/home/root/jkalkjadkljaklsjdlka;exit -sh: /home/root/jkalkjadkljaklsjdlka: Permission denied logout 10. App deploys to QEMU and runs! NOTE!!! Note that attempting the second time this works.
Created attachment 2026 [details] error messages in eclipse
Created attachment 2027 [details] yocto project settings
I'm not sure but this might be related to: bug 6484
Unable to reproduce. Noticed similar behaviour if initial configuration lacked a proper entry for "Remote Absolute File Path for C/C++ Application" text box. Suspect initial error was due to erroneous entry for above mentioned text box.