Here is the output from the lsof command:
sles9server:~ # lsof -i -n | grep LISTEN
cupsd 4488 lp 0u IPv4 9751 TCP *:ipp (LISTEN)
sshd 4493 root 3u IPv4 9424 TCP *:ssh (LISTEN)
X 11933 root 6u IPv4 15832 TCP *:5900 (LISTEN)
java 12035 retail 180u IPv6 16530 TCP *:syscomlan (LISTEN)
java 12035 retail 182u IPv6 17992 TCP *:10500 (LISTEN)
java 12035 retail 212u IPv6 20503 TCP *:asprovatalk (LISTEN)
sles9server:~ #
Here is the last dozen of so lines of output from the strace command:
9773 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
9773 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
9773 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
9773 setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
9773 bind(4, {sa_family=AF_INET, sin_port=htons(5900),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
9773 close(4) = 0
9773 time(NULL) = 1236793573
9773 write(2, " main:", 6) = 6
9773 write(2, " ", 7) = 7
9773 write(2, " unable", 7) = 7
9773 write(2, " to", 3) = 3
9773 write(2, " bind", 5) = 5
9773 write(2, " listening", 10) = 10
9773 write(2, " socket:", 8) = 8
9773 write(2, " Address", 8) = 8
9773 write(2, " already", 8) = 8
9773 write(2, " in", 3) = 3
9773 write(2, " use", 4) = 4
9773 write(2, " (98)", 5) = 5
9773 write(2, "\n", 1) = 1
9773 write(2, "~ImageCleanup called\n", 21) = 21
The X server is running and listening on 5900, which is configured for VNC.
Do I not need to run x0vncserver and just connect using the vncviewer after
the password is created?
----------------------------------------
> Date: Wed, 11 Mar 2009 17:28:46 +0000
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: x0vncserver start-up error - Address already in use (98)
>
> Drew Wrobel wrote:
>
>> I've rebooting the server and get the same message. What address does
>> x0vncserver think is already in use?
>
> Try using:
>
> "strace -f -o tracefile /usr/bin/x0vncserver -SecurityTypes=VncAuth
> -NeverShared=1"
>
> and/or
>
> "lsof -i -n | grep LISTEN".
>
> Tim.
_________________________________________________________________
Windows Live: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list