Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt won't start via remote-desktop
Forum Updated to NodeBB v4.3 + New Features

Qt won't start via remote-desktop

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 6.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nicholas Lee
    wrote on last edited by
    #1

    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?

    Regards,
    Nicholas Lee

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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

      (Z(:^

      1 Reply Last reply
      0
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi
        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 ?
        http://support.esri.com/en/technical-article/000012119

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved