Re: some simple questions on VNC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 7 Jan 2008, John Summerfield wrote:

> Tom Horsley wrote:
> > On Sun, 6 Jan 2008 09:43:11 -0500 (EST)
> > "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> wrote:
> >
> > > should i have expected that?  there's nothing in the man page for
> > > vncviewer that remotely suggests a "::" variation.  (this is all based
> > > on the stock f8 vnc packages -- no tightvnc tests yet.)
> >
> > I don't think I've ever seen :: in the man page either, but I did
> > see it in some web pages when looking up how to forward through
> > ssh, and it is useful there if you forward to a local port number
> > that isn't in the 59xx range. The results you got would tend to
> > suggest that vncviewer will try with and without adding 5900 if
> > you use a single :, but it only tries the specific port number if
> > you use a double :: (and of course the tightvnc viewer may act
> > different than the realvnc viewer).
> >
>
> I think it's worth troubling BZ. One time I wanted to connect to a
> server outside the official port range (trying to get an Apple
> desktop which, it was said, used a variation on VNC). I overcame it
> with ssh and port forwarding, but :: would have been neater.
>
> I wonder whether something can go between the colons?

i don't think so, based on this snippet of the source from the vnc
source rpm, the file VNCViewer.java:

  vncServerName.setParam(host + ((port >= 5900 && port <= 5999)
                                       ? (":"+(port-5900))
                                       : ("::"+port)));


so ":" is to be used for the display number, while "::" should be used
for the explicit port number but, somewhere, the code is forgiving
enough to let you use the actual port number with a single ":".  i
don't think i'm interested enough to track down *that* bit of code.
:-)

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

Home page:                                         http://crashcourse.ca
Fedora Cookbook:    http://crashcourse.ca/wiki/index.php/Fedora_Cookbook
========================================================================

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux