LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-18-2006, 03:14 PM   #1
alpha1906
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Rep: Reputation: 0
Can't use FreeNX from outside LAN


I have installed the FreeNX and NX packages on my Slackware 10.0 box from http://www.slackware.com/~alien/slackbuilds/freenx/

I can access the box using FreeNX fine from a machine within my LAN. But if I connect remotely from outside my LAN, the NX Client times out. I have a router using port forwarding. For example port 12345 is forwarded to port 22 on my Slack box. I can log in via SSH fine also.

Anybody have any suggestions? Thanks.
 
Old 05-18-2006, 07:17 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Hi

Did you try to copy /etc/nxserver/client.id_dsa.key to somewhere outside your LAN and then try to do a remote ssh login like this:
Code:
ssh -p 12345 nx@your.server -i client.id_dsa.key
? You should be asked no password and be presented with this text:
Quote:
HELLO NXSERVER - Version 1.4.0-44 OS (GPL)
NX> 105
If not, something is wrong at the ssh / account level. If yes, did you enable debugging by setting
Code:
SESSION_LOG_CLEAN=0
NX_LOG_LEVEL=6
and then look at the session information that is left behind? Look in your ~/.nx/C-<hostname>-<display>-<session_id>
directory.

Eric
 
Old 05-20-2006, 11:52 PM   #3
alpha1906
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I was able to login via ssh with the client.id_dsa.key and got the 105 response. I looked at the nx session file and the following error was included"


Quote:
Info: Proxy running in server mode with pid '15110'.
Info: Waiting for connection from '127.0.0.1' on port '5028'.
Info: Aborting the procedure due to signal '15', 'SIGTERM'.

Fatal server error:
NXAGENT: Fatal IO error on display "nx/nx,options=/home/user/.nx/C-xxxxxxxxxx-1028-81417622B10FBD78B1FB986BC89FD312/options:1028".

Last edited by alpha1906; 06-06-2006 at 03:33 PM.
 
Old 05-21-2006, 03:35 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
What is being logged when you connect to your server with a NX server instead?

Eric
 
Old 05-28-2006, 11:01 PM   #5
alpha1906
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Sorry for the later response. I only get a chance to test this remotely on the weekends.

Back to the problem, do you mean the message returned from NX Client? This is after it stuck on "Negotiating link parameters" and it times out. I click the "details" button and get this:

NXPROXY - Version 1.5.0

Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '666'.
Info: Aborting the procedure due to signal '15', 'SIGTERM'.
 
Old 06-16-2006, 04:38 PM   #6
alpha1906
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Original Poster
Rep: Reputation: 0
bump (just in case)
 
Old 06-17-2006, 09:45 AM   #7
Glock23
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
I couldnt email you alpha1906

how did you get NX to work? I'm having troubles with mine. mine says connection refused.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
freenx won't work cellist Linux - Software 4 03-09-2007 07:37 AM
apache + freenx random guy Linux - Software 4 05-15-2006 03:44 PM
freenx on kanotix random guy Linux - Software 0 05-12-2006 08:50 PM
setup freenx meping Linux - Software 4 04-11-2006 10:32 PM
FreeNX WimSmets Slackware 1 01-06-2005 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration