Qt won't start via remote-desktop

  • Hi,
    My main development PC is Windows 8.1 Pro, but i need to develop a desktop app for Ubuntu.
    An Ubuntu machine in a remote rack has been provided, and I can connect to that using remote desktop, however, when I try and start Qt on the Ubuntu machine, I get the following errors:

    QXcbConnection: Failed to initialize XRandr
    Qt: XKEYBOARD extension not present on the X server.
    QQuickWidget: Failed to make context current
    QQuickWidget::resizeEvent() no OpenGL context

    NB: I would like to use windows "remote desktop" as the screen resolution is virtual, and can therefore fill my (large) desktop monitor, and *should" therefore give me a nice big Qt IDE work-space. In contrast, whilst Qt over VNC does work, it only provides a small 1024x768 window as the work-space, which makes developing code a real chore.
    I would therefore like to actually fix this problem with remote-desktop and Qt, rather than work-around it .

    Can anyone help actually solve this problem?

    Nicholas Lee

  • Moderators

    I don't know the answer, sorry. But maybe this thread will at least help you a bit: https://forum.qt.io/topic/79580/opening-qt-from-remote-desktop-connection

  • Qt Champions 2017

    Try starting Creator with
    qtcreator -noload Welcome -noload QmlDesigner -noload QmlProfiler

    Unless you ofcourse need QML :)

    On windows RDP do not support openGl higher than 1.1
    but often a work around it simply to start App first then remote connection.
    Which in your case is not really possible ?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.