<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: Display using VNCServer</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477456#M75767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. this is for board terminal...What to do on ubuntu terminal, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2016 07:29:48 GMT</pubDate>
    <dc:creator>1990rahulreddy</dc:creator>
    <dc:date>2016-04-20T07:29:48Z</dc:date>
    <item>
      <title>Display using VNCServer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477453#M75764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QT5 image is running on iMx6-SDB. How to get display on my screen &amp;lt;Desktop screen &amp;gt;using VNC Server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 07:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477453#M75764</guid>
      <dc:creator>1990rahulreddy</dc:creator>
      <dc:date>2016-04-04T07:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Display using VNCServer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477454#M75765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="261106" data-username="1990rahulreddy" href="https://community.nxp.com/people/1990rahulreddy"&gt;Rahul Reddy&lt;/A&gt; , if i understand correctly you have a Qt5 Application running on your iMX6-SDB board and you want to get the display on your remote screen ( i assume that's on your development PC), right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's the case, you need to have a vncserver application on your board. In my case i'm not using &lt;STRONG&gt;Yocto&lt;/STRONG&gt; to build my filesystem (or the entire BSP) but &lt;STRONG&gt;Buildroot&lt;/STRONG&gt;. And in &lt;STRONG&gt;Buildroot&lt;/STRONG&gt; there is an application available called x11vnc which uses some x11 libraries but doesn't depend on the X server. Maybe it's also available on Yocto, i don't know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;1) How to run your Qt5 application?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your Qt5 Application, you have to precise some options when launching your application. For instance if you want to use the linux framebuffer you can use the platform option :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./myCuteQt5App -platform linuxfb -geometry WxH &amp;amp; &lt;/STRONG&gt;&lt;EM&gt;(W and H are integers, where W is the width and H the height of your application, and 'x' is the x letter not '*') &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not a Qt5 expert, but what i've understood is that with this option, the rendered image of your application is written to the linux framebuffer which is at /dev/fb0 (by default) and regularly updated according to the changes of your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is other option according to what you want to do , which plugin (evdemouse, evdevkeyboard etc.) you want to use etc.&lt;/P&gt;&lt;P&gt;You can see : &lt;A href="http://doc.qt.io/qt-5/embedded-linux.html" title="http://doc.qt.io/qt-5/embedded-linux.html"&gt;Qt for Embedded Linux | Qt 5.6&lt;/A&gt;&amp;nbsp; for more precise explanations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;2) How to remotely access to your Qt5 application?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the real deal because, from Qt4.x to Qt5.x the vnc plugin which was integrated was unfortunately removed :smileysad:.&lt;/P&gt;&lt;P&gt;So you have to find another way to access remotely to you application.&lt;/P&gt;&lt;P&gt;In my case as i said above, i use x11vnc. So if you launch your application like above you can launch x11vnc to remotely display your Qt5 application like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;x11vnc -noipv6 -rawfb /dev/fb0 -clip WxH&lt;/STRONG&gt; &lt;EM&gt;(W and H are integers, where W is the width and H the height of your application, and 'x' is the x letter not '*') &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;3) VNC Client&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last part, you probably know. You have to connect to your vnc server via a vnc client (i use TightVNC Client).&lt;/P&gt;&lt;P&gt;After launching the server you should see the port on which the server is waiting for connection and use it to connect to x11vnc and see your Cute Qt5 application :smileyhappy: .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;4) Issue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Up to now, i have an issue related to this procedure. I can use my Keyboard but the mouse is not working, so it's not very convenient if you want to navigate and use your application properly . I think that's related to the way i launch the App or the server but i haven't found any solution yet.&lt;/P&gt;&lt;P&gt;There is a Qt forum and a thread dedicated to embedded issue. So if you have any question don't hesitate to go there , maybe you will have more interesting answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I'm a french speaker, sorry in advance for my english.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 08:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477454#M75765</guid>
      <dc:creator>borisbignumb</dc:creator>
      <dc:date>2016-04-13T08:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Display using VNCServer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477455#M75766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can run VNC server with the command like this on your board running QT5 image:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# /usr/bin/x11vnc -display :0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will see such lines among the diasnostics:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The VNC desktop is:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imx6qdlsolo:0&lt;/P&gt;&lt;P&gt;PORT=5900&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These lines mean that it is #0 X sevrer on the host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 06:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477455#M75766</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-04-20T06:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display using VNCServer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477456#M75767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. this is for board terminal...What to do on ubuntu terminal, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 07:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477456#M75767</guid>
      <dc:creator>1990rahulreddy</dc:creator>
      <dc:date>2016-04-20T07:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display using VNCServer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477457#M75768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use any of VNC clients to access your VNC server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=https%3A%2F%2Fhelp.ubuntu.com%2Fcommunity%2FVNC%2FClients" rel="nofollow" target="_blank"&gt;https://help.ubuntu.com/community/VNC/Clients&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 04:08:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Display-using-VNCServer/m-p/477457#M75768</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-05-24T04:08:39Z</dc:date>
    </item>
  </channel>
</rss>

