1752578 Members
3882 Online
108788 Solutions
New Discussion юеВ

Re: VNCserver issues

 
Manikrajan
Occasional Contributor

VNCserver issues

I have configured VNC server in a server with HPUX11.11.This is not working.I am not able to telnet the port from the localhost.Pls help

sys54:/ # telnet localhost 5950
Trying...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

/etc/inetd.conf
vnc800x600x8 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -dpi 75 -inetd -query localhost -once -geometry 800x600 -depth 8
vnc800x600x24 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -dpi 75 -inetd -query localhost -once -geometry 800x600 -depth 24
vnc1024x768x8 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -dpi 75 -inetd -query localhost -once -geometry 1024x768 -depth 8
vnc1024x768x24 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -dpi 75 -inetd -query localhost -once -geometry 1024x768 -depth 24

/etc/services
vnc800x600x8 5950/tcp
vnc800x600x24 5951/tcp
vnc1024x768x8 5952/tcp
vnc1024x768x24 5953/tcp
9 REPLIES 9
Paul McCleary
Honored Contributor

Re: VNCserver issues

Hi,

From the output above it looks like you do have something listening on 5950.

You can check this with:

netstat -an|grep 595|grep -i list

Have you tried to connect to the system with a vnc client?

Paul
B. Hulst
Trusted Contributor

Re: VNCserver issues

netstat -a |grep 5590

or

netstat -a | grep vnc


what output do your get there?
Manikrajan
Occasional Contributor

Re: VNCserver issues

Here is the output

sys54:/ # netstat -an|grep 595|grep -i list
tcp 0 0 *.5951 *.* LISTEN
tcp 0 0 *.5950 *.* LISTEN
tcp 0 0 *.5953 *.* LISTEN
tcp 0 0 *.5952 *.* LISTEN

When i try conneting the server through VNC viewer i am not getting any response or errors it just vanishes(sys54:50)
Paul McCleary
Honored Contributor

Re: VNCserver issues

I haven't got VNC to test etc. or even used it in a long time.

But a shot in the dark, are you using:

sys54:50

In your host connection string?

I think how you are specifying it is referring to the display, so maybe try:

sys54:0 or sys54:1

If you want to try the port, I *think* you can do:

sys54::50 (I thought it defaulted to =>5900)
..though you could try the full port:
sys54:5950

HTH, Paul
Manikrajan
Occasional Contributor

Re: VNCserver issues

sys54:1 didnot help.I am getting ;Failed to connect to server.

I hope if i am able to telnet to the localhost with the ports succesfully,the issue will be resolved.Any solution for that?
Steven E. Protter
Exalted Contributor

Re: VNCserver issues

Shalom,

netstat -an | grep 59

You might find out first what port vnc is running on. The default on Linux/Unix is usually 5900 or 5901

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Paul McCleary
Honored Contributor

Re: VNCserver issues

Have you tried using a browser to connect:

http://sys54:5950

You could also try putting in sys54's IP address, just in case you have a name resolution issue.
Manikrajan
Occasional Contributor

Re: VNCserver issues

Can someone help to resolve this issue
Manikrajan
Occasional Contributor

Re: VNCserver issues

I am trying to connect the server(sys54) from vnc viewer in my desktop(nawin011).
This is the output of netstat at this time from the server

tcp 0 0 sys54.5951 nawin11.4011 TIME_WAIT