Re: some simple questions on VNC



Robert P. J. Day wrote:
nothing serious, just some grotty details to clear up.

1) on the server side, is the equivalence between the listening TCP
port and the display number a 1:1 mapping? that is, does port 5901
always represent display number :1, port 5902 display number :2 and so
on? it certainly *seems* that way, i just want to make sure.

So the documentation says.


2) apparently, although the man page for "vncviewer" doesn't mention
it, you can view to a given port number rather than a display number.
so either of the following would work equally well:

$ vncviewer 192.168.1.100:5
$ vncviewer 192.168.1.100:5905

although as long as there is that 1:1 mapping, there would seem to be
little point using the port number since the display number would work
just as well and is clearly shorter.

You need to verify this with other VNC implementations (TightVNC is fairly popular). If yoy are correct, you might also report it as a bug, either it works incorrectly or it's documented incorrectly.


3) on the server side, what is the purpose of the *other* ports
associated with each listening port? that is, after i start vncserver
listening on port, say, 5917, i can see listening ports 5817 and 6017
suddenly active as well. what are they for?

I've already mentioned 5817; it is documented.

6017 I think is X being X.

Try this:
In your VNC session, open a terminal and run the command
xhost +

and from another host or session
DISPLAY=vnchost:17 xterm
(making the proper substitution for vnchost).

I believe one can use this to get anaconda to display on another system than the install box by setting DISPLAY in the boot menu.

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



--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • FS: Decent spec HP nc6000 Centrino laptop
    ... Docking station with firewire port(I haven't tested if the laptop supports Firewire through the port replicator) ... Processor Intel Pentium M 1.7 GHz ... Display 14.1 in. ... Expandability 2 x Type I/II PC Card Slot, 1 x SD Card Slot, Docking Station/Port Replicator ...
    (uk.adverts.computer)
  • Re: Feasibility question: Simulating (basic) hardware ?
    ... I am thinking about simulation at a somewhat higher level and when I ... connections - the visual representation of these connections being far ... Now, if this port is connected to a seven segment display, it will be ...
    (comp.lang.tcl)
  • Re: now wtf is this good for (Was: Re: ISP blocking smtp port and a way how to solve the issue)
    ... > crap as it does fsck up the display of messages. ... > way to include a signature without fscking up the display unless you ... The port seems unusable at the moment. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: [SLE] MySQL Database Setup
    ... > and removed and reinstalled the packages another time. ... > before I enabled the http server nor after I enabled the http server. ... > display the Apache page. ... not at least when another port number has been ...
    (SuSE)
  • Re: some simple questions on VNC
    ... $ vncviewer 192.168.1.100:5 ... be little point using the port number since the display number ... on the stock f8 vnc packages -- no tightvnc tests yet.) ...
    (Fedora)