FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 01-05-2008, 08:40 PM
Tom Horsley
 
Default some simple questions on VNC

On Sat, 5 Jan 2008 12:27:37 -0500 (EST)
"Robert P. J. Day" <rpjday@crashcourse.ca> wrote:

> $ vncviewer 192.168.1.100:5905

I thought you had to use :: to specify a port number
(it certainly works to use :: - I do it to point to the
port I've forwarded through an ssh tunnel).

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-05-2008, 09:13 PM
Cameron Simpson
 
Default some simple questions on VNC

On 06Jan2008 05:59, John Summerfield <debian@herakles.homelinux.org> wrote:
> Robert P. J. Day wrote:
>> On Sat, 5 Jan 2008, Steven Stern wrote:
>>> On 01/05/2008 11:27 AM, Robert P. J. Day wrote:
>>> | 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?
>>>
>>> The 58xx ports fire up a java version of the VNC viewer so you can
>>> use VNC inside a web browser.
>>
>> um ... so the 58xx ports are listening specifically only for
>> java-based VNC viewers that are being invoked from within a browser?
> No, it's a java-implemented http proxy.
> It's in the docs.

No. The java runs in the client browser. The http service in the vnc
server supplies the Java applet, which is a Java implemented vnc viewer.

>> what you wrote above is a bit confusing since it sounds like you're
>> saying that the java VNC viewer is running on the *server* side.
> It is.

No. The viewer runs in the browser - thus in the client.
--
Cameron Simpson <cs@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

We should grant power over our affairs only to those who are reluctant to
hold it and then only under conditions that increase the reluctance.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-06-2008, 02:25 AM
David Timms
 
Default some simple questions on VNC

John Summerfield wrote:
...
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.


Or you can start the installer with a parameter of boot: linux vnc. This
tells the system to start a listening vnc server, and not run the
graphical anaconda on the local machine. From a second machine with gui
you can then vnc to the machine that you are trying to set up and answer
/ see the anaconda GUI. {you need a network and dhcp server unless you
want to provide fixed ip address on the boot line}.


...another way to useful thing to do with vnc, more info at:
http://kbase.redhat.com/faq/FAQ_42_5396.shtm

DaveT.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-06-2008, 05:41 AM
John Summerfield
 
Default some simple questions on VNC

David Timms wrote:

John Summerfield wrote:
...
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.


Or you can start the installer with a parameter of boot: linux vnc. This


Well, perhaps I should have said "Your generic graphical X installer..."

The vnc bit isn't relevant to my point, and worked on the earliest
versions of Anaconda. Or so I've read.




--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- 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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-06-2008, 01:43 PM
"Robert P. J. Day"
 
Default some simple questions on VNC

On Sun, 6 Jan 2008, John Summerfield wrote:

> Robert P. J. Day wrote:

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

with vncserver running at 5901, here's the results:

$ vncviewer <remote>:1 works
$ vncviewer <remote>:5901 works
$ vncviewer <remote>::1 nope, "Connection refused"
$ vncviewer <remote>::5901 works

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.)

if need be, i can bugzilla this as just a confusing bit of lack of
documentation.

rday

p.s. maybe i'll just RTFS to see how the command-line args are being
parsed.

--
================================================== ======================
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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-06-2008, 02:23 PM
Tom Horsley
 
Default some simple questions on VNC

On Sun, 6 Jan 2008 09:43:11 -0500 (EST)
"Robert P. J. Day" <rpjday@crashcourse.ca> 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).

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-06-2008, 03:20 PM
"Robert P. J. Day"
 
Default some simple questions on VNC

On Sat, 5 Jan 2008, Steven Stern wrote:

> It's been a while since I've had it installed, but IIRC,
> http://server:5801 downloads a java app to the client browser that
> functions as a vnc viewer.
>
> http://www.rhic.bnl.gov/RCF/UserInfo/Software/VNC/vnc.html#java

right, i just verified that by starting vncserver (with a display
number of :1) and browsing to http://<server IP>:5801, which popped up
a java applet vnc viewer, so that's another mystery solved.

rday

p.s. on the server side, you can disable this ability by starting
vncserver with the option "-nohttpd", for which "netstat" will show
you that nothing is listening on that port. slowly but surely ...

--

================================================== ======================
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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-07-2008, 01:51 AM
John Summerfield
 
Default some simple questions on VNC

Tom Horsley wrote:

On Sun, 6 Jan 2008 09:43:11 -0500 (EST)
"Robert P. J. Day" <rpjday@crashcourse.ca> 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?

For the curious, connecting to the Apple did not work, it used an
Applescqe authorisation scheme. I have done it since though.


--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- 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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-07-2008, 08:32 AM
"Robert P. J. Day"
 
Default some simple questions on VNC

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@crashcourse.ca> 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.

https://bugzilla.redhat.com/show_bug.cgi?id=427672

i probably could have been more verbose but i figure that was
sufficient. feel free to add extra commentary as you see fit.

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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-07-2008, 09:42 AM
"Robert P. J. Day"
 
Default some simple questions on VNC

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@crashcourse.ca> 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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 03:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org