[FreeNX-kNX] FreeNX-kNX Digest, Vol 40, Issue 19

Jeremy Wilkins wjeremy at shaw.ca
Wed Dec 19 20:44:46 UTC 2007


Thanks for the reference.  I'll check into it.  I'm not familiar with expect
or its scripting language, but if it will solve the problem without having
to add more duplicate packages I'm up for it, since expect is already a
FreeNX dependency on Debian.

dewey hylton-2 wrote:
> 
> Quoting Jeremy Wilkins <wjeremy at shaw.ca>:
> 
>> Date: Sun, 16 Dec 2007 22:06:17 -0800 (PST)
>> From: Jeremy Wilkins <wjeremy at shaw.ca>
>> Subject: Re: [FreeNX-kNX] missing nxpasswd
>> To: freenx-knx at kde.org
>> Message-ID: <14370092.post at talk.nabble.com>
>> Content-Type: text/plain; charset=us-ascii
>> 
>> 
>> 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
> 
> you could also just use expect, which may be easier than dealing with a
> patched
> source - though it would add an additional dependency.
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-FreeNX-kNX-Digest%2C-Vol-40%2C-Issue-19-tp14377234p14425018.html
Sent from the freenx-knx mailing list archive at Nabble.com.




More information about the FreeNX-kNX mailing list