LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2008, 03:50 AM   #1
SD-user
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Rep: Reputation: 15
connecting fedora 9 OS to Windows XP OS with nomachine (freenx and nx)


Has anyone gotten nomachine with freenx and nx to work with Fedora 9? Everything seemed to install correctly, but I can't seem t get access to my linux box from my windows xp pc.

I installed the program using:
yum install freenx nx
I also used the rpm guide found on the nomachine website.

Installation seemed to go well, and the nxserver has started (although nothing is listed under "services").

When I try to connect from my windows xp machine I get the following error:

"The NX service is not available or the NX access was disabled on host 192.192.0.101" (the IP address is the address of my NIC card on my linux box).

When I click "Detail" I get the following:

NX> 203 NXSSH running with pid: 3472
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.192.0.101 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

The client pc (windows xp box) and server pc (linux - fedora 9 box) both have identical keys installed too. I changed the corresponding files:
server.id_dsa.key
client.id_dsa.key
default.id_dsa.key

My audit.log file reads the following:

type=USER_LOGIN msg=audit(1215765246.264:216): user pid=14156 uid=0 auid=4294967295 msg='acct="nx": exe="/usr/sbin/sshd" (hostname=?, addr=192.192.0.1, terminal=sshd res=failed)'
type=USER_ERR msg=audit(1215765246.267:217): user pid=14156 uid=0 auid=4294967295 msg='op=PAM:bad_ident acct="?" exe="/usr/sbin/sshd" (hostname=192.192.0.1, addr=192.192.0.1, terminal=ssh res=failed)'

I have even tried to "Disable" the SELinux Management (meaning I tried to disable the firewall).

Any suggestions?
 
Old 07-12-2008, 09:03 AM   #2
simonapnic
Member
 
Registered: Jul 2008
Posts: 70

Rep: Reputation: 16
Post

Have you considered using VNC instead of freenx ?
It's pretty easy to install and it works on both platforms without much trouble.
I don't know about security though, but I think you can wrap it in SSL.
 
Old 07-13-2008, 11:41 AM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
Try to connect to your linux box over ssh (e.g. use putty). Does it work? If not, something must be wrong with your nxserver or connection (is ssh port open?)

Try to connect from another linux/unix box. If it works, your xp installation is wrong.

I haven't installed nxserver but the both win and linux clients. The connection went quite smoothly in both cases.

Best,
Ott
 
Old 07-18-2008, 12:07 AM   #4
SD-user
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
I looked into VNC - but I had a bunch of security errors on my winblows machines; so I decided against doing anything further for fear that I would be hijacked at some point. In other words - security isn't good.

I'm not exactly sure what happened, but I followed the instructions here:

http://www.bekkema.net/?p=45

I used the nxclient, nxnode and nxserver from the nomachine website and everything is now working fine.
 
Old 11-11-2008, 01:10 AM   #5
mterbuc
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by SD-user View Post
Has anyone gotten nomachine with freenx and nx to work with Fedora 9? Everything seemed to install correctly, but I can't seem t get access to my linux box from my windows xp pc.

I installed the program using:
yum install freenx nx
I also used the rpm guide found on the nomachine website.

Installation seemed to go well, and the nxserver has started (although nothing is listed under "services").

When I try to connect from my windows xp machine I get the following error:

"The NX service is not available or the NX access was disabled on host 192.192.0.101" (the IP address is the address of my NIC card on my linux box).

When I click "Detail" I get the following:

NX> 203 NXSSH running with pid: 3472
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.192.0.101 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

The client pc (windows xp box) and server pc (linux - fedora 9 box) both have identical keys installed too. I changed the corresponding files:
server.id_dsa.key
client.id_dsa.key
default.id_dsa.key

My audit.log file reads the following:

type=USER_LOGIN msg=audit(1215765246.264:216): user pid=14156 uid=0 auid=4294967295 msg='acct="nx": exe="/usr/sbin/sshd" (hostname=?, addr=192.192.0.1, terminal=sshd res=failed)'
type=USER_ERR msg=audit(1215765246.267:217): user pid=14156 uid=0 auid=4294967295 msg='op=PAM:bad_ident acct="?" exe="/usr/sbin/sshd" (hostname=192.192.0.1, addr=192.192.0.1, terminal=ssh res=failed)'

I have even tried to "Disable" the SELinux Management (meaning I tried to disable the firewall).

Any suggestions?
To use default nomachine key on clients, run on server:
xsetup --install --setup-nomachine-key
 
  


Reply



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 and NoMachine problem jspk Linux - Software 0 04-23-2008 09:24 PM
trouble with alien's slackbuild for freenx: cannot stat freenx/build/nomachine.id_dsa BCarey Slackware 2 03-12-2008 09:00 PM
freenx and NoMachine client authentication camorri Linux - Software 1 06-02-2006 01:33 AM
Nomachine/freenx server netcrusher88 Debian 1 12-14-2005 02:53 AM
GnuCash via FreeNX (NoMachine) KDE session jst1 SUSE / openSUSE 0 08-19-2005 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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