Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th May 2006, 03:24 PM
newleonne Offline
Registered User
 
Join Date: Sep 2005
Posts: 18
Freenx on non standard SSH port not working -- HELP please

I upgraded to FC5 recently. I used the instructions here
http://fedoranews.org/contributors/rick_stout/freenx/ to set up my freenx and everything works fine with ssh on port 22

I changed my ssh port to 443 for work reasons. I can ssh ok with this port. With freenx I get a connection failure. The error log shows freenx connects and authenticates appropriately on port 443, then tries the launch the session on port 22 before failing. (see below)

I used tried to follow instructions here http://fedoranews.org/contributors/r...enx/freenx.txt about 3/4 way down the page. It mentions to use a non standard port;

Problem:
For added security, I run my SSH server on a non-standard port. How
do I make FreeNX use this port?

Resolution:
Find and following line in /usr/bin/nxserver and change the value to the
needed port:

SSHD_AUTH_PORT="22"


When I open to edit my /usr/bin/nxserver to edit, I do not find the line mentioned above.

Please help me fix this so I can connect to freenx on port 443.

Below is my freenx error log

NX> 203 NXSSH running with pid: 5772
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 66.*.*.* on port: 443
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-50-SVN OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: pxxxx
NX> 102 Password:
NX> 103 Welcome to: Crackpot user: pxxxx
NX> 105 listsession --user="pxxxx" --status="suspended,running" --geometry="1280x1024x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'pxxxx' for reconnect:

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


NX> 148 Server capacity: not reached for user: pxxxx
NX> 105 startsession --session="WAN" --type="unix-kde" --cache="8M" --images="32M" --link="adsl" --kbtype="pc102/en_US" --nodelay="1" --encryption="1" --backingstore="when_requested" --geometry="1280x996" --media="0" --agent_server="" --agent_user="" agent_password="******"" --screeninfo="1280x996x32+render"

ssh: connect to host 127.0.0.1 port 22: Connection refused
Killed by signal 15.
Reply With Quote
  #2  
Old 25th May 2006, 03:24 PM
newleonne Offline
Registered User
 
Join Date: Sep 2005
Posts: 18
I figured out how to fix this for those who may run into a similar issue.

Become Super User

$ su
Password:


Change to the nxserver directory that has the config file

# cd /etc/nxserver

Edit the node.conf.sample file

# vi node.conf.sample

Search for the line that reads

#SSHD_PORT=22

Uncomment it and change it to the port that sshd is listening on. In my case port 443

SSHD_PORT=443

Save and close the file

:wq

Copy the node.conf.sample file to node.conf

# cp node.conf.sample node.conf

Restart nxserver

# /usr/bin/nxserver --restart
NX> 100 NXSERVER - Version 1.5.0-50-SVN OS (GPL)
NX> 123 Service stopped
NX> 122 Service started
NX> 999 Bye


Reconnect using your nx client.
Reply With Quote
Reply

Tags
freenx, port, ssh, standard, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL Apache Non-Standard Port fedoraLamp Servers & Networking 1 24th March 2009 04:22 AM
SELINUX and SSHD non-standard port mbiggerstaff Security and Privacy 5 17th August 2008 07:57 PM
httpd service does not start with non-standard port jdmcclure Servers & Networking 2 10th July 2005 05:27 AM


Current GMT-time: 08:54 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat