LinuxQuestions.org
Review your favorite Linux distribution.
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 06-30-2006, 04:21 PM   #1
nko
LQ Newbie
 
Registered: Apr 2005
Posts: 20

Rep: Reputation: 1
Trouble Hooking Windows NX Client to Linux FreeNX Server


I'm trying to connect the nxclient 2.0 program for Windows 2000 that I got from nomachine.com with the FreeNX 1.4 server for Ubuntu.

On the Windows 2000 desktop, I use the client program to try and connect to the server. I enter my username and password. If I enter either of these incorrectly, there is an authentication error, so I know the two machines are definitely talking. The progress dialog tells me that it manages to connect and start an X session... and then the dialog box disappears... but doesn't leave me with any visible results (an X session, for example).

Under the NX Session Admin program, I can see that there is indeed a session registered and running on the Windows client. The log file for this session always looks like so:

Quote:
Info: Display running with pid '1172' and handler '0x2a031e'.
NXPROXY - Version 2.0.0

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

Info: Proxy running in client mode with pid '2052'.
Session: Starting session at 'Fri Jun 30 14:00:36 2006'.
Warning: Connected to remote NXPROXY version 1.5.0 with local version 2.0.0.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Warning: Font server connections not supported by the remote proxy.
Info: Using lan link parameters 1536/24/1/0.
Info: Using image streaming parameters 50/128/1024KB/6144/768.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
Info: Not using ZLIB stream compression.
Info: Not using persistent cache.
Session: Session started at 'Fri Jun 30 14:00:37 2006'.
Warning: Cookie mismatch in the authentication data.
According to all of my Google results, that last warning doesn't mean anything relevant.

On the Linux box, I can find zero log files. /var/log/nxserver.log is there, but it's empty. I can find no evidence that the FreeNX server running there is even aware of any connections being made.

Googling reveals surprisingly little. I'm really at a loss! Does anyone know what might be wrong? Does anyone have any ideas as to what else I could do to try and figure this out?

Thanks in advance, even if only for reading my post!
 
Old 07-03-2006, 02:23 PM   #2
jmeadows111
LQ Newbie
 
Registered: Oct 2004
Posts: 18

Rep: Reputation: 0
I'm running into basically the same issue; Haven't really found anything useful online.

Maybe if we compare notes we might come up with something. Do you see anything like the following in your winlog?

error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
names.keymap=(null)Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)"
Couldn't load XKB keymap, falling back to pre-XKB keymap
_FontTransOpen: Unable to Parse address "/mnt/NX/fonts/TTF
Could not init font path element "/mnt/NX/fonts/TTF, removing from list!
Could not init font path element /mnt/NX/fonts/misc, removing from list!
Could not init font path element /mnt/NX/fonts/Speedo, removing from list!
Could not init font path element /mnt/NX/fonts/Type1, removing from list!
Could not init font path element /mnt/NX/fonts/75dpi, removing from list!
Could not init font path element /mnt/NX/fonts/100dpi, removing from list!
Could not init font path element /cygdrive/c/Program Files/NX Client for Windows/usr/X11R6/lib/X11/fonts/TTF, removing from list!
Could not init font path element /cygdrive/c/Program Files/NX Client for Windows/usr/X11R6/lib/X11/fonts/base, removing from list!
Could not init font path element /cygdrive/c/Program Files/NX Client for Windows/usr/X11R6/lib/X11/fonts/misc, removing from list!
Could not init font path element /cygdrive/c/Program Files/NX Client for Windows/usr/X11R6/lib/X11/fonts/Speedo, removing from list!
Could not init font path element /cygdrive/c/Program Files/NX Client for Windows/usr/X11R6/lib/X11/fonts/Type1, removing from list!
Could not init font path element /cygdrive/c/Program Files/NX Client for Windows/usr/X11R6/lib/X11/fonts/75dpi, removing from list!
Could not init font path element /cygdrive/c/Program Files/NX Client for Windows/usr/X11R6/lib/X11/fonts/100dpi, removing from list!
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned

Last edited by jmeadows111; 07-03-2006 at 02:58 PM.
 
