Strange problem of Nano PI M1

willy wen
Dear All
We have a little program written by C#. It will read data from ttyS1 and
show information on X-window ( lightdm). We write the autorun to start the
program whenever Nano PI M1 starts. The problem is the program can't show
anything when it is brought by autorun. But when we kill the program and
restart by hand, everything is fine. Could you give me any idea to solve
this problem. ThankS!

davef
I would suggest using PSU-ONECOM or some other UART adapter and minicom to
view your boot messages.

Maybe describe how you do autorun.  This is probably at the end of the boot
process.

willy wen
Thanks!
The autorun is in the directory fa. the full path is
/home/fa/.config/lxsession/LXDE/autorun
it will bring program up when LXDE is ready.
As I said before, the ttyS1 communication is no problem when we restart
this program .
Please help. Thanks!

davef
So, the boot messages don't tell you what is happening?

Maybe look in syslog to see if you can see any differences.

I can't suggest anything else.

Good luck!

armitaa
Mouse-over the link, copy link location and in terminal type:

$ git clone and then edit paste

Or, should I know that :)

Will have a look at actually using it over the next few weeks.

http://coads.myfablog.ir/
http://myfablog.ir/
http://ruzblog.com/link
http://www.ruzblog.com/
http://coads.ruzblog.com/
http://www.ironiblog.ir/
http://ironiblog.ir/
http://news.ironiblog.ir/
http://coads.ironiblog.ir/
http://ruzfa.ir/
http://coads.blog90.ir/
http://blog90.ir/
http://chatghoghnoos.ruzblog.com/
http://salardanlod.ruzfa.ir/
http://pardiswebc.ruzfa.ir/
http://link.blog90.ir/
http://link.ruzblog.com/
http://backlink.ruzblog.com/
http://goodmorningtextmessages.ruzblog.com/
http://facenama.ruzblog.com/
http://salardanlod.ruzfa.ir/post/14
http://salardanlod.ruzfa.ir/post/10
http://facebookcom.ir/
http://persian-nod.ir/
http://omidfars.ir/
http://asemane-shahr.ir/
http://chatfarsi.ir/
http://7musics.ir/
http://blogrss.ir/
http://bit.ly/2pjYSMW
http://bit.ly/2oVFgvA
http://bit.ly/2o9iYsU
http://bit.ly/2pWVzav
http://bit.ly/2pIcoa3
http://bit.ly/2o97C8b
http://bit.ly/2oPxODB
http://bit.ly/2pIH4e5