0

I am using an embedded PC which contains VNC server. I am able to access the contents of the embedded PC on my laptop using VNC tight viewer via ethernet cable. I want to run the executable file generated by the Linux operating system on this embedded PC or on VNC tight viewer. Could anyone suggest me some ideas?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
user3252048
  • 77
  • 1
  • 12

2 Answers2

0

You can use sftp/scp for copiying your binary to your embedded PC and then you can run that binary using vnc viewer,execute below command from your linux machine

scp binary username@embeddedPC:/home/username/
Rahul R Dhobi
  • 5,668
  • 1
  • 29
  • 38
0

your pc runnig windows, and you run Linux on virtual machine, and you want to run the binary build from virtual machine on your target board, the one you called embedded PC. Is my understanding right?

If in that case, you should try to use nfs. Run nfs server in your virtual machine, mount the shared folder from you embedded PC. So you can immediately see all changed in the shared folder from you embedded PC, as well as run any generated binary file.

A reference here: http://www.rt-embedded.com/blog/archives/how-to-setup-an-nfs-client-on-the-target/

yongzhy
  • 979
  • 8
  • 18
  • Embedded PC :I am using an embedded PC containing linux RTOS, which contains VNC server. LAPTOP : laptop which I am using contains Windows PC with VNC tight viewer to access the contents of embedded pc. It also contains a virtual machine and linux RTOS is running on that. I am writing my program on eclipse on virtual machine. the executable file generated by virtual machine as to be executed on the embedded PC – user3252048 Feb 13 '14 at 10:29
  • That's exactly what i said. You should setup nfs on your virtual machine. This can avoid copy over after every time you rebuild. – yongzhy Feb 13 '14 at 11:19
  • nfs server on virtual machine. Do I want to use nfs client on the embedded pc ?? – user3252048 Feb 13 '14 at 11:22
  • If your client has mount with nfs support. You can try mount cmd on your client side to test. – yongzhy Feb 13 '14 at 11:26
  • thank you very much . Is there any good document ?? could you please suggest me ?? – user3252048 Feb 13 '14 at 11:30
  • see this one help or not http://www.rt-embedded.com/blog/archives/how-to-setup-an-nfs-client-on-the-target/ – yongzhy Feb 13 '14 at 11:34
  • you sent me the links for setting up nfs client. I have to install nfs server on my virtual machine. Is it right ?? – user3252048 Feb 13 '14 at 12:10
  • Yes, server install is easy, just use your package manager to install, yum for redhat, apt-get for debian family – yongzhy Feb 13 '14 at 12:13