<div dir="ltr">On Mon, Aug 11, 2008 at 12:01 PM, Robert Moskowitz <span dir="ltr"><<a href="mailto:rgm@htt-consult.com">rgm@htt-consult.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
On Fri, Aug 8, 2008 at 3:55 PM, Robert Moskowitz <<a href="mailto:rgm@htt-consult.com" target="_blank">rgm@htt-consult.com</a> <mailto:<a href="mailto:rgm@htt-consult.com" target="_blank">rgm@htt-consult.com</a>>> wrote:<br>
<br>
<a href="http://www.realvnc.com/products/enterprise/4.1/ipv6.html" target="_blank">http://www.realvnc.com/products/enterprise/4.1/ipv6.html</a><br>
<br>
<br>
IPv6 support in VNC Server E4.1.7/P4.1.2<br>
<br>
VNC Server E4.1.7 & P4.1.2 are fully IPv6-aware, but is shipped<br>
with IPv6 support disabled by default, for security reasons. IPv6<br>
can be enabled by setting "InTransports=IPv6,IPv4" (the default<br>
being IPv4 only), either on the command-line when starting<br>
vncserver under Unix<br>
<br>
Ok. we have vnc-server-4.1.2-9.el5.i386.rpm, so it SHOULD support<br>
IPv6.<br>
<br>
Don't know how to add a setting to the command-line, as I rund<br>
VNCserver via the service command, but I added it to<br>
/etc/sysconfig/vncservers:<br>
<br>
InTransports="IPv6" (note I also tried without the quotes)<br>
<br>
and netstat -na|grep 5902<br>
<br>
shows vncserver only running on IPv4 and I can only connect to it<br>
via IPv4.<br>
<br>
So what am I missing?????<br><br></div></blockquote><div class="Ih2E3d"><br>Rob Lockhart wrote:<br><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
In /etc/sysconfig/vncservers I have something like this:<br>
<br>
VNCSERVERS="1:myusername"<br>
VNCSERVERARGS[1]="-geometry 1400x1050 -depth 16 -localhost"<br>
<br>
(so I can only use localhost, which means I only allow connections over ssh or from the local machine).<br>
<br>
Yours might be something like this:<br>
<br>
VNCSERVERS="1:robert"<br>
VNCSERVERARGS[1]="-geometry 1400x1050 -depth 16 InTransports=IPv6,IPv4"<br>
<br>
</div></blockquote><div class="Ih2E3d">
<br>Well first my line has [2]. I changed that to [1] and tried
all sorts of variants to the above, including putting a - infront of
InTransports (like other options), and replacing the = with a space.
No listening on IPv6.<br>
<br>
I have foudn the RealVNC support mailing list and sent a question
there, hopefully to get answers. But if anyone has anything to suggest
here, please do.<br>
<br>
<br></div></blockquote></div><br>Robert,<br>
<br>
I recently reinstalled VNC - actually "TightVNC" as it's better than
VNC for bandwidth. If you type "Xvnc -h" you'll see all the parameters
supported. I didn't see any options for IPv6 in my version. But yours
might indeed have more options.<br>
<br>
I noticed that the default /etc/init.d/vncserver script seemed to be
ignoring my parameters for VNCSERVERARGS as in the log file, it showed
listening for all hosts (not just local hosts). This was confirmed by
connecting directly from another machine to the VNC server port (:1
which is port 5901). I had an older version of the vncserver script,
and I overwrote the one from the repository with that one, and it took
my parameters. However, the parameters I can confirm are working are:
"-nolisten tcp -localhost -desktop RobHome -geometry 1280x1024".<br>
<br>
First, verify via "Xvnc -h" that the parmeters for IPv6 are supported
(InTransports). Next, could it be possible the ip6tables is blocking
you? My network doesn't use IPv6 so I don't think I could retrace your
steps. Indeed, you are right in that I had omitted a "-" in my email, but didn't want to waste list bandwidth in sending out the obvious typo.<br>
<br>
Regards,<br>
-Rob<br><br><br></div>