[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nomachine on Debian unstable?



Le Tuesday 25 September 2007 07:51:12 Stefan Bellon, vous avez écrit :
> On Tue, 25 Sep, Gilles Mocellin wrote:
> > Le Monday 24 September 2007 08:41:34 Stefan Bellon, vous avez écrit :
> > > Hi,
> >
> > [...]
> >
> > I think the problem is here :
> > > NX> 208 Using auth method: publickey
> > > NX> 204 Authentication failed..
> >
> > [...]
> >
> > Do you use the defaut ssh key ?
>
> Yes, haven't touched a thing.
>
> > As it tells you, I suggest you to re-install the packages.
>
> Done it several times. Tried on two unstable machines.
>
> > Remove /usr/NX to be sure before reinstalling them. And verify that
> > there is not anymore the nx user (/etc/passwd).$
>
> Done that. No change.
>
> After that I tracked down what happens if I do
>
> $ ssh nx@localhost
>
> I only got that working when I disabled PAM in my sshd_config and
> enabled password authentication and empty passwords. But nxclient still
> cannot connect.

I think we can't test a nx login with the default key.

$ sudo cat /usr/NX/home/nx/.ssh/authorized_keys2
no-port-forwarding,no-agent-forwarding,command="/usr/NX/bin/nxserver --login" 
ssh-dss AAAAB3N...

Only nxserver can be run with the key.

When I try manually, it asks me a passphrase :
$ sudo cp /usr/NX/home/nx/.ssh/default.id_dsa.pub nx.id_dsa.pub
$ sudo chown gilles:gilles nx.id_dsa.pub
$ chmod 600 nx.id_dsa.pub
$ ssh -i nx.id_dsa.pub nx@guitare /usr/NX/bin/nxserver --login
Enter passphrase for key 'nx.id_dsa.pub':

And I don't know it...

Perhaps I will have the same problem if I try to upgrade.. Which version do 
you have ?
I have nxserver_3.0.0-63_x86_64.deb, nxnode_3.0.0-76_x86_64.deb and 
nxclient_3.0.0-68_x86_64.deb.
 


Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: