Can only connect from login screen on workstation

Forum / NoMachine for Linux / Can only connect from login screen on workstation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21812
    rainingwaffles
    Participant

    Using NoMachine 6.5.6 from a Mac laptop to my CentOS 7 workstation, running NoMachine Server 6.5.6 allows me to connect to the login screen and even control the session, but if I close my NoMachine session and try to reopen it, or try to initialize it anytime I’m already logged in then it doesn’t connect correctly.  That’s to say it “connects” but the Xsession itself isn’t displayed.  The window says, “<No available sessions on this server>”.

    The nxserver.log seems to complaining about permissions issues in my home directory.  Could the accounts be configured incorrectly?

    Debug logs from Linux server with debugging attached here.  Thanks for any help.

    #21828
    Mth
    Contributor

    Hello

    From the logs and the symptoms it seems that there is a problem with the “/usr/NX/var/log/nxerror.log” file access as every nxnode process reports:

    2019-03-21 16:56:30 288.624 1376 NXSERVER Parse local node message ‘NX> 596 Error: Cannot open /usr/NX/var/log/nxerror.log – ‘Permission denied’.\n’ on FD#14.

    and then closes.

    This matches with file access rights from the log directory you provided. It seems that two of our log files nxerror.log and nxd.log have wrong access rights 600. Please ascertain if it is the same on your machine.

    Proper access rights to those files should be:

    stat /usr/NX/var/log/nxd.log
    Access: (0644/-rw-r–r–) Uid: ( 123/ nx) Gid: ( 0/ root)

    stat /usr/NX/var/log/nxerror.log
    Access: (0662/-rw-rw–w-) Uid: ( 123/ nx) Gid: ( 0/ root)

    So here in this case running

    # chmod 644 /usr/NX/var/log/nxd.log
    # chmod 662 /usr/NX/var/log/nxerror.log

    And then restarting the nxserver:

    # /etc/NX/nxserver –restart

    Should fix the issue.

    /Mth

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

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