Cannot connect from Mac client to Linux server, “Protocol Error”

Forum / NoMachine for Linux / Cannot connect from Mac client to Linux server, “Protocol Error”

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #54144
    stargrazer82301
    Participant

    Dear NoMachine

    I am having a recurring issue where I am unable to connect to a NoMachine server (on Linux RHEL 9 system) from a Mac client.

    It goes through multiple cycles of “attempting to reconnect: protocol error”, before finishing with “The connection with the server was lost. Error is 100: protocol error”.

    Oddly, other people on the network trying to connect to the same Linux server, also from Mac, are able to do so.

    Our admins have tried running:
    sudo systemctl stop gdm
    sudo /etc/NX/nxserver –restart

    On the server, but to no avail.

    I have updated to the latest version of the NoMachine Mac client.

    I have attached the logs provided by the crash.

    Help very much appreciated!

    #54161
    Britgirl
    Keymaster

    Hi, we would need to see the NoMachine server logs from the host you are connecting to and the from the Player device you are connecting from. Are you using the latest version on both sides, 9.1.24? You can extract them using the instructions here: https://kb.nomachine.com/DT08U00298#1. Attach here or send them to forum[at]nomachine[dot]com. Please use the title of this topic as the subject of your email. Thanks!

    #54162
    stargrazer82301
    Participant

    Hi; many thanks. I just emailed the logs to that address.

    The problem has come and gone several times. Occurred about 1.5 months ago, lasted for ~1.5 weeks, then went away again. It has come back again for the past week. We have updated the server and client a couple of times during this period. The client is definitely on the 9.1.24; the server is either on that, or the previous version. However the problem seems to persist across versions.

    #54166
    Britgirl
    Keymaster

    Hi, thanks for the logs. The agent logs were missing, unfortunately. Can you send us the .nx directory from the user’s home on the Linux server side? Just zip up and send via email. Thanks!

    #54168
    stargrazer82301
    Participant

    Ah, apologies for the oversight. I just emailed them. Thanks again.

    #54173
    Britgirl
    Keymaster

    Not received anything so far.

    #54174
    stargrazer82301
    Participant

    Ah, the email bounced due to attached zip breaching size limit? (It’s 5MB). I just sent another email, with a download link,

    #54185
    Britgirl
    Keymaster

    Logs point to a problem with Gnome, rather than NoMachine. Logs are showing this:

    2919520 2919520 2025-08-25 11:02:12 205.757 NXNODE WARNING! Process '/bin/bash --norc -c exec -a - /bin/bash -c '/bin/dbus-launch --exit-with-session gnome-session --session=gnome'' with pid '2919612/2919612' finished with exit code 1 after 1,369 seconds.

    NoMachine correctly tries to start a virtual display because it detects that your Linux is headless. But Gnome fails to start. Looking in the journalctl file would identify what is happening with Gnome.

    journalctl -b -0 > journal.txt

    #54204
    stargrazer82301
    Participant

    Interesting, thanks.

    journalctl shows the following error comes up whenever I try to connect into NoMachine:

    wireplumber[545931]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner

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

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