Xvnc, which is modified X server to draw desktop remotely with vnc
protocol, can be managed with X Display Manager via XDMCP when
combined with option -query.
But FreeBSD port version of Xvnc seemed to fail to create a session
with xdm, due to xdm error "Decline No valid address".
Fix: This is because of an uninitialized variable bug of XFree 4.3.0 source
tree which current vnc port use. Simply apply the following patch, or
perhaps it is better choice to use fixed X source tree like X.org
How-To-Repeat: execute xdm:
% /usr/X11R6/bin/xdm -debug 1
execute Xvnc server:
% /usr/local/bin/Xvnc :59 -query localhost -once securitytypes=none Log='*:stderr:9'
Xvnc fails to start and outputs following error messages:
Fatal server error:
XDMCP fatal error: Session declined No valid address
Awaiting maintainers feedback
I've got the same problem, and found the patch submitted in the PR in
a mailing list entry (on the RealVNC list) via Google. Tried it, and
it solved my problem as well.
Environment: FreeBSD 6.0
Xvnc started from inetd, as in the configuration example about
inetd mode that can be found in the RealVNC documentation.
I rebuilt the port with Akihiro-san's patch as a locally-added
patch file, and the problem went away.
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)