Xvnc and -localhost revisited

Jon Maltz jmaltz "at" nema.com
Fri, 25 Aug 2000 13:43:32 +0000


Let's try this again . . . I'm sure my firt email got lost somewhere.


I'm running vnc-3.3.3r1 (from the FreeBSD ports directory) on FreeBSD
4.1-RELEASE, also duplicated on a fresh install of 4.0-RELEASE.  When I run
vncserver :12 it works fine, if I append -localhost it doesn't.  When I do
run it with localhost Xvnc bombs, but everything in ~/.vnc/xstartup
executes.  Also tried on :1, :2, etc.

So I ran it without -localhost, did ps auxww to get the full Xvnc startup
line, and ran it manually.  The results without -localhost:

Xvnc :12 -desktop X -httpd /usr/local/vnc/classes -auth
/home/someuser/.Xauthority -geometry 1024x768 -depth 8 -rfbwait 120000
-rfbauth /home/someuser/.vnc/passwd -rfbport 5912

11/08/00 11:19:19 Xvnc version 3.3.3r1
11/08/00 11:19:19 Copyright (C) AT&T Laboratories Cambridge.
11/08/00 11:19:19 All Rights Reserved.
11/08/00 11:19:19 See http://www.uk.research.att.com/vnc for information on
VNC
11/08/00 11:19:19 Desktop name 'X' (some.domain.com:12)
11/08/00 11:19:19 Protocol version supported 3.3
11/08/00 11:19:19 Listening for VNC connections on TCP port 5912
11/08/00 11:19:19 Listening for HTTP connections on TCP port 5812
11/08/00 11:19:19   URL http://some.domain.com:5812

And if I killed it, and ran it with -localhost: 

Xvnc :12 -desktop X -httpd /usr/local/vnc/classes -auth
/home/someuser/.Xauthority -geometry 1024x768 -depth 8 -rfbwait 120000
-rfbauth /home/someuser/.vnc/passwd -rfbport 5912 -localhost

11/08/00 11:20:10 Xvnc version 3.3.3r1
11/08/00 11:20:10 Copyright (C) AT&T Laboratories Cambridge.
11/08/00 11:20:10 All Rights Reserved.
11/08/00 11:20:10 See http://www.uk.research.att.com/vnc for information on
VNC
11/08/00 11:20:10 Desktop name 'X' (some.domain.com:12)
11/08/00 11:20:10 Protocol version supported 3.3
11/08/00 11:20:10 Listening for VNC connections on TCP port 5912
11/08/00 11:20:10 ListenOnTCPPort: Can't assign requested address

Does anyone have any idea on this?

Jon
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------