Error while bringing up X

Pat Kane pekane52 at gmail.com
Thu Oct 21 03:00:21 PDT 2010


Srinidhi,

Try starting your X server like this:

      strace -f -o stlog.txt  X

the output file stlog.txt may get very large.

The strace program is a wonderful  tool and the man page is entertaining to read

      man strace

You might want to practice using it with a simple program like 'date'

      strace -f -o  dlog.txt date

Pat
---

On Wed, Oct 20, 2010 at 11:29 PM, Srinidhi Vijayendra
<srinidhi.kv at digikraft.in> wrote:
> Hi Adam Jackson,
>                 Thanks for the reply. I am not an expert in linux, so I guess it will
> take time for me to figure this out. But surely I will come back to you
> once I figure out what is failing and why it is.
>
> Thanks
> Srinidhi KV
>
>
> On Wed, 2010-10-20 at 10:15 -0400, Adam Jackson wrote:
>> 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
>
>
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: pekane52 at gmail.com
>



More information about the xorg mailing list