March 2, 2019 at 19:05 #21889
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.5April 1, 2019 at 14:15 #21909BritgirlKeymaster
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.April 2, 2019 at 07:45 #21912
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.April 2, 2019 at 07:46 #21916BritgirlKeymaster
Please submit them to forum[at]nomachine[dot]com.April 2, 2019 at 16:08 #21922
Sorry about that, I have sent the files.
Thank youApril 3, 2019 at 07:49 #21924
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.April 4, 2019 at 11:37 #21930
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.April 9, 2019 at 16:30 #21981
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.
This topic was marked as solved, you can't post.