VNC/http problem

Hello

I have UltraVNC on my Win XP workstation and I can connect to all my OpenSUSE hosts (all 12.3)
But I prefer to use the http server and until a few hours (Yast updates) ago I could also do this with no problems.

However - after installing some patches I can’t access any of my OpenSuse hosts from any browsers (message in browser is “Network error: could not connect to server <any of my servers …>”)

All hosts are on my LAN and firewall is disabled

Any clues on what to look for / how to fix?

cheers,
Jens

On Mon, 05 Aug 2013 21:06:04 +0000, jens middelfart wrote:

> Hello
>
> I have UltraVNC on my Win XP workstation and I can connect to all my
> OpenSUSE hosts (all 12.3)
> But I prefer to use the http server and until a few hours (Yast updates)
> ago I could also do this with no problems.
>
> However - after installing some patches I can’t access any of my
> OpenSuse hosts from any browsers (message in browser is “Network error:
> could not connect to server <any of my servers …>”)
>
> All hosts are on my LAN and firewall is disabled
>
> Any clues on what to look for / how to fix?

I would start on the server with:

lsof -i

And see if the vnc server shows the port open.

If it is, I would use telnet from a client to the host to see if a
connection is established on port 5800/5900 (or 5801/5901, 5802/5902, or
whatever the open port is).

If that works, then the problem is in VNC itself - either the server or
the browser/client.

If it doesn’t, then you’ve isolated the problem further and can diagnose
from there.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi Jim
thanks :slight_smile:

lsof shows the following
xinetd 4064 root 5u IPv4 17506 0t0 TCP *:5901 (LISTEN)
xinetd 4064 root 8u IPv4 17507 0t0 TCP *:5902 (LISTEN)
xinetd 4064 root 9u IPv4 17508 0t0 TCP *:5903 (LISTEN)
xinetd 4064 root 10u IPv4 17509 0t0 TCP *:5801 (LISTEN)
xinetd 4064 root 11u IPv4 17510 0t0 TCP *:5802 (LISTEN)
xinetd 4064 root 12u IPv4 17511 0t0 TCP *:5803 (LISTEN)

so I guess this is OK , i.e. the server listens on port 5801 - 5803 as well as 5901 - 5903

From Win XP I telnet the server on port 5801
I don’t get any answer (console output) whereas telnet on port 5901 gives me “RFB 003.008”
I am not sure how to interpret this - is there a way to ascertain that I actually have a connection ?

cheers,
Jens

On Tue, 06 Aug 2013 18:26:01 +0000, jens middelfart wrote:

> From Win XP I telnet the server on port 5801 I don’t get any answer
> (console output) whereas telnet on port 5901 gives me “RFB 003.008”
> I am not sure how to interpret this - is there a way to ascertain that I
> actually have a connection ?

No answer on 5801 means that the web service isn’t listening.

lsof -i shows that it is running, so I’d go back to the firewall config
and double check it.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Thanks for a quick answer
I took a look using wireshark to see that there actually was TCP communication between the client and the server - and there is ( as expected since there is no firewall active on the inside of my LAN )
However - fiddling around - I found the problem:
in /etc/xinet.d/vnc there was the following line in the definition for service vnchttpd1 (and 2 and 3 as well):


server_args = -noreset 1024 768 5901

this doesn’t work , but if the -noreset is removed everything works fine again, i.e.


server_args = 1024 768 5901

Since all my servers has the same problem after applying an automatic update in Yast I guess this might be a problem relating to a recent fix in Vnc

Can you perhaps as a last favour tell me if I shoud report this (possible) bug somewhere ?

again, thanks a bunch
Jens

On Wed, 07 Aug 2013 11:46:02 +0000, jens middelfart wrote:

> Can you perhaps as a last favour tell me if I shoud report this
> (possible)
> bug somewhere ?

Glad to hear you found the issue - bugzilla.novell.com would be the place
to report it. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

OK - Done :slight_smile: