4 Replies Latest reply on Oct 3, 2016 5:32 PM by deedeeyelverton

    The system display is not defined therefore CodeXL cannot run.

    yurtesen

      I have just installed CodeXL 1.8 and used ssh with X forwarding to login the system. I tested running glxgears and it works just fine. However CodeXL is complaining about the system display. Can you tell why this may be happening?

       

      $ glxgears

      540 frames in 5.0 seconds = 107.985 FPS

      XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"

            after 1959 requests (1959 known processed) with 0 events remaining.

      $ CodeXL

      The system display is not defined therefore CodeXL cannot run.

      This may be caused by:

      Working with a remote connection but X11 forwarding not defined, or

      Logging in as a user but launching CodeXL as root, or vice versa

      $

       

      Thanks,

      Evren

        • Re: The system display is not defined therefore CodeXL cannot run.
          yurtesen

          Nevermind, I used strace to see what it was looking for and apparently it was looking for xhost!!! The error message is really misleading! After installing xhost I still need more stuff apparently. but at least this specific problem is solved.

           

          stat("/export/modules/devel/AMD-APP-SDK/2.9/samples/opencl/bin/x86_64/xhost", 0x                                                                                                             7fff7f23a680) = -1 ENOENT (No such file or directory)
          stat("/export/modules/devel/AMD-APP-SDK/2.9/bin/x86_64/xhost", 0x7fff7f23a680) =                                                                                                              -1 ENOENT (No such file or directory)
          stat("/export/modules/compilers/gnu/gcc/4.9.0/bin/xhost", 0x7fff7f23a680) = -1 E                                                                                                             NOENT (No such file or directory)
          stat("/export/modules/tools/amd-CodeXL/1.8.9654/x86_64/xhost", 0x7fff7f23a680) =                                                                                                              -1 ENOENT (No such file or directory)
          stat("/export/modules/tools/amd-CodeXL/1.8.9654/xhost", 0x7fff7f23a680) = -1 ENO                                                                                                             ENT (No such file or directory)
          stat("/usr/local/sbin/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or direc                                                                                                             tory)
          stat("/usr/local/bin/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or direct                                                                                                             ory)

          stat("/usr/sbin/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or directory)

          stat("/usr/bin/xhost", 0x7fff7f23a680)  = -1 ENOENT (No such file or directory)

          stat("/sbin/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or directory)
          stat("/bin/xhost", 0x7fff7f23a680)  = -1 ENOENT (No such file or directory)

          stat("/usr/games/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or directory)

          stat("/usr/local/games/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or dire                                                                                                             ctory)