Re: vncserver, display numbers and port numbers

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

 



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
========================================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux