Cannot connect to Pi4 (using MacOS)

Forum / NoMachine for Raspberry Pi / Cannot connect to Pi4 (using MacOS)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #53687
    onit
    Participant

    Hi.

    I was trying to get a connection to my Raspberry Pi 4 but could not succeed.

    Here are the details:

    – macOS Sonoma, running NoMachine 9.0.188_11
    – Raspberry Pi 4, Raspberry Pi OS (64-bit), running NoMachine 9.0.188_11 arm64
    – Same LAN; ping my Raspberry from the Mac works; IP confirmed
    – Raspberry appears in NoMachine as “MyRaspberry, Debian GNU/Linux 12 (bookworm)” Host: 192.xxx.x.xx; Port: 4000; Protocol: NX
    – Authentication: Use password authentication

    Error I see on my Mac when waiting a little bit to connect: “A connection timeout has occurred while trying to connect to ‘192.xxx.x.xx’ on port ‘4000’. The issue could either be caused by a networking problem, by a firewall or NAT blocking incoming traffic or by a wrong server address. Please verify your configuration and try again.

    – Testing with nc -zv 192.xxx.x.xx 4000 returns no response.

    – nxserver –status consistently returns:
    NX> 111 New connections to NoMachine server are enabled.
    NX> 161 Enabled service: nxserver.
    NX> 161 Enabled service: nxnode.
    NX> 161 Enabled service: nxd.

    It seems like my Raspberry Pi does not have a functioning graphical desktop environment. When I try startx i I only get a blank black screen with an underscore blinking at the top left corner and I cannot do anything but forcing a reboot by pulling the power.

    Here are the other things I tried:

    – Forced HDMI resolution and autologin via raspi-config.
    – Reinstalling GUI components (raspberrypi-ui-mods, xserver-xorg, lightdm, etc.).
    – Rebooted and rechecked logs (nxserver.log and journalctl) — no crash but no active desktop detected.

    Does someone know how to solve that issue?

    Cheers

    #53947
    Britgirl
    Keymaster

    Hi,

    It seems like my Raspberry Pi does not have a functioning graphical desktop environment. When I try startx i I only get a blank black screen with an underscore blinking at the top left corner and I cannot do anything but forcing a reboot by pulling the power.

    Is this happening when not connecting with NoMachine? If so, this sounds like a problem with the OS on your RPi, not NoMachine.

    Regarding the problem with connecting over NoMachine, if you are seeing the Rpi device in your Machines panel as a pipe icon on your Mac, this means that the NoMachine server is broadcasting correctly on the same LAN.  Logs from the RPi device would be useful to know why you are getting that error. Please see this document for instructions, https://kb.nomachine.com/DT08U00298 (GUI method). Submit them here or send direct to forum[at]nomachine[dot]com.

    #53949
    Britgirl
    Keymaster

    I forgot to mention this TR https://kb.nomachine.com/TR10U11031. The workaround is to disable Wayland.

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

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