Re: vncserver, display numbers and port numbers



On Mon, 7 Jan 2008, William Hooper wrote:

On Jan 6, 2008 2:40 PM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
[snip]
hmmmm ... not really, but you can see how vncserver thinks. port 5906
is currently listening; therefore, display :6 is assumed to be
running, even though you *clearly* specified display :5 above.

The vncserver command is just a perl script. If you take a look at
the script itself you will see that specifying ":5" is just used to
calculate the port number, it has no significance beyond that. Since
you manually specified a port number, the ":5" is basically ignored.

I take part of that back. It does appear to also be used for the
naming of the log file.

and (from memory), it's also used for the numbering of the associated
58xx and 60xx ports, so that the trifecta of 58xx/59xx/60xx port
numbers don't need to match in those last two digits. or so i recall.
i can verify that later.

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



Relevant Pages

  • Re: vncserver, display numbers and port numbers
    ... even though you *clearly* specified display:5 above. ... The vncserver command is just a perl script. ... the script itself you will see that specifying ":5" is just used to ... you manually specified a port number, ...
    (Fedora)
  • Re: lineGetID() on PocketPC / Compact Framework
    ... The comm/datamodem/portname device class consists of the device names to ... which modems are attached. ... null-terminated ANSI string specifying the name of the port to ... If there is no port associated with the device, ...
    (microsoft.public.win32.programmer.tapi)
  • RE: ISA 2k: Set port and credentials in Browser URL
    ... If necessary, a non-default port number can be specified the usual way, ... specifying the non-default port. ... AFAIK user credentials cannot be specified in the URL, ... be a logged in User account or a Service Account, ...
    (microsoft.public.isa)
  • Re: Help with multiple domains and multiple IPs
    ... Just add the "Family" paramiter. ... all" instead of specifying each IP). ... I put in three lines (as I did not specify the port).. ... NEW localhost mail is now going out correctly as well. ...
    (comp.mail.sendmail)
  • Printing to a File???
    ... on the port "FILE:" (specifying that they go to an hp psc 750 xi). ... when I try to "Use the web service to find the appropriate program" I get a ...
    (microsoft.public.windowsxp.print_fax)