Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

cannot connect to X server :0



  • Hi all,

    i am using qt 4.8 for my toradex board.
    issue is LCD screen gui wont work if i terminate QT demo during autorun.

    systemctl start qt4-x11-demo.service
    
    systemctl stop qt4-x11-demo.service
    

    my application works fine when i keep running QT demo in background.

    getting below error when i stop service

    cannot connect to X server :0
    

  • Lifetime Qt Champion

    Hi,

    Just a wild guess: your X server goes down when you stop the demo ?


Log in to reply