NoMachine NX on Ubuntu 12.10
Keith
squeeze at winnetworks.com
Wed Apr 3 03:25:46 UTC 2013
On 03/04/13 08:52, Dave Woyciesjes wrote:
> On 04/02/2013 05:30 PM, Keith wrote:
>> On 03/04/13 06:27, Dave Woyciesjes wrote:
>>> I'm having a dickens of a time getting NoMachine NX Server working
>>> on my Ubuntu12.10 system. Will be using a Mac OSX 10.6.8 laptop with
>>> the NoMachine NX Client.
>>> I created ssh keys on the Mac, exported to Ubuntu. Configured the
>>> OpenSSH as per
>>> https://help.ubuntu.com/community/SSH/OpenSSH/Configuring
>>>
>>> And trying to glean help from here:
>>> http://www.nomachine.com/documentation/html/admin-guide.html
>>>
>>> This is the error when I try to connect on the Mac:
>>>
>>> NX> 203 NXSSH running with pid: 23627
>>> 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: (server IP) on port: 22
>>> NX> 202 Authenticating user: nx
>>> NX> 208 Using auth method: publickey
>>> NX> 204 Authentication failed.
>>>
>>>
>>> Help!
>>>
>> Can you SSH from your MAC to the Ubuntu *without* using the NX client?
>>
>> It does look like the authentication you have configured for SSH is not
>> setup correctly. I recently tested NX from an Ubuntu to Ubuntu system
>> and it worked very well, and all I did from memory was setup SSH server
>> on Ubuntu box I wanted to connect to copied the SSH key over from the
>> client.
>>
>> Cheers
>> Keith
>>
>>
> Yeah, setup & tested the SSH first. First I was able to connect
> supplying the password; then I generated & copied the keys over, and
> turned off password auth in the SSH config. Still worked.
> Looking at the NX output above, it says "Authenticating user: nx".
> but in the NX client setup, I typed in the Ubuntu username. What gives
> there?
>
I just setup another test from my Ubuntu laptop to a test Ubuntu VM
laptop running 12.10 and vm 12.04. Was able to connect no problem,
although I did forget and wondered why I started using XRDP instead,
NoMachine doesn't support Unity, so you will need to either setup Gnome
or Kubuntu etc. I think the next version of NX for Linux will support Unity.
Your problem though seems to be with authentication of a nx user, and I
remember something about this in the docs last time, just to be sure I
assume you are entering the username into the NXClient app on your mac
of a user on the Ubuntu machine? Otherwise take a look at this:
http://www.nomachine.com/ar/view.php?ar_id=AR10B00046
By the way, do you really need to use NX, what about doing what I did
and installing XRDP on Ubuntu and then running an RDP client from your
MAC, it's very fast... just not as secure, although I think you can also
set this up via SSH too.
Cheers
Keith
More information about the ubuntu-users
mailing list