September 29, 2020 at 07:37 #29693
I can’t get the nxplayer GUI to load. When I right click on the !M icon, nothing happens. I have a desktop shortcut to launch a new connection, which runs (I can tell using the ‘ps’ command) but nothing displays on screen. Same with selecting the NoMachine through the Applications menu. I can try running the player manually (usr/NX/bin/nxplayer), but that also doesn’t load the GUI. I’ve confirmed that the server is enabled and running. The odd thing is that it works sometimes, but seems random and I can’t pinpoint why.
Server version: 6.11.2
Linux version: Redhat Enterprise Linux 7September 29, 2020 at 16:29 #29706
Please run this command
strace -v -f -o nxplayer.trace /usr/NX/bin/nxplayer
and send the nxplayer.trace file to forum[at]nomachine[dot]com.September 30, 2020 at 07:35 #29711
Sent. But note that I had to kill the process because it was hanging. Hopefully it captured relevant information.September 30, 2020 at 17:23 #29737
Hi. Thanks, data was enough to know that the process stops while connecting to the X server, but it is not clear why this happens. Could you please do the following and send by e-mail the file gdb.txt:
sudo gdb -p $(pgrep nxplayer)
– In gdb run the following commands:
set pagination off
set logging on
thread apply all bt full
set logging off
Note: the file gdb.txt will be owned by root, you’ll need to use ‘sudo’ to delete it.October 1, 2020 at 17:52 #29752
File has been sent.
For other users who may come across this, note that I had to run the following command to resolve an error with gdb (unefined symbol pyunicodeucs34_fromencodedobject), which occurs if the you have a different default path for Python:
unsetenv LD_LIBRARY_PATHOctober 2, 2020 at 11:33 #29769
Hi, thanks. Are you starting the client in a remote virtual desktop?
Please try the following: edit /usr/NX/bin/nxplayer and add the line
unset LD_PRELOADbefore the exec command.October 2, 2020 at 15:32 #29774
Yes, the client is being started in a remote desktop. I can confirm that adding the above line works! The player now launches!October 5, 2020 at 09:17 #29790
I am curious though as to why this works. Can you explain exactly what unsetting LD_PRELOAD does? Thanks again!October 15, 2020 at 08:44 #29945
Sorry for my late answer. I noticed you’re using VirtualGL and somehow it is blocking the connection of the client to the X server. By unsetting LD_PRELOAD you’re telling the client to not use VirtualGL.
You must be logged in to reply to this topic.