Server responses,, ,HELLO NXSERVER - Version 1.4.0-02 OS_(GPL) ,Hello from server. Comes after ssh authentication. Includes server version number 100,NXSERVER - Version ,version 101,user:,enter the nx user name. (response to login comand) 102,password:,enter the nx password in plain text (response to login command) 103,Welcome to: user: ,welcome indicates nx user and password have been accepted 105,,This is kind of like a shell prompt. It means the server is expecting a command from the client. It may also be sent to echo a command back to the client 106,parameters:,parameters for the session (response to startsession or restoresession command) 109,MD5 password,enter the nx password in md5 ,status (running|stopped) 113,Changing password of user ,change password 114,Password of user changed,password changed 122,Service started,nxserver started 123,Service stopped,nxserver stopped 127,Available sessions:,lists out all the sessions meeting the parameters. Response to listsession command from the client 134,Accepted protocol: 1.4.0,Indicate that the client protocol has been matched and accepted (response to hello command from client) 148,Server capacity: not reached for user: ,Info - server capacity was checked and has not been reached 200,Connected to address:
on port: ,nxssh connected 202,Authenticating user: nx,authenticating the ssh user 203,NXSSH running with pid ,Info - process id of nxssh session 208,208 Using auth method: ,Info - auth method for ssh session 285,Enabling check on switch command,Info - used for informational messages related to encryption/switch 404,ERROR: wrong password or login,response to login command with invalid credentials 500,ERROR: ,Server encountered an error 537,ERROR: passwords do not match,Password does not match confirm password on password change 700,Session id: --,Session id assigned by the server 701,Proxy cookie: ,Cookie assigned to the proxy by the server. Used to authenticate to the proxy 702,Proxy IP: ,IP Address used to communicate to the client proxy 703,Session Type: ,Session type requested by the client 704,Session cache: , 705,Session display: ,"On the server, every nx instance is associated with a display" 706,Agent Cookie: ,Session cookie suggested by the client 707,SSL tunneling: (0|1),Flag whether to tunnel all traffic through ssh. Based on encryption parameter sent by the client, 710,Session status: ,good status is 'running', 999,Bye,end interactive session, 1002,Commit,, 1006,Session status: running,, Client commands,,, ,hello NXCLIENT - Version 1.4.0,hello. Include the client version,NX> 105 hello NXClient - Version 1.4.0\nNX> 134 Accepted Protocol 1.4.0 ,SET SHELL_MODE SHELL,set the shell mode (for backward compatibility),NX> 105 SET SHELL_MODE SHELL ,SET AUTH_MODE PASSWORD,,NX> 105 SET AUTH_MODE PASSWORD ,login,request nx login,NX> 105 login\nNX> 101 user: ,startsession,request to start a new session,if parameters are not included: NX> 106 parameters:. Otherwise NX> 105 startsession ? followed by server reporting its parameters (700 series) ,restoresession,request to restore an existing session,if parameters are not included: NX> 106 parameters:. Otherwise NX> 105 restoresession ? followed by server reporting its parameters (700 series). ,bye,Ends the interactive session,999> Bye ,"listsession --user="""" --status=""suspended,running"" --geometry="""" --type="""" ",List the sessions that meet the criteria. Used to identify sessions to restore, NX> 127 Available sessions? ,NX> 299 Switching connection to : cookie: ,switch command for encrypted sessions. This tells the nxssh client to forward stdin & stdout to the nxproxy instance, session parameters,, ,session,session name. Derived from conf file name in the commercial client. ,type,"unix-kde, unix-gnome, unix-application, windows, vnc. If unix-application, then application is required" ,cache, ,images, ,cookie,unique cookie for the session ,link,"modem, adsl, etc. Tells the bandwidth. It makes some decisions about compression and quality based on this" ,render,use rendering extension (?) ,encryption,0 means do not tunnel all traffic over ssh. 1 means do. ,backingstore, ,imagecompressionmethod, ,geometry,screen resolution ,keyboard,keyboard mappings. Default is defkeymap ,kbtype,keyboard type. Default is pc102/defkeymap ,media,forward sound (0|1) ,samba,map samba shares (0|1) ,agent_server,"vnc or rdp server, if applicable" ,agent_user,"rdp user, if applicable" ,agent_password,vnc or rdp password if applicable ,screeninfo, ,id,id of the session to restore Proxy Parameters,, ,nxproxy -s, ,options=:,path to an options file containing the remaining options ,nx, ,session=,session name. Derived from conf file name in the commercial client. ,root=,where to keep session related files (?) ,id=--, ,cookie=,Cookie used for proxy authentication. Set by server and communicated to client with NX> 701 ,listen=,Port and display to listen for forwarded NXSSH connection. The port is the one defined in the NX> 299 command and the display is the same as display in the options parameter