Error while bringing up X

Adam Jackson ajax at nwnk.net
Wed Oct 20 07:15:37 PDT 2010


On Wed, 2010-10-20 at 14:12 +0530, Srinidhi KV wrote:
> Hi I am Srinidhi, I am trying to bring up XWindow on an arm target, I
> have built the filesystem with X in it. When I try to start it from
> command line using command "X&" I get the following error, Can anyone
> please help me debugging this problem. 
> 
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't
> already run

This is your error.  strace would tell you what's going wrong here.  On
a working server you should see a sequence like:

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
setsockopt(1, SOL_TCP, TCP_NODELAY, [1], 4) = 0
setsockopt(1, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(1, {sa_family=AF_INET, sin_port=htons(6001), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
setsockopt(1, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, 8) = 0
listen(1, 128)                          = 0

Most likely one of the calls to socket(), bind(), or listen() is
failing; figure out why.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20101020/9f0624d1/attachment.pgp>


More information about the xorg mailing list