[FreeNX-kNX] help about nxssh

Fabian Franz FabianFranz at gmx.de
Mon Apr 23 15:55:23 UTC 2007


> Hi, i'm turning on Fedora 6 and I try to follow the "NX Client Developer
> Guide-1.pdf" that I find on http://home.nc.rr.com/moznx/typical.txtI open a
> konsole and y type :# yum install freenx--> it install and configure
> freenx# nxkeygenUnique key generated; your users must install   
> /var/lib/nxserver/home/.ssh/client.id_dsa.keyon their computers.# cp
> /var/lib/nxserver/home/.ssh/client.id_dsa.key /home/<login>/Desktop/// I try the key with the
> nomachine client and she work fine ;)$ nxssh -nx -i
> /home/<login>/Desktop/client.id_dsa.key nx at localhostNX> 203 NXSSH running with pid: 4347NX> 200
> Connected to address: 127.0.0.1 on port: 22NX> 202 Authenticating user: nxNX>
> 208 Using auth method: publickeyHELLO NXSERVER - Version 1.5.0-50 OS (GPL)NX>
> 105I type :NX> 105 hello NXCLIENT - Version 1.4.0     // 1) The version is
> correct ?hello NXCLIENT - Version 1.4.0NX> 134 Accepted protocol: 1.4.0NX>
> 1052) Is this step necessary?Next I type :NX> 105 SET SHELL_MODE SHELLSET
> SHELL_MODE SHELLNX> 105 SET AUTH_MODE PASSWORDSET AUTH_MODE PASSWORDNX>
> 1053) What makes these 2 comand? Exist it really?Then I type :NX> 105
> loginloginNX> 101 User: <login>NetzackNX> 102 Password: <password>NX> 103 Welcome
> to: localhost.localdomain user: <login>NX> 105And yet I type :NX> 105
> startsession --session="TEST" --type="unix-kde" --cache="8M" --images="32M"
> --cookie="6726ad07a80d73c69a74c5f341b52a68" --link="adsl" --render="1"
> --encryption="0" --backingstore="when_requested" --imagecompressionmethod="2"
> --geometry="1024x768+188+118" --keyboard="defkeymap" --kbtype="pc102/defkeymap"
> --media="0" --agent_server="" --agent_user="" --agent_password=""
> screeninfo="1024x768x16+render"NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL)NX> 700
> Session id: localhost.localdomain-1000-79DBA62EB1FC89D663F3EB989A324F18NX> 705
> Session display: 1000NX> 703 Session type: unix-kdeNX> 701 Proxy cookie:
> cbc8fbb1280fa3362b3b2b35640af2a5NX> 702 Proxy IP: 127.0.0.1NX> 706 Agent
> cookie: 6726ad07a80d73c69a74c5f341b52a68          // 4) Can I type an other
> random cookie?NX> 704 Session cache: unix-kdeNX> 707 SSL tunneling: 0NX> 1009
> Session status: startingNX> 710 Session status: runningNX> 1002
> Commit/usr/bin/nxserver: line 1077:  4539 Terminated              sleep
> $AGENT_STARTUP_TIMEOUT             // 5) Why this line?NX> 105 NX> 1006 Session status:
> running

afer a few second I see :NX> 596 Session startup failed.    //
> :'

That is correct. You need to send a switch command to let nxssh startup the proxy internally.

But I don't know what it was, look into nxssh source code for "Switch" or "switch".

cu

Fabian



More information about the FreeNX-kNX mailing list