yes, QtCreator  sets DISPLAY=:2.0

chroot env as Xephyr use DISPLAY=:2.0 too.


/*******************************************************/
Email: [email protected]  http://www.byd.com
/*******************************************************/
  ----- Original Message ----- 
  From: Chen, Zhang Z 
  To: [email protected] ; [email protected] ; [email protected] 
  Sent: Tuesday, December 07, 2010 3:00 PM
  Subject: RE: [MeeGo-dev] New idea about Meego SDK with Xephyr


  QtCreator sets DISPLAY=:0 before executing the application. That might be the 
reason why it displays in the chroot env as Xephyr use display :2 ?

   

  From: [email protected] [mailto:[email protected]] 
  Sent: Tuesday, December 07, 2010 2:42 PM
  To: Chen, Zhang Z; [email protected]; [email protected]
  Subject: Re: [MeeGo-dev] New idea about Meego SDK with Xephyr

   

   [...@localhost mnt]$ sudo /etc/init.d/sshd stop  (important) command already 
stop host sshd.

   

   Now ,QtCreator can connection Xephyr,but application UI can't show Xephyr, 
it's show in host desktop,

   

   i try kill host's sshd ,mybey happens something.

   

   

   

  /*******************************************************/
  Email: [email protected]  http://www.byd.com
  /*******************************************************/

    ----- Original Message ----- 

    From: Chen, Zhang Z 

    To: [email protected] ; [email protected] ; [email protected] ; 
[email protected] 

    Sent: Tuesday, December 07, 2010 2:22 PM

    Subject: RE: [MeeGo-dev] New idea about Meego SDK with Xephyr

     

    It's an interesting idea. But your QtCreator configuration just connect to 
the host machine, not the chroot environment. If you kill sshd in your host and 
start it in the chroot environment, the application UI may come up in Xephyr.

     

     

    From: [email protected] [mailto:[email protected]] On 
Behalf Of [email protected]
    Sent: Tuesday, December 07, 2010 1:14 PM
    To: [email protected]; [email protected]; 
[email protected]
    Subject: [MeeGo-dev] New idea about Meego SDK with Xephyr

     

    Because performance of MeeGo OS in QEMU is slow,Animation and screen 
changes is slow , need VT . and There are not many devices runs MeeGo OS.

     

    so, for easy, i hava a new idea is mixed QT-Creator and Xephyr. Qt-Creator 
and Xephyr both are independence running  on linux host,Xehpyr is seen as what 
QEMU,Detailed steps,see the following:

     

    1,installing Meego-sdk for linux

        quote:

        http://wiki.meego.com/MeeGo_SDK_with_

    2,Xephyr

      [...@localhost mnt]$ sudo mount -o loop,offset=512 
/usr/lib/madde/linux-i686/runtimes/meego-handset-ia32-qemu-1.1.20101031.2201-sda-runtime/
 /mnt/chroot/

      [...@localhost mnt]$ sudo /etc/init.d/ssd stop  (important)

      [...@localhost mnt]$ sudo ./meego-sdk-chroot chroot/

       r...@meego-handset-sdk:/# /etc/init.d/sshd start

     

    2,setup QT-creator

     

       see,attach:Screenshot-Options.png

        

       and click test button,it's ok.

     

    3,debuging with Qt Creator

     

     quote:

        http://wiki.meego.com/SDK/Docs/1.1/Debugging_with_Qt_Creator

    4,show interface in MeeGo 

     

       :> Now there is a problem, can't show interface in MeeGo ,only show on 
host desktop.

     

     

     

    hope someone can help me!!

     

     

    /*******************************************************/
    Email: [email protected]  http://www.byd.com
    /*******************************************************/

     

Powered by BYD Security Gateway.

Powered by BYD Security Gateway.
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to