This article has been replaced. Please click here to read the new article.
22 Comments
Comments are closed.
October 15, 2007 at 9:25 am · Filed under Linux, Ubuntu ·Tagged Kubuntu, Linux, NX, Ubuntu
This article has been replaced. Please click here to read the new article.
Comments are closed.
ANNOUNCEMENT: This blog and comments are closed. However, I have given permission to the owner of a blog called TechNotes at iprock.com to import many of the more technically-oriented articles from this blog, including the comments. The owner of that blog is currently allowing additional moderated comments to be posted. Although I will NOT be participating or commenting there, you may have the opportunity to add to some of the comment threads that had taken place on this blog. PLEASE NOTE that unlike me, he does have an Amazon affiliate account and if you click on an Amazon link on his site, he (not me) will receive a small commission on the sale. NOT all articles from this blog have been reproduced over there — only a small subset of the more technically-oriented and popular posts, and a few more might be added as time permits.
Blog at WordPress.com. · Theme: Almost Spring by Beccary
Takuan Daikon said
Thank you for the great post… I know it’s quite old, but Google referred me
I followed the directions here, and had nxserver up an running in about 15 minutes (had to be done over ssh, which slowed me down).
Prior attempts at installing nxserver took several hours each, as the directions I was following were nowhere near as clear, so I thank you profusely for such concise and useful information!
Remote Desktop « Ubuntu: Usable Linux said
[...] Following instructions over here. [...]
velchinaski said
HI
whether you can connect through this program wifi ?
I can connect from my iPhone in ubuntu 8.10…please help me if you now how
Thx
Henri said
Thank you very much, very good tutorial. At first i was afraid to go ahead with this guide, since it looked long. But when i finally did, i got freenx working with first try. Thank you.
yuwen said
thanks for the information of great help! finally my nx is ok!
Jeff said
I tried this part and i am not sure on the commands on how to do this?
I have some additions to the problem of enabling thes password authentication.
I don’t like password authentication via the internet, even it is encrypted (Brute force attack etc).So I have created workaround. For this I use the inetd.conf and a second configuration file for the sshd.I also created a “new” service:
ssh-nx
/etc/services:
ssh-nx 23/tcp #local fuer nxserver
ssh-nx 23/udp #local fuer nxserver
Then I created two entries in the inetd.conf.
At first the entry for nx-user. This can only use authentication keys.
ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
The second entry is the entry for the local users on the nxserver machine.
Here you will see, that there is used another configuration file. It is /etc/ssh/sshd_config.nx. In this config file password authentication is allowed.
For more security I also have done the following entry:
AllowUsers: user1@127.0.0.1 user2@127.0.0.1
So there is no possibility to abuse the sshds.
And here is the second entry in the inetd.conf:
ssh-nx stream tcp nowait root /usr/sbin/sshd sshd -i -4 -f /etc/ssh/sshd_config.nx
(Wolfram)
Jeremy Pyman said
Very minor issue, but the command to check if the service is running is
sudo /usr/NX/bin/nxserver –-status
(note the second dash)
michigantelephone said
Thanks, jeremy. There actually are two dashes in the raw text, but either WordPress is dropping one of them before displaying the article, or they are just so small that it looks like only one dash. In any case, I added a note under that line to make it clear that there are two dashes there.
Brenda said
Another way to fix the ssh config is to replace:
AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2
with:
AuthorizedKeysFile %h/.ssh/authorized_keys2
Then everything works as it should.
steve said
great article. easy to follow, yet very comprehensive. Thanks!
Alf Gaida said
Hello,
in simple words – great job. Hint: WordPress makes a long dash from the two dashes (thanks to autocorrection). Everything worked like charm in Ubuntu 9.10 i386 with actual packets.
Thanks a lot
Alf
Marty said
Any way to install & use the nxserver without root access??
That would make it MANY times more powerful (to the masses, and me!)
– Marty
ChrisTerry said
Thanks for the well defined ‘How-To’. I too had my server up and running in about 15 minutes after following your instructions.
I kind of agree with the idea of leaving out the ‘Shut Down’ functionality from a terminal services type desktop though.
- Chris.
Kaustubh said
Ubuntu forums mentioned at Step 3) worked like a charm.
Thank you so much!
I had been struggling with this for almost a month!!
No doubt NX gives unparalled performance gain!
nxserver status returns authentication failed said
[...] get rid of this advertisement]'); Using nomachine trying to setup an nxserver. Installed nx per these instructions. Checking the status looks like this. [...]
Vitali said
The instructions greatly helped me to quickly set up NX client/server
Thank you
NoMachine NX while still requiring key auth for SSH, possible? said
[...] Running Ubuntu 10.4 I have been through: http://ubuntuforums.org/showthread.php?t=1546856 http://michigantelephone.wordpress.c…kubuntu-linux/ It seems to me that NoMachine NX requires you leave password authentication on for SSH; This way [...]
NoMachine NX while still requiring key auth for SSH, possible? | Coders & Admins said
[...] NoMachine NX while still requiring key auth for SSH, possible? No Comments Running Ubuntu 10.4 I have been through: http://ubuntuforums.org/showthread.php?t=1546856 http://michigantelephone.wordpress.c…kubuntu-linux/ [...]
NoMachineNX – SSH Remote Desktop for Linux/Unix « Giant Geek Blog said
[...] http://michigantelephone.wordpress.com/2007/10/15/how-to-install-nx-server-and-client-under-ubuntuku… document.getElementById("post-382-blankimage").onload(); [...]
Bala said
Hi I have the following error, when I try to connect my machine:
/usr/NX/bin/server: Exec format error
NX>280 Existing on signal: 15
can you please help.
bobo said
Dude, thank you so much. Worked like a charm … after hours of installing, reinstalling and hair pulling I (a Linux newbie) was able to get everything to work. SUPER DOOPER AWESOME. Cheers
surendra said
Thank you for the post.
I have a problem with nxclient. I could connect to the server, but it does not show title bar and status bar for window. If so is the case, how should i launch the program through NX client? HOw should i start the terminal ?