PDA

View Full Version : [ubuntu] Amazon EC2 - Free NX (auth problem)


p3dro.sola
March 22nd, 2010, 01:04 PM
Hi. I've set up a EC2 using a standard Ubuntu 9.10 AMI.

I followed this (https://help.ubuntu.com/community/FreeNX#Installing%20the%20FreeNX%20server%20on%20U buntu%20Karmic%20%289.10%29) tutorial, and got FreeNX set up correctly. The default config for FreeNX is to use keys and not passwords for authentication. After setting up FreeNX it prints a message saying that it's now configured so that the user's can user their normal login information to access the server through NX.
The problem is that the AMI is configured so that the ubuntu user desn't have a password (http://alestic.com/2009/04/ubuntu-ec2-sudo-ssh-rsync). But the FreeNX client requires one, as well as a key.

Also, am i supposed to login as ubuntu? make a new user?

Comments are appreciated. Cheers!

p3dro.sola
March 22nd, 2010, 02:56 PM
Never mind. I figured it out.

The problem is that you gotta enable Password based ssh authentication in /etc/ssh/sshd_config

(after creating a new user.)

Ezrie
December 12th, 2010, 04:01 AM
Never mind. I figured it out.

. . . you gotta enable Password based ssh authentication in /etc/ssh/sshd_config.

(after creating a new user.)

How do you do this?