Nxplayer GUI doesn’t load

Forum / NoMachine for Linux / Nxplayer GUI doesn’t load

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #29693
    KA1026
    Participant

    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.

     

    Version: 6.9.2

    Server version: 6.11.2

    Linux version: Redhat Enterprise Linux 7

    #29706
    Tor
    Participant

    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.

    #29711
    KA1026
    Participant

    Sent. But note that I had to kill the process because it was hanging. Hopefully it captured relevant information.

    #29737
    Tor
    Participant

    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:

    – Execute /usr/NX/bin/nxplayer
    – Execute 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
    quit

    Note: the file gdb.txt will be owned by root, you’ll need to use ‘sudo’ to delete it.

    #29752
    KA1026
    Participant

    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_PATH

     

     

    #29769
    Tor
    Participant

    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_PRELOAD before the exec command.

    #29774
    KA1026
    Participant

    Yes, the client is being started in a remote desktop. I can confirm that adding the above line works! The player now launches!

    #29790
    KA1026
    Participant

    I am curious though as to why this works. Can you explain exactly what unsetting LD_PRELOAD does? Thanks again!

    #29945
    Tor
    Participant

    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.

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

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