Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 24th, 2004   #1
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
HOWTO: Can I use FreeNX with Ubuntu?

Q:How can I use FreeNX with Ubuntu?

A:
EDIT: For those who don't know what FreeNX is, freeNX is a remote desktop protocol, like VNC. Unlike VNC, FreeNX compresses at the X protocol level, giving it a much better experience over low-bandwidth (and high bandwidth) line. To give you an idea of FreeNX's power, I can use Smooth Scrolling in Firefox over a dial-up line without excessive jerking. Over cable/dsl lines, you can barely notice that you're not actually at the system.

It's not in Ubuntu's repositories, but is available for Debian. Add the following line to your /etc/apt/sources.list

Code:
deb http://kanotix.com/files/debian/ ./
The repository is for Kanotix, a Debian/SID Knoppix derivative.

Run apt-get install freenx.

Then, run nxsetup. If you want a nomachine key (RECOMMENDED FOR SIMPLICITY), run nxsetup --setup-nomachine-key instead. Please google the command and read the security implications of doing so! (Basically if FreeNX is flawed, there's a possibility of gaining SSH access as the NX user remotely!)

Make sure that SSH is running for FreeNX to work properly.


**Newer (like these) versions of FreeNX no longer need a nxserver --adduser command. Any user that can log into the system via PAM can log in remotely with NX. Running the nxserver --adduser commands is harmless though.

There are also nxclient deb's in the repository, so browse it and enjoy!
Important Note!
The repository also contains up-to-date reiser4progs (a good thing if you want to try reiser4, and doesn't affect you if you don't use reiser4 at all)
It also has a newer java-package that supersedes Ubuntu's. The Kanotix java-package works perfectly on Ubuntu, so not really a problem either. Just a heads-up in case you wanted to stay as purely Ubuntu as possible!

UPDATE: As someone pointed out, Kanotix FreeNX now depend on libpng being newer or equal to 1.2.7. Warty has version 1.2.5.

You can always grab the Hoary version of libpng. http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng3 and friends are in Ubuntu's repository.
jdong is offline   Reply With Quote
Old October 29th, 2004   #2
Rancoras
Quad Shot of Ubuntu
 
Rancoras's Avatar
 
Join Date: Oct 2004
Location: Texas, USA
Beans: 414
Re: How can I use FreeNX with Ubuntu?

Ok, it looks like ssh is working fine. I can ssh into the box from here at work with putty on windows XP.

I installed the NX client for windows XP from nomachine. I think I set everything up ok, but it seems that authentication for user nx is failing. I see that the user nx is set up. Here's the output from the nxclient on windows.

Code:
NX> 203 NXSSH running with pid: 684
NX> 200 Connected to address: XXX.XXX.XXX.XXX on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
Any ideas?
__________________
--Join the march for individuality!

Rancoras
Linux User #64203
Rancoras is offline   Reply With Quote
Old October 29th, 2004   #3
fulvioo
First Cup of Ubuntu
 
Join Date: Oct 2004
Beans: 9
Re: How can I use FreeNX with Ubuntu?

I get the same error code
fulvioo is offline   Reply With Quote
Old October 29th, 2004   #4
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
Re: How can I use FreeNX with Ubuntu?

did you use the --setup-nomachine-key option?
jdong is offline   Reply With Quote
Old October 29th, 2004   #5
Rancoras
Quad Shot of Ubuntu
 
Rancoras's Avatar
 
Join Date: Oct 2004
Location: Texas, USA
Beans: 414
Re: How can I use FreeNX with Ubuntu?

Quote:
Originally Posted by jdong
did you use the --setup-nomachine-key option?
No, because I like secure. I guess there's a key I need to copy to the client?
__________________
--Join the march for individuality!

Rancoras
Linux User #64203
Rancoras is offline   Reply With Quote
Old October 29th, 2004   #6
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
Re: How can I use FreeNX with Ubuntu?

yeah, the SSH host key.
jdong is offline   Reply With Quote
Old October 29th, 2004   #7
Rancoras
Quad Shot of Ubuntu
 
Rancoras's Avatar
 
Join Date: Oct 2004
Location: Texas, USA
Beans: 414
Re: How can I use FreeNX with Ubuntu?

Ok, I've gotten a little further. I got the appropriate key copied to the client. Now, I'm getting this output:

Code:
Info: Proxy running in client mode with pid '752'.
Info: Connecting to remote host '192.168.1.110:5001' on SSH port 'localhost:1749'.
Info: Connection to remote proxy '192.168.1.110:5001' established.
Warning: Connected to remote NXPROXY version 1.4.0 with local version 1.3.2.
Warning: Consider checking http://www.nomachine.com/ for updates.
Info: Handshaking with remote proxy '192.168.1.110:5001' completed.
Info: Synchronizing local and remote caches.
Info: Not using NX delta compression.
Info: Using lan link parameters 16384/80/16/8192.
Info: Using pack method '16m-jpeg-9' with session 'unix-gnome'.
Info: Not using ZLIB stream compression.
Info: Not using remote ZLIB stream compression.
Info: Not using persistent cache.
Info: Using remote server '192.168.1.110:5001'.
Info: Starting X protocol compression.
Info: Established X server connection.
Info: End of session requested by remote proxy.
Info: Shutting down the link and exiting.
I can't find anything about that error on google other than someone else asking for help.
__________________
--Join the march for individuality!

Rancoras
Linux User #64203
Rancoras is offline   Reply With Quote
Old October 30th, 2004   #8
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
Re: How can I use FreeNX with Ubuntu?

Make sure that you selected use SSH to encrypt data
jdong is offline   Reply With Quote
Old October 30th, 2004   #9
Rancoras
Quad Shot of Ubuntu
 
Rancoras's Avatar
 
Join Date: Oct 2004
Location: Texas, USA
Beans: 414
Re: How can I use FreeNX with Ubuntu?

You mean "Enable SSL encryption of all traffic" ? Yup, it's been checked since the start. As a test, I configured a profile to connect to nomachine's testdrive server. All the settings were the same in the client except for the host address. It worked like a charm. That leads me to believe that it's a setting on my host that is the problem.

On a side note, I'm very impressed with the speed that I saw during the testdrive. Much better than VNC.
__________________
--Join the march for individuality!

Rancoras
Linux User #64203
Rancoras is offline   Reply With Quote
Old October 30th, 2004   #10
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
Re: How can I use FreeNX with Ubuntu?

Quote:
Originally Posted by Rancoras
You mean "Enable SSL encryption of all traffic" ? Yup, it's been checked since the start. As a test, I configured a profile to connect to nomachine's testdrive server. All the settings were the same in the client except for the host address. It worked like a charm. That leads me to believe that it's a setting on my host that is the problem.

On a side note, I'm very impressed with the speed that I saw during the testdrive. Much better than VNC.
speed: amazing, shocking, those are understatements!

If anyone wants to challenge my dial-up claim, go ahead!
jdong is offline   Reply With Quote

Bookmarks

Thread Tools
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


All times are GMT -4. The time now is 06:13 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry