Hello,


I have a QT5 apps which runs great in xterm but when I want to start it in a .xinitrc file. I have the following error :

QXcbXSettings::QXcbXSettings(QXcbScreen*) Failed to get selection owner for XSETTINGS_S atom
QXcbConnection: XCB error: 163 (Unknown), sequence: 150, resource id: 0, major code: 149 (Unknown), minor code: 20

My .xinitrc is very simple :

/path/qt5_app -platform xcb



As I write previously if I create an .xinitrc file with only a call to xterm it's work and if I call my app in the xterm window it's work...

Thanks to help me to solve my problem or find an other solution to start my app just after a startx command.