Can Yocto Linux run X applications? I have been trying to ssh to Yocto with the "-X" flag, however that is failing. I realized that by default there is no X server running. I tried running X server with "startx" but no avail. Are there any packages for installing X server on Yocto Linux?
I need to run some X applications in my Galileo.
I think it would not be vary simple... there are some threads about this issue, and maybe this one will help you
(I've not checked anything)
Just curious: why do you need X/what do you plan to do?
I have never tried to install xserver on my Galileo, however, as Fernando mentioned, this might not ba a very simple thing to achieve. However, I must point out that Galileo does not have a dedicated video interface therefore you will have to install the drivers of what you are going to use as output device (i.e. your monitor).
That being said, you can find the source of xserver in https://www.x.org/releases/X11R7.7/src/xserver/ https://www.x.org/releases/X11R7.7/src/xserver/ and its documentation in https://www.x.org/releases/X11R7.7/doc/index.html https://www.x.org/releases/X11R7.7/doc/index.html.
When you try to build xserver remember to install its dependencies, otherwise it will fail during the building process, they are:
OpenSSL-1.0.2h or Nettle-3.2 or libgcrypt-1.7.0
This is a very interesting project and I would like to see how it develops. I invite you to try to install xserver on Galileo and share your results on the community, they might be of much help for other users.
HannaJen: Thank you for the motivation. I'm going to try out and share my developments
FGT: It's a proprietary software of a solar inverter manufacturer. I don't have the source-code, only the GUI software which needs X to run.