Python GUI not forwarded through SSH anymore

Forum / NoMachine for Linux / Python GUI not forwarded through SSH anymore

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #52467
    changty6
    Participant

    Hi!

    I was running some python-based programs on a headless RHEL 9 computer, and using [removed] to SSH in and run the GUI remotely on a Windows computer.

    But after I installed NoMachine on that Linux, the GUI will not be forwarded through [removed] anymore onto the Windows machine. I connected the Linux with NoMachine and found the GUI was displayed locally. Does anyone know the reason?

    Thanks!

    #52474
    Britgirl
    Keymaster

    NoMachine does not interfere with other applications as far as our tests show in our labs.  You could try with a simple SSH -X started from a Linux terminal and see if you get the same behaviour. If the cause were NoMachine, there will be the same issue, but as I mentioned, our tests don’t show any similar behaviour. It seems more of a problem of the application or your other ssh server/client product. Another way to check is by stopping the nxserver completely (settings -> server -> status -> shutdown).

    #52475
    changty6
    Participant

    Thanks for the reply. We tested with a few computers, and found this behavior only happens with NoMachine on RHEL/Rocky 9. Other computers with RHEL 8.3/8.6 work fine with NoMachine.

    This behavior is highly related to NoMachine: The python applications forward their GUI through the ssh client without problem with NO NoMachine installed. But the GUI stops being forwarded right after NoMachine is installed and started. After I completely stopped nxserver, the GUI will be forwarded again. I’ll have to completely shutdown the nxserver then reboot the computer to resume the forwarding.

    The NoMachine we are using is Workstation version 8.13.1

    Edit: typo

    #52477
    changty6
    Participant

    An update: after I shutdown the nxserver, I can resume the forwarding by ‘sudo systemctl restart display-manager’

    #52479
    Britgirl
    Keymaster

    Can you tell us which “python-based programs” you are using, we are going to investigate further.

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

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