Can I use the commandline to bypass the connection screen and the login

Forum / NoMachine for Windows / Can I use the commandline to bypass the connection screen and the login

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12340
    taylorl
    Participant

    I would like to know if I can run the nxplayer with a .nsx configuration or command line arguments to pass the ip, username and password.

    I want to put this in a script to automatically login to a particular machine upon running the command

    Something along the line of…

    $C:\<path>nxplayer.exe <machine> <user> <password>

    #12346
    Tor
    Participant

    Hi.

    If you can use a script, then you could configure a NXS file with the information you want to set and start the connection with the command

    $C:\nxplayer.exe --session <NXS>

    Related configurations keys (with their default values) in the NXS file are:

    <option key="Server host" value="" />
    <option key="User" value="" />
    <option key="Auth" value="EMPTY_PASSWORD" />
    
    • This reply was modified 8 years, 3 months ago by Tor.
    #12352
    taylorl
    Participant

    Thank you Tor.

    I still cannot bypass the connect screen.  The User and Auth settings do work once I select the configured connection.

    See Attached:   I get the connect screen when I run the command equivalent to using a file called “connection.nxs”

    I have set <option key=”Server host” value=”<ip of my server host>”

    Any ideas?

    #12360
    Tor
    Participant

    Hi Taylor.

    What is the command you’re using to start the client?

    #12371
    taylorl
    Participant

    Hi Tor.  Sorry…

    Your original answer was perfect.  Thanks again.

    Your question about my command was also the perfect place to look… If I had sent my entire command to you, you would have noticed that I had left out the extension for the session file.  It took me a while to see my error since it was so obvious 🙂

    Works like a charm now.

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

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