Unable to see app on virtual display

Forum / NoMachine Terminal Server Products / Unable to see app on virtual display

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #21889
    vt600
    Participant

    I am testing out NoMachine to see if it will work for our company, the only issue I am running into at the moment is the Java app we need to run will only work if I run it from the Physical Display. If I try a virtual display the app does not display even though ps shows it running.

    The environment is a CentOS 7 vm running the MATE desktop.

    I am currently testing Terminal Server Edition 6.5

    #21909
    Britgirl
    Keymaster

    Can you tell us what this Java application is?

    Could you also send us the stderr of that app? You can find it in userhome/.xsession-erros or /usr/NX/var/log/node/C-[display]-[sessionid]/client file. Attach it here or send it to forum[at]nomachine[dot]com.

    #21912
    vt600
    Participant

    The app is a custom app written by our developers.

    I have added both files. The clients file looks to have my attempt for today.

     

    Thanks for your help.

     

    #21916
    Britgirl
    Keymaster

    Please submit them to forum[at]nomachine[dot]com.

    #21922
    vt600
    Participant

    Sorry about that, I have sent the files.

    Thank you

    #21924
    brotech
    Participant

    Hello seems, that there is no clear message from your app in provided logs. There could be many reasons why the application doesn’t appear, for example, using fixed DISPLAY variable will provide a similar result.

    Maybe the application reports error messages on its stdout? Could you try to run terminal in your mate desktop, then run your application and save the output if any appears?

    Some information could also give a output of ss command, running when your Java application is running.

    Run another terminal and execute there:

    ss -xp > ss.output

    then share with us ss.output file, and please provide also PID of your Java application.

    #21930
    brotech
    Participant

    Hello,

    we received the ss.output file, and clearly see that your app is connected to our Xserver.

    Now lets see if output of strace command could give some additional information that’s useful for understanding why you can’t see the app.

    Please run a command in terminal:

    strace -v -f -o java.trace <program command line>

    and share with us java.trace file.

    #21981
    brotech
    Participant

    Hello vt600,

    we checked the output of strace command, and we don’t see anything suspicious. Environment seems to be set correct (DISPLAY/Xauthority), there is a connection to the X display from app, so everything looks OK.

    As I understand in that mate desktop all other apps are working well, and there is no problem with running any application except this Java one, so please try to speak with the developers of that program, how to debug and why their application doesn’t appear on desktop.

    Regards

Viewing 8 posts - 1 through 8 (of 8 total)

This topic was marked as solved, you can't post.