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.