On Sat, Jul 03, 2010 at 09:12:31PM +0700, Antoine Martin wrote: > Hi, > > I can't seem to get vncviewer to connect to an OSX display exported via > VNC if I use the PasswordFile option! > > The server is setup using: > sudo > /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart > -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy > yes -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all > > Then the client just does: > vncviewer PasswordFile=mypasswd.txt OSX::5900 > > It says it is connected, but doesn't display anything: > CConn: connected to host 192.168.42.111 port 5900 > CConnection: Server supports RFB protocol version 3.889 > CConnection: Using RFB protocol version 3.8 > ^ Stuck at this point, no window appears. > > But if I do: > echo mypasswd | vncviewer passwdInput=1 192.168.42.111::5900 > or if I just type the password into the dialog box... it works! > > I've tried vncviewer 1.0.1 on various platforms and the version that > comes with Fedora 13... no go
That's weird, I tried the PasswordFile option and it works fine in my case (I tried it with UNIX Xvnc, not with OSX VNC server). Would it be possible to tell me how did you create mypasswd.txt file, please? Did you use "vncpasswd" utility? Regards, Adam -- Adam Tkac, Red Hat, Inc. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel