LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cannot get FreeNX to connect (https://www.linuxquestions.org/questions/linux-networking-3/cannot-get-freenx-to-connect-517195/)

frost33 01-07-2007 01:23 PM

Cannot get FreeNX to connect
 
HomeMachine --> Firewall --> WorkMachine

On my work machine, I ran :
nxsetup --install --setup-nomachine-key --clean --purge

On my home machine, I installed lastest rpm from NoMachine.
ssh -L 3333:workmachine:22 user@firewall
nxclient (Setup everything, then try to connect to localhost:3333)

Here's the output I get (after what seems like a timeout):

NX> 203 NXSSH running with pid: 24049
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 127.0.0.1 on port: 3333
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-44 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: user
NX> 102 Password:
NX> 103 Welcome to: workmachine user: user
NX> 105 listsession --user="user" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'user' for reconnect:

Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: user
NX> 105 startsession --link="adsl" --backingstore="1" --nodelay="1" --encryption="1" --cache="8M" --images="32M" --media="0" --session="test" --type="unix-kde" --cookie="******" --geometry="1024x768+128+104" --kbtype="pc102/us" --screeninfo="1024x768x24+render"

NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)
NX> 700 Session id: workmachine-1001-3AD44A9B412D2BC8BA0600DD808B3370
NX> 705 Session display: 1001
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: f5e2a2a3879ab23701603f19a9b3887f
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 2924f1e6cc71d681f7b045824021689b
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
NX> 105 /usr/bin/nxserver: line 880: 31937 Terminated ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
NX> 504 Session startup failed.
NX> 1004 Error: nxagent failed to start with: Unrecognized option: 1
NX> 1001 Bye.
Killed by signal 15.



Anyone have any ideas? Any help would be greatly appreciated!!!

Thanks!

Guitarist88 01-08-2007 10:45 AM

Its probably not a direct solution but it may help. I had problems when I used freenx with the nomachines default key. So what I did is I just downloaded the the nomachines nx software, which is in my oppinion much nicer. Setup both computers with the nomachine key as you did before.

Then on the client, open the nomachine nxclient. Click configure or something like that. Then go to the advanced tab and select enable SSL encryption on all traffic.

Thats what did it for me.

Good luck!

jwsnl 01-24-2007 03:37 PM

Hi Frost33, Hi all,

I have the same issue like you. I just wondered whether you fixed your challange?

My setup
Quote:

Client= WinXP ---> same subnet ---> mandriva 2006 (to become a server)
All firewall stuff on the MandyBox is switched off, so no issues with firewalls.
Once this works I'll move the 'to become a server' to an internet connection.
I performed a pretty clean install including the tag that adds the ssh-server.



I followed the installation procedure described at http://www.linux-tip.net/cms/content/view/216/6/

my output looks like this:
Quote:

NX> 203 NXSSH running with pid: 3956
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.13.36 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-44 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: jws
NX> 102 Password:
NX> 103 Welcome to: localhost user: jws
NX> 105 listsession --user="jws" --status="suspended,running" --geometry="1280x1024x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'jws' for reconnect:

Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: jws
NX> 105 startsession --link="lan" --backingstore="1" --nodelay="1" --encryption="1" --cache="8M" --images="32M" --media="0" --session="merel" --type="unix-kde" --cookie="******" --geometry="fullscreen" --kbtype="pc102/nl" --screeninfo="800x600x32+render"

NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)
NX> 700 Session id: localhost-1001-6E203FCF8809F9BDD57ACD05A094CDDE
NX> 705 Session display: 1001
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: bfed0b5a786397b092f211e307bbd052
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 62e9fb11526872de8fdc91e512673b66
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
NX> 105 /usr/bin/nxserver: line 880: 30244 Terminated ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
NX> 504 Session startup failed.
NX> 1004 Error: nxagent failed to start with: Unrecognized option: 1
NX> 1001 Bye.
Killed by signal 15.
Thanks all,
Jan-Willem


All times are GMT -5. The time now is 11:39 PM.