1826344 Members
4048 Online
109692 Solutions
New Discussion

Re: VNC port on hp-ux

 
Alain Yoshida
Regular Advisor

VNC port on hp-ux

I am a newbie of VNC. It is said VNC use port 5950
but I find nothing using following command:
netstat -an|grep 595|grep -i list

1) How to know which VNC port I used ? 5950 or 600... ?
2) How to check the VNC server software version on hp-ux?

Thanks

3 REPLIES 3
DeafFrog
Valued Contributor

Re: VNC port on hp-ux

Hi Martin ,

check if you have lsof installed on HP ux server ,
1) How to know which VNC port I used ?
assuming the service is running :
netstat -an | grep -iE "595*|600*"
/usr/local/bin/lsof | grep -iE "595*|600*"

2)How to check the VNC server software version on hp-ux?
swlist | grep -i vnc*

hope this helps.
Regards,
FrogIsDeaf
Alain Yoshida
Regular Advisor

Re: VNC port on hp-ux

1) a lot of output from lsof | grep -iE "595*|600*"

One of them is
"Xvnc 8460 root 14u inet 0x511316c0 0t3936 TCP ServerName:6001->ServerName:63715 (ESTABLISHED)"

So this means the port is 6001 or 63715 ?
The port 6001 and 63715 connected on same server , why ?


2)swlist | grep -i vnc* come out nothing.
Thanks
Benoy Daniel
Trusted Contributor

Re: VNC port on hp-ux

Looks like the same server is acting as client as well as server.