LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-15-2008, 09:53 AM   #16
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848

The Freenx package I installed was 'freenx-0.6.0-2mdv2007.1.noarch'. The files listed by urpmi are:

Quote:
/etc/logrotate.d/freenx
/etc/nxserver
/nxserver/node.conf
/etc/nxserver/passwords
/etc/nxserver/passwords.orig
etc/nxserver/users.id_dsa
/etc/nxserver/users.id_dsa.pub
/usr/bin/nxclient
/usr/bin/nxkeygen
/usr/bin/nxloadconfig
/usr/bin/nxnode
/usr/bin/nxnode-login
/usr/bin/nxserver
/usr/sbin/nxsetup
/usr/share/doc/freenx-0.6.0
/usr/share/doc/freenx-0.6.0/AUTHORS
/usr/share/doc/freenx-0.6.0/COPYING
/usr/share/doc/freenx-0.6.0/README.urpmi
/var/lib/nxserver
/var/lib/nxserver/db
/var/lib/nxserver/db/closed
/var/lib/nxserver/db/failed
/var/lib/nxserver/db/running
/var/lib/nxserver/nxhome
/var/lib/nxserver/nxhome/.ssh
/var/lib/nxserver/nxhome/.ssh/authorized_keys2
/var/lib/nxserver/nxhome/.ssh/client.id_dsa.key
/var/lib/nxserver/nxhome/.ssh/known_hosts
/var/lib/nxserver/nxhome/.ssh/server.id_dsa.pub.key
/var/log/nxserver.log
Not sure if this might help you verify the files you have, and if you do have something missing.
 
Old 07-15-2008, 03:56 PM   #17
DB9
Member
 
Registered: Mar 2004
Location: Mississauga, Ontario, Canada
Distribution: Still looking..
Posts: 49

Original Poster
Rep: Reputation: 15
Hi Cliff,
Just going back over your suggestions...

"one thing I noticed was the instruction to add the NX user on the Freennx system to the sshd_config file. I looked at my system, and I have added it. Just a possibility, have a look to see if you have added NX to the AllowUsers or AllowGroup."

I will look at the sshd_config again to check - could you post the section of your config

- when I looked I didn't see a section called "AllowUsers or AllowGroup"

Thanks

Stephen

Last edited by DB9; 07-15-2008 at 04:26 PM.
 
Old 07-15-2008, 06:26 PM   #18
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Here is the section of /etc/ssh/sshd_config you asked for. Yes, I added nx to AllowUsers and AllowGroup.

Quote:
# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server
IgnoreRhosts yes
IgnoreUserKnownHosts no
PrintMotd yes
StrictModes no
RSAAuthentication yes
PermitEmptyPasswords no
PasswordAuthentication yes
DenyGroups browser guest
AllowGroups cliff corinne peigi sheena nx
DenyUsers browser guest nobody
AllowUsers cliff corinne peigi sheena nx
GatewayPorts yes
AllowTcpForwarding yes
KeepAlive yes
Hope this helps...
 
Old 07-15-2008, 07:03 PM   #19
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
ihave had no trouble running the client from nomachine.com....nxclient
 
Old 07-15-2008, 07:58 PM   #20
DB9
Member
 
Registered: Mar 2004
Location: Mississauga, Ontario, Canada
Distribution: Still looking..
Posts: 49

Original Poster
Rep: Reputation: 15
I edited
in node.conf...
enable_passdb_authentication="1"

in sshd_confg...
PasswordAuthentication no
AllowUsers stephen nx
AllowGroups stephen nx

BTW do you have a line that says...
X11forwarding yes

ran
nxserver --restart
/etc/init.d/sshd restart

I then try from XP, NX reponds

"NX> 203 NXSSH running with pid: 3056
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
ssh: connect to host 198.168.2.39 port 22: Connection timed out"

Using Putty from XP to planb and running..
planb:~ # tail -f /var/log/messages

Jul 15 19:36:05 planb sshd[8676]: Received signal 15; terminating.
Jul 15 19:36:05 planb sshd[8979]: Server listening on 0.0.0.0 port 22.

I'm going to start googling on the error message from NX
"ssh: connect to host 198.168.2.39 port 22: Connection timed out" and see what I can gleen from this - but not tonight

Does this help?
 
Old 07-15-2008, 10:12 PM   #21
DB9
Member
 
Registered: Mar 2004
Location: Mississauga, Ontario, Canada
Distribution: Still looking..
Posts: 49

Original Poster
Rep: Reputation: 15
utanja, are you running the Linux client or the windows client?


Cliff, I am trying to turn on nxserver.log (located in /var/log/) by turning on
"nx-logfile= /var/log/nxserver.log" in /etc/nxsever/node.conf, and set nx_log_level=1

but nothing is being written to this file. Thinking that this may help to see why NX isn't connecting.

Stephen
 
Old 07-15-2008, 10:30 PM   #22
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by DB9 View Post
utanja, are you running the Linux client or the windows client?


Cliff, I am trying to turn on nxserver.log (located in /var/log/) by turning on
"nx-logfile= /var/log/nxserver.log" in /etc/nxsever/node.conf, and set nx_log_level=1

but nothing is being written to this file. Thinking that this may help to see why NX isn't connecting.

Stephen
Both........LInux client from my office.......Windows Client from laptop
 
Old 07-15-2008, 10:41 PM   #23
DB9
Member
 
Registered: Mar 2004
Location: Mississauga, Ontario, Canada
Distribution: Still looking..
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by utanja View Post
Both........LInux client from my office.......Windows Client from laptop
Which ver of the client for windows are you using? (I am wondering if I need to go back to an earlier vers) Though Cliff is running v3 as I - so shouldn't make a differance.

Did you have any particular problems getting the NX client to talk to FreeNX?

Last edited by DB9; 07-15-2008 at 10:45 PM.
 
Old 07-15-2008, 10:46 PM   #24
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by DB9 View Post
Which ver of the client for windows are you using? (I am wondering if I need to go back to an earlier vers) And did you have any particular problems getting the NX client to talk to FreeNX?
NX 3.2--!0

I only use NXServer from nomachine.com

I do not use free nx
 
Old 07-15-2008, 10:49 PM   #25
DB9
Member
 
Registered: Mar 2004
Location: Mississauga, Ontario, Canada
Distribution: Still looking..
Posts: 49

Original Poster
Rep: Reputation: 15
Now there is something different, perhaps I should try NXserver and not FreeNX

Thanks
 
Old 07-15-2008, 10:51 PM   #26
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by DB9 View Post
Now there is something different, perhaps I should try NXserver and not FreeNX

Thanks
worked almost out of box.......just had to configure the usual setups
 
  


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
problem connecting Opensuse 10.2 to Suse 9.3 hongnguyen70 Linux - Networking 6 04-21-2008 03:59 AM
trouble with alien's slackbuild for freenx: cannot stat freenx/build/nomachine.id_dsa BCarey Slackware 2 03-12-2008 09:00 PM
freenx server problems in suse 10.1 noorudin SUSE / openSUSE 1 12-03-2006 04:59 PM
problem upgrading to NX Server 2.0 from freenx in SUSE 10 jst1 SUSE / openSUSE 4 09-12-2006 09:36 AM
Connecting to existing session w/ FREENX Ashrack Linux - Networking 0 07-02-2006 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:06 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