It looks like another app is using 59?? ports. Does vncserver check for taken ports both 60?? and 59??, if not a vnc bug. Yes, vncserver checks both ports:
It'd be interesting to see the lsof of those ports, who is using them for what, but you need to be root for that (to see all user info). You'd think 100 ports would be enough.
Anyone know of a site where I can download a copy (non-evaluation copy and preferably free. ;) nods to Neo's post in UNIX Operating System thread) of VNC for RedHat 8? Thanks in advance. (7 Replies)
Hi All,
I'm having a very difficult time compiling VNC for HPUX 11.0. Is there a vnc depot sitting somewhere out there ?
Thanks a bunch,
KENT (1 Reply)
Hello fellows,
I am new in this forum, i would appreciate your assistance.
I need a timming system for my vnc desktops (Cybercafe timer stuff).
Each unix user login to my server only with vnc, and i want to write a program that can generate timer tickets and have control on the time used for... (0 Replies)
Hello fellows,
I am new in this forum, i would appreciate your assistance.
I need a timming system for my vnc desktops (Cybercafe timer stuff).
Each unix user login to my server only with vnc, and i want to write a program that can generate timer tickets and have control on the time used for... (1 Reply)
Hi all,
I have vncserver installed on Sun Solaris 8. The xstartup file looks like:
#!/bin/sh
&& xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
/usr/dt/bin/dtwm &
I have installed VNC on /usr/local/bin. When I try to... (0 Replies)
Hi all,
Almost at my wit ends, trying to connect to vnc port 0 on Solaris 10.
configured Xservers with the followin:
:0 Local local_uid@none root /usr/X11/bin/Xserver :0 -rfbauth /etc/.vnc/passwd -rfbport 5900
:1 Local local_uid@none root /usr/X11/bin/Xserver :1 -rfbauth... (1 Reply)
First you need to know that I'm 100% new to solaris/unix.
I'm trying to setup VNC on my sparc based server that I just installed solaris 10 on but when I type in vncserver to start it, I get "couldn't find "xauth" on your PATH"
What do I do so I can get a gui up and running remotely on my... (20 Replies)
Hi All,
How to restrict the NIS users not to change their passwords in for NIS users??
and my NIS user is unable to login to at client location what could be the problem for this ?
Any body can help me. Thanks in advance. (1 Reply)
Hi All,
I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
hi,
i am new to shell scripts
i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies
LEARN ABOUT PHP
socket_getsockname
SOCKET_GETSOCKNAME(3) 1 SOCKET_GETSOCKNAME(3)socket_getsockname - Queries the local side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on
its typeSYNOPSIS
bool socket_getsockname (resource $socket, string &$addr, [int &$port])
DESCRIPTION
Note
socket_getsockname(3) should not be used with AF_UNIX sockets created with socket_connect(3). Only sockets created with
socket_accept(3) or a primary server socket following a call to socket_bind(3) will return meaningful values.
PARAMETERS
o $socket
- A valid socket resource created with socket_create(3) or socket_accept(3).
o $addr
- If the given socket is of type AF_INET or AF_INET6, socket_getsockname(3) will return the local IP address in appropriate nota-
tion (e.g. 127.0.0.1 or fe80::1) in the $address parameter and, if the optional $port parameter is present, also the associated
port. If the given socket is of type AF_UNIX, socket_getsockname(3) will return the Unix filesystem path (e.g. /var/run/dae-
mon.sock) in the $address parameter.
o $port
- If provided, this will hold the associated port.
RETURN VALUES
Returns TRUE on success or FALSE on failure. socket_getsockname(3) may also return FALSE if the socket type is not any of AF_INET,
AF_INET6, or AF_UNIX, in which case the last socket error code is not updated.
SEE ALSO socket_getpeername(3), socket_last_error(3), socket_strerror(3).
PHP Documentation Group SOCKET_GETSOCKNAME(3)