Error is 22: Invalid argument

Forum / NoMachine for Linux / Error is 22: Invalid argument

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1747
    sbc-random
    Participant

    I have upgraded from 3.x Free to 4.0 Workstation. I’m not even able to connect any more.

    If I try via NX I get the following:

    Info: Starting NoMachine version 4.0.369.
    Info: Loading settings from ‘.nx/config/nxplayer.cfg’.
    10416 10416 23:02:54 563.688 Main: Creating the client session.
    10416 10416 23:02:54 563.739 ClientSession: Initializing session at 0x10f0f60.
    10416 10416 23:02:54 563.768 ClientSession: Change state to ‘Initializing’.
    10416 10416 23:02:54 563.831 ClientSession: Created new view at 0x10f1e80 with label ‘MainWindowView’ and value ‘0x60760c’.
    10416 10416 23:02:54 593.475 ClientSession: Created new view at 0x11065b0 with label ‘MenuPanelView’ and value ‘0x60760c’.
    10416 10416 23:02:54 653.742 ClientSession: Created new view at 0x13a20f0 with label ‘SessionWizardView’ and value ‘0x60760c’.
    10416 10416 23:02:54 722.768 ClientSession: Change state to ‘Initialized’.
    10416 10416 23:02:54 723.972 ClientSession: Initialized session at 0x10f0f60.
    10416 10416 23:02:54 724.038 Main: Entering the GUI event loop.
    10416 10416 23:02:54 772.886 ClientSession: Going to handle running children.
    10416 10416 23:02:57 045.773 ClientSession: Starting session at 0x10f0f60.
    10416 10416 23:02:57 045.829 ClientSession: Change state to ‘Starting’.
    10416 10416 23:02:57 047.024 ClientSession: Going to start session ‘/home/zzz/.nx/config/220.233.200.118.nxs’.
    10416 10416 23:02:57 060.804 Connection: Disabling interactive session.
    10416 10416 23:02:57 060.829 ClientSession: Created local ’10’ and remote ’11’ descriptors for the connection signaling.
    10416 10416 23:02:57 060.876 Connection: Initializing connection at 0x1486150.
    10416 10416 23:02:57 060.920 Connection: Initialized connection at 0x1486150.
    10416 10416 23:02:57 060.930 Connection: Starting connection at 0x1486150.
    10416 10416 23:02:57 060.938 ClientDaemonConnector: Starting a new connection to host ‘xxx.xxx.xxx.xxx’ on port ‘33110’.
    10416 10416 23:02:57 061.019 Connection: Started connection at 0x1486150.
    10416 10416 23:02:57 063.379 ClientSession: Change state to ‘Started’.
    10416 10416 23:02:57 063.395 ClientSession: Started session at 0x10f0f60.
    10416 10416 23:02:57 077.470 ClientSession: Created new view at 0x12e6910 with label ‘ProgressView’ and value ‘0x60760c’.
    Info: Connection to xxx.xxx.xxx.xxx port 33110 started at 23:02:57 079.267.
    10416 10430 23:02:57 098.075 DaemonGreeter/DaemonGreeter: ERROR! Invalid server identification ‘SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1 ‘.
    Error: Invalid server identification ‘SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1 ‘.
    10416 10424 23:02:57 098.502 DaemonClientApplication/DaemonClientApplication: WARNING! Session terminated abnormally.
    10416 10424 23:02:57 098.524 DaemonClientApplication/DaemonClientApplication: WARNING! Error is 22, ‘Invalid argument’.
    Warning: Connection to xxx.xxx.xxx.xxx port 33110 failed at 23:02:57 098.553.
    Warning: Error is 22, ‘Invalid argument’.
    10416 10416 23:02:57 101.726 Connection: Connection at 0x1486150 failed.
    10416 10416 23:02:57 101.744 ClientSession: Runnable at 0x1486150 caused the session at 0x10f0f60 to fail.
    10416 10416 23:02:57 101.771 ClientSession: Failing reason is ‘Could not connect to the server.

    Error is 22: Invalid argument’.
    10416 10416 23:02:57 101.791 ClientSession: Destroying view at 0x12e6910.
    10416 10416 23:02:57 102.933 ConnectedDevices: Cleaning services.
    10416 10416 23:02:57 110.981 ClientSession: Stopping session at 0x10f0f60.
    10416 10416 23:02:57 111.020 ClientSession: Change state to ‘Stopping’.
    10416 10416 23:02:57 114.292 Connection: Stopping connection at 0x1486150.
    10416 10416 23:02:57 114.349 ClientDaemonConnector: Stopping the current connection.
    10416 10416 23:02:57 114.629 Connection: Disabling interactive session.
    10416 10416 23:02:57 114.683 Connection: Stopped connection at 0x1486150.
    10416 10416 23:02:57 114.712 ClientSession: Going to kill all children.
    10416 10416 23:02:57 129.682 ClientSession: Change state to ‘Stopped’.
    10416 10416 23:02:57 129.741 ClientSession: Stopped session at 0x10f0f60.
    10416 10416 23:02:57 129.759 ClientSession: Change state to ‘Failed’.
    10416 10416 23:02:57 330.248 ClientSession: Going to handle running children.
    10416 10416 23:02:57 380.405 ClientSession: Going to handle running children.And, trying to connect via SSH I get the message “Running NoMachine sessions over a SSH connection is not supported on this server. Do you want to switch your connection to using the NX protocol?” – obviously when I select “yes” it gives another Error 22: Invalid Argument
    Completely out of ideas.

    I’m using 33110 to connect – where should I be forwarding this port to on the server side?

    #1773
    Britgirl
    Keymaster

    There are two issues here. Firstly,

    I’m using 33110 to connect – where should I be forwarding this port to on the server side?

    You are forwarding port 33110 to port 22 which is for SSH connections. To connect using NX you need to forward it to 4000. You can read more about ports here: https://www.nomachine.com/AR01L00770.

    Secondly,

    Running NoMachine sessions over a SSH connection is not supported on this server. Do you want to switch your connection to using the NX protocol?

    “SSH not supported” should not appear in the case of the Workstation since SSH is supported in this product. What did you install? Did you perhaps install Workstation over a NoMachine (free)? If you did, uninstall, remove the directory /usr/NX before reinstalling the Workstation.

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

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