Can’t connect until local user logged in

Forum / NoMachine for Mac / Can’t connect until local user logged in

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24423
    Jethro_uk
    Participant

    Installed NX on MacBook running macOS 10.13.6 “High Sierra”

    Have gone into Server Preferences and set to start with machine.

    However, when I try to connect from a client, it insists there are “no sessions available”. Logging into the Mac locally suddenly allows me to connect.

    The logs just show a series of:

    Info: Server started with pid 312 on Mon Nov 11 14:20:46 2019.
    Info: Listening for connections on any interface on port 4000.
    Info: Accepting connections from any host with encryption enabled.
    Info: Connection from 192.168.10.121 port 54352 accepted on Mon Nov 11 14:24:34 2019.
    Info: Connection from 192.168.10.121 port 54352 process 334 started on Mon Nov 11 14:24:34 2019.
    Info: Connection from 192.168.10.121 port 54352 process 334 closed on Mon Nov 11 14:24:39 2019.
    Info: Connection from 192.168.10.121 port 54360 accepted on Mon Nov 11 14:24:41 2019.
    Info: Connection from 192.168.10.121 port 54360 process 340 started on Mon Nov 11 14:24:41 2019.
    Info: Connection from 192.168.10.121 port 54360 process 340 closed on Mon Nov 11 14:24:44 2019.
    Info: Connection from 192.168.10.121 port 54366 accepted on Mon Nov 11 14:24:51 2019.
    Info: Connection from 192.168.10.121 port 54366 process 346 started on Mon Nov 11 14:24:51 2019.
    Info: Connection from 192.168.10.121 port 54366 process 346 closed on Mon Nov 11 14:24:54 2019.
    Info: Connection from 192.168.10.121 port 54442 accepted on Mon Nov 11 14:26:34 2019.

    until:

    Info: Connection from 192.168.10.121 port 54442 process 628 started on Mon Nov 11 14:26:34 2019.
    Info: Connection from 192.168.10.121 port 54442 process 628 closed on Mon Nov 11 14:31:41 2019

    Which is after I had logged in locally.

     

    Not sure if it helps, but this is occurring after I created a new user to use on the machine for support issues. I was able to login previously after a restart.

    #24442
    Mth
    Contributor

    Hello.

    Thank you for reporting the issue.

    The first question is, when there was only one user in the system, was the operating system configured to log in this user automaticly,
    or did you had to log in manually?

    Second, do you have free version of NoMachine installed on the MacOS? If not, there could be two issues: one, when on “no sessions available”
    screen, so please make sure the view is set to “All desktops”. The second is what account you are using: please make sure the user you are connecting with is marked as an administrator for NoMachine:

    # /usr/NX/bin/nxserver --userlist

    If it is not, please set it by running:

    # /usr/NX/bin/nxserver --useredit --administrator yes

    And try to connect again.

    With the easy stuff ruled out, please gather logs for investigation.

    Gather information from the MacOS system log, preferably by running:

    # cat /var/log/system.log | grep -e nxserver -e nxnode -e nomachine >> system.debug

    Also please collect NoMachine logs.

    Article on how to collect logs:

    https://www.nomachine.com/DT10O00163 (“How to gather debug logs for support requests”)

    Please include the system.debug file and send them to forum[at]nomachine[dot]com using the title of
    that forum’s thread as the mail’s subject.

    /Mth

    #24451
    Jethro_uk
    Participant

    # /usr/NX/bin/nxserver --userlist

    All was making sense until I tried this, and got :

    -bash: /usr/NX/bin/nxserver: No such file or directory

    So I’m going to have to cram up on “How Macs work” and get back to you.

    #24454
    Mth
    Contributor

    Hello.

    I am terribly sorry, don’t know where the error came from, but of course this
    is MacOS, so the path is not /usr/NX, but /etc/NX.

    So the commands should be:

    ‘# /etc/NX/bin/nxserver –userlist’

    ‘# /etc/NX/bin/nxserver –useredit –administrator yes’

    Sorry for causing confusion.

    /Mth

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

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