Forum / NoMachine for Linux / Nxplayer GUI doesn’t load
Tagged: GUI
- This topic has 8 replies, 2 voices, and was last updated 5 years ago by
Tor.
-
AuthorPosts
-
September 29, 2020 at 07:37 #29693
KA1026ParticipantI 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.
Version: 6.9.2
Server version: 6.11.2
Linux version: Redhat Enterprise Linux 7
September 29, 2020 at 16:29 #29706
TorParticipantPlease run this command
strace -v -f -o nxplayer.trace /usr/NX/bin/nxplayerand send the nxplayer.trace file to forum[at]nomachine[dot]com.
September 30, 2020 at 07:35 #29711
KA1026ParticipantSent. 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
TorParticipantHi. 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:
– Execute
/usr/NX/bin/nxplayer
– Executesudo gdb -p $(pgrep nxplayer)
– In gdb run the following commands:
set pagination off
set logging on
thread apply all bt full
set logging off
quitNote: 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
KA1026ParticipantFile 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_PATH
October 2, 2020 at 11:33 #29769
TorParticipantHi, thanks. Are you starting the client in a remote virtual desktop?
Please try the following: edit /usr/NX/bin/nxplayer and add the lineunset LD_PRELOADbefore the exec command.October 2, 2020 at 15:32 #29774
KA1026ParticipantYes, 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
KA1026ParticipantI 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
TorParticipantSorry 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.
-
AuthorPosts
This topic was marked as solved, you can't post.
