How to add NoMachine

Forum / NoMachine for Linux / How to add NoMachine

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #49005
    PaulGureghian1
    Participant

    to the $PATH on Fedora 40 with Xfce?

    #49010
    Britgirl
    Keymaster

    Can you provide more details about what you’d like to achieve?

    #49017
    PaulGureghian1
    Participant

    To be able to launch both nxplayer and nxserver from anywhere in the filesystem in the terminal.

    #49039
    Britgirl
    Keymaster

    Take a look at this web page which gives instructions on how to add a directory to PATH in Linux https://linuxize.com/post/how-to-add-directory-to-path-in-linux. For example,

    for only one account:

    export PATH="/usr/NX/bin:$PATH" >> ~/.bashrc

    for global (need to be done as root):

    export PATH="/usr/NX/bin:$PATH" >> /etc/bash.bashrc

    You could use aliases (edit the same files based on whether you want to set globally or locally, and add these lines):

    alias nxserver=’/etc/NX/nxserver’
    alias sudonxserver=’sudo /etc/NX/nxserver’

    alias nxplayer=’/usr/NX/bin/nxplayer’

     

     

     

    #49052
    PaulGureghian1
    Participant

    When I add NM to the path on Pop nxplayer launches from anywhere in the file system.
    But in Fedora it doesn’t launch and gives a shared library error. been trying to fix it with no luck.
    Seems the only way to launch NM on Fedora is by using the full path.

    #49055
    PaulGureghian1
    Participant
    #49561
    Britgirl
    Keymaster

    Strange. Our tests on default Fedora don’t reproduce any problems. We set this:

    export PATH=”$PATH:/usr/NX/bin”

    in .bashrc, and it works.

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

You must be logged in to reply to this topic. Please login .