Old 07-03-2006, 02:58 PM   #3
nko
LQ Newbie
 
Registered: Apr 2005
Posts: 20

Original Poster
Rep: Reputation: 1
Update

I've discovered that using the client and server provided by nomachine.com, I can use the Linux machine to remote in to... itself. It's VERY low latency when the entire network is confined to the loopback device :-)

Still no luck with running from the remote Windows client. I wish I had another Linux machine in this building so I could test and see if it's just this machine / OS / client...
 
Old 07-03-2006, 03:00 PM   #4
jmeadows111
LQ Newbie
 
Registered: Oct 2004
Posts: 18

Rep: Reputation: 0
THere was one interesting link I found:

http://blog.gmane.org/gmane.network.freenx.general

Where the respondent says
Quote:
The client will send whatever version the server sends.

So setting the 0.4.4 versions to 1.5.0-45 should solve the problems also.
But I' m not sure where to try this setting.
 
Old 07-03-2006, 04:17 PM   #5
nko
LQ Newbie
 
Registered: Apr 2005
Posts: 20

Original Poster
Rep: Reputation: 1
Got it!

I did two things on the Ubuntu machine, and now it all works.

First, I ran "xhost +" from the machine locally (not via ssh but in front of the actual machine) to enable remote display. Not sure this was necessary, but I did it, so I'm mentioning it.

Second, I went to nomachine.com and downloaded the client, node and server packages- all three of them are necessary to have installed *on the server*. I don't know why, and it's very counter-intuitive, but there you go, right?

Absolutely beautiful. Drop shadows work, my funky mouse button order is preserved, it's great!

Let me know if you need any further help, jmeadows111 (or anyone else).
 
Old 07-03-2006, 04:27 PM   #6
jmeadows111
LQ Newbie
 
Registered: Oct 2004
Posts: 18

Rep: Reputation: 0
Thanks - that worked for me as well!!

Last edited by jmeadows111; 07-03-2006 at 04:40 PM.
 
Old 08-02-2006, 12:04 PM   #7
Predseda3D
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by nko
I'm trying to connect the nxclient 2.0 program for Windows 2000 that I got from nomachine.com with the FreeNX 1.4 server for Ubuntu.

On the Windows 2000 desktop, I use the client program to try and connect to the server. I enter my username and password. If I enter either of these incorrectly, there is an authentication error, so I know the two machines are definitely talking. The progress dialog tells me that it manages to connect and start an X session... and then the dialog box disappears... but doesn't leave me with any visible results (an X session, for example).

Under the NX Session Admin program, I can see that there is indeed a session registered and running on the Windows client. The log file for this session always looks like so:



According to all of my Google results, that last warning doesn't mean anything relevant.

On the Linux box, I can find zero log files. /var/log/nxserver.log is there, but it's empty. I can find no evidence that the FreeNX server running there is even aware of any connections being made.

Googling reveals surprisingly little. I'm really at a loss! Does anyone know what might be wrong? Does anyone have any ideas as to what else I could do to try and figure this out?

Thanks in advance, even if only for reading my post!
Hi,
the cookie mismatch is known as 'fake cookie authentication problem'. You can read about this problem and ofcourse about another problems and solutions here:
http://openfacts.berlios.de/index-en...roblem_Solving
or here:
http://wiki.debian.org/freenx
or here:
http://gentoo-wiki.com/Talk:HOWTO_Fr....4.x_and_0.5.0

Hope it will help you.

Predseda

Last edited by Predseda3D; 08-03-2006 at 01:22 PM.
 
  


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
Server in Linux and Client in Windows dinwwf Programming 4 08-31-2005 09:37 AM
can not connect to my pureftp server from Linux client, but i can from windows client bonito Suse/Novell 5 03-16-2005 09:45 PM
Linux NIS server. windows client? sendas4 Linux - Newbie 1 08-14-2004 05:42 PM
Linux server and Windows client permissions sxh284 Linux - Networking 5 09-24-2003 11:41 PM
HELP! Trouble with Networking - Linux Client to Windows Server jclipsham Linux - Networking 3 03-09-2003 08:46 PM


All times are GMT -5. The time now is 01:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration