Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator doesn't open with xrdp
QtWS25 Last Chance

Qt Creator doesn't open with xrdp

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 9.1k Views
  • 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.
  • B Offline
    B Offline
    benbalach
    wrote on 14 Jan 2015, 20:40 last edited by
    #1

    Hi everyone. Qt Creator 3.0.0 works on my machine, but when I log in using xrdp and I try to open Qt Creator, it doesn't open. So I tried to open it from the terminal to see what's really going on and here's what I got:

    @
    QXcbConnection: Failed to initialize XRandr
    Error: Couldn't find the file "rules/" in include paths
    Error: 1 include paths searched:
    Error: /usr/shar/X11/xkb
    Error: 1 include paths could not be added:
    Error: /home/ben/.xkb
    Error: Couldn't look up rules '', model 'pc105', layout '?', variation ''
    Qt: Failed to compile a keymap
    libGL error: No matching fbConfigs or visuals found
    LibGL error: failed to load driver: swrast
    Segmentation fault (core dumped)
    @

    I tried this on Ubuntu 12.04 and 14.10 and I get the same results. This only happens when I try to open Qt Creator while in an xrdp session, otherwise it works perfectly.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hskoglund
      wrote on 14 Jan 2015, 23:20 last edited by
      #2

      Yeah, it needs the desktop environment and currently in Ubuntu the xrdp server doesn't deliver that on Unity or Gnome. You need to install an alternate desktop, for example the xfce desktop, a good description is "here":http://c-nergy.be/blog/?p=5305
      Maybe (as the blog post suggests) if enough people complain, 15.04 will fix this...

      1 Reply Last reply
      0
      • B Offline
        B Offline
        benbalach
        wrote on 15 Jan 2015, 06:35 last edited by
        #3

        I forgot to mention I do use the Xfce desktop environment. The problem has something to do wit the keyboard layout.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hskoglund
          wrote on 15 Jan 2015, 07:44 last edited by
          #4

          I see :-(
          There's another alternative, you could use VNC instead of RDP, type "vino-preferences" in Terminal to enable Ubuntu's built-in VNC-server, then download a free viewer from realvnc.com.
          (This is how I access my 14.04 Ubuntu server, and Qt Creator works for me that way. However there's a "Vino encryption bug":https://bugs.launchpad.net/ubuntu/+source/vino/+bug/1281250 workaround is to enter "dconf write /org/gnome/desktop/remote-access/require-encryption false" in Terminal.)

          1 Reply Last reply
          0

          4/4

          15 Jan 2015, 07:44

          • Login

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