[FreeNX-kNX] missing nxpasswd

Jeremy Wilkins wjeremy at shaw.ca
Mon Dec 17 06:06:17 UTC 2007


This is great, I'm glad it works for you.  I have found that this script does
not work on Ubuntu Gutsy.  I'm not sure about previous versions.  It seems
the vncpasswd version in Ubuntu does not accept piped data.  Instead, it
still forces entry by keyboard (which doesn't work for automation).  I'm
sure this is a Debian packaging issue, so I plan on creating a vncpasswd
package that uses modified sources of a recent version of vncpasswd from
RealVNC.  This wouldn't be a violation in my opinion of the Debian packaging
rules since it won't accomplish the same result.


Jeffrey Borg-2 wrote:
> 
> Hi,
> 
> I was trying to connect to a vnc server via nx this morning but noticed
> on my gentoo box the nxpasswd command in no longer there.And honce the
> passwd file wasn't created.
> 
> the vncpasswd command needs the password repeated twice into it. So I
> quickly created this wrapper around vncpasswd
> 
> COMMAND_VNCPASSWD=/usr/local/bin/nxpasswd
> 
> The contents of the wrapper are
> #!/bin/sh
> read passwd
> echo "$passwd
> $passwd" | vncpasswd $1
> 
> 
> 
> I think this will still have problems as vncpasswd has limitations. eg
> min length 6 characters etc...
> 
> Regards
> 
> Jeffrey Borg
> 
> 

-- 
View this message in context: http://www.nabble.com/missing-nxpasswd-tp14367662p14370092.html
Sent from the freenx-knx mailing list archive at Nabble.com.




More information about the FreeNX-kNX mailing list