Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-26 Thread Andrew C Aitchison
On Tue, 25 Oct 2005, Stefan Strobl wrote:

 There are some more messages which I'm not able to capture. Logging to a 
 file didn't work. After restarting the file's empty...

How hard is the restart - power button, or just ctrl-alt-delete
(or ctrl-alt-f1, ctrl-alt-delete) ?

When working with lockups I sometimes set a 5 minute cron job to sync the 
disks:
0,10,20,30,40,50 * * * * /bin/sync
5,15,25,35,45,55 * * * * /bin/sync

then when it locks up I wait five minutes before pressing the power 
button. This often gives the machine a chance to write the log to disk.

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-26 Thread Stefan Strobl

Andrew C Aitchison wrote:


On Tue, 25 Oct 2005, Stefan Strobl wrote:
 

There are some more messages which I'm not able to capture. Logging to a 
file didn't work. After restarting the file's empty...
   



How hard is the restart - power button, or just ctrl-alt-delete
(or ctrl-alt-f1, ctrl-alt-delete) ?
 


I have to power cycle the machine...

When working with lockups I sometimes set a 5 minute cron job to sync the 
disks:

0,10,20,30,40,50 * * * * /bin/sync
5,15,25,35,45,55 * * * * /bin/sync

then when it locks up I wait five minutes before pressing the power 
button. This often gives the machine a chance to write the log to disk.
 


I don't quite understand?
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-26 Thread Dr Andrew C Aitchison
On Wed, 26 Oct 2005, Stefan Strobl wrote:

 Andrew C Aitchison wrote:
 
 On Tue, 25 Oct 2005, Stefan Strobl wrote:
   
 
 There are some more messages which I'm not able to capture. Logging to a 
 file didn't work. After restarting the file's empty...
 
 
 
 How hard is the restart - power button, or just ctrl-alt-delete
 (or ctrl-alt-f1, ctrl-alt-delete) ?
   
 
 I have to power cycle the machine...

In that case the following is less likely to help.
 
 When working with lockups I sometimes set a 5 minute cron job to sync the 
 disks:
 0,10,20,30,40,50 * * * * /bin/sync
 5,15,25,35,45,55 * * * * /bin/sync
 
 then when it locks up I wait five minutes before pressing the power 
 button. This often gives the machine a chance to write the log to disk.

 I don't quite understand?

Sometimes the graphics card is locked up, but the cpu is still running;
it is just that you can't see what it is doing.
If the Xserver is chewing cycles you might not have a keyboard either.
In these cases, syncing the disk can flush buffers so that the
log file does contain useful info on reboot.

You did redirect stdin *and* stderr (  in bash) to the logfile ?
I can't remember now, does XF_SVGA have options to increase
its verbosity ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Enrico Weigelt
* Marc Aurele La France [EMAIL PROTECTED] wrote:
 On Fri, 21 Oct 2005, Stefan Strobl wrote:
 Thanks for the help. Indeed it's compiling without errors now.
 Trying to run XF86Setup doesn't work though. When trying to swith to 
 graphics mode I get the following error:
 
 _X11TransSocketUNIXConnect: Can't connect: errno = 111
 
 and after some attempts it gives up saying:
 
 Unable to communicate with X server!
 
 Any ide what's going wrong now?
 
 It looks to me your kernel doesn't support unix sockets.

At my site (gnu/linux-x86), the code 111 is connection refused.
For me it sounds a little bit like the socket the client tries
to connect to isnt connected anyone else on the other side
(aka x-server not listening)


cu
-- 
-
 Enrico Weigelt==   metux IT service
  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
-
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))
http://www.fxignal.net/
-
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Marc Aurele La France wrote:


On Fri, 21 Oct 2005, Stefan Strobl wrote:

Trying to run XF86Setup doesn't work though. When trying to swith to 
graphics mode I get the following error:



_X11TransSocketUNIXConnect: Can't connect: errno = 111



and after some attempts it gives up saying:



Unable to communicate with X server!


It looks to me your kernel doesn't support unix sockets.

Thanks for the response. I'm quite sure my kernel does support unix 
sockets. It's a standard SuSE 8.1 kernel and I checked the .config which 
has the Unix domain sockets option enabled.


Any other ideas?
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Sergey Babkin wrote:


On Fri, 21 Oct 2005, Stefan Strobl wrote:
   


Thanks for the help. Indeed it's compiling without errors now.
Trying to run XF86Setup doesn't work though. When trying to swith to graphics 
mode I get the following error:
 


_X11TransSocketUNIXConnect: Can't connect: errno = 111
 


and after some attempts it gives up saying:
 


Unable to communicate with X server!
 


Any ide what's going wrong now?
 



More likely there are some problems with permissions. 
The permissions to the X server Unix sockets are

a tricky issue, too little - and you can't connect,
too much - and you have a security issue.
 

I'm running everything as root. So permissions shouldn't be a problem at 
this point, right?



Of course, another stupid question is: Is an X server
running on this machine at all?

Well, I expected XF86Setup to do that for me. I just ran 'make World' 
and 'make install'. Now I wanted to run XF86Setup for it to configure my 
X server before starting it???
I also tried xf86config which runs through flawlessly but when trying to 
'startx' gives me a blank screen and it then hangs...
Sorry for my unqualified information but I'm quite new to XFree86.  If 
there's any further information I can provide I'd be happy to do so. I'm 
quite desparate of getting this XFree86 3.3.6 up running


BTW. I don't really know about the meaning of this but there's *_no_* 
entry like the following when running 'netstat -an':

unix   2   [ACC]   STREAMLISTENING427/tmp/.X11-unix/X0
Should there be one like this (I've read so somewhere else...)?

Thanks a lot.
Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Loic Grenie wrote:


   You should have a XFree86 binary installed somewhere (/usr/X11R6/bin
 usually) by make install. Just run the binary, it should work. To come
 back to a text terminal, hit Ctrl-Alt-F1.

 Loïc Grenié
 


Thanks.
I've no binary called XFree86. When executing XF86_SVGA, that's the 
server I want to use, then I get a blank screen and the system hangs. I 
cannot switch terminals after that. The keyboard doesn't react at all 
anymore. Before the system goes haywire it prints some messages on the 
screen. They seem normal so far but they go so quickly that I cannot 
capture anything


Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Dr Andrew C Aitchison
On Tue, 25 Oct 2005, Stefan Strobl wrote:

 Loic Grenie wrote:
 
 You should have a XFree86 binary installed somewhere (/usr/X11R6/bin
   usually) by make install. Just run the binary, it should work. To come
   back to a text terminal, hit Ctrl-Alt-F1.
 
   Lo�c Greni�
   
 
 Thanks.
 I've no binary called XFree86. When executing XF86_SVGA, that's the 
 server I want to use,

Is this XFree86 v3 or v4 ?

I think XF86_SVGA went out with v3, which was about 6 years ago
(and more like 8 for developers).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Dr Andrew C Aitchison wrote:


On Tue, 25 Oct 2005, Stefan Strobl wrote:
 


Loic Grenie wrote:
   


  You should have a XFree86 binary installed somewhere (/usr/X11R6/bin
usually) by make install. Just run the binary, it should work. To come
back to a text terminal, hit Ctrl-Alt-F1.

Lo�c Greni�

 


Thanks.
I've no binary called XFree86. When executing XF86_SVGA, that's the 
server I want to use,
   



Is this XFree86 v3 or v4 ?

I think XF86_SVGA went out with v3, which was about 6 years ago
(and more like 8 for developers).
 


Yes, XFree86 3.3.6.
I know it's a bit old but the customer is king. :-)

Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Loic Grenie wrote:


Loic Grenie wrote:
   


  You should have a XFree86 binary installed somewhere (/usr/X11R6/bin
usually) by make install. Just run the binary, it should work. To come
back to a text terminal, hit Ctrl-Alt-F1.

Loïc Grenié
 


Thanks.
I've no binary called XFree86. When executing XF86_SVGA, that's the 
server I want to use, then I get a blank screen and the system hangs. I 
cannot switch terminals after that. The keyboard doesn't react at all 
anymore. Before the system goes haywire it prints some messages on the 
screen. They seem normal so far but they go so quickly that I cannot 
capture anything
   



  Sorry, that XF86_SVGA of course (XFree86 is the name of the executable
 for version 4.0+).

   You need to get the output to understand what happens. Try to start:
 XF86_SVGA  log 21 (or XF86_SVGA  log with *csh shells).

 Loïc
 


Hi
when running XF86_SVGA I get the following messages:

XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 8 1999
[...]
Operating System: Linux 2.4.19-4GB i686 [ELF]
Configured drivers:
SVGA: server for SVGA graphics adaptors (Patchlevel 1):
   NV1, STG2000, [...], smi, generic
(using VT number 7)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keymap: xfree86(de) (overrides other XKB settings)
(**) Mouse: type: PS/2, device: /dev/mouse, buttons: 3
(**) Mouse: 3 button emulation (timeout: 50ms)
(**) SVGA: Graphics device ID: SMI LynxEM+ (generic)
(**) SVGA: Monitor ID: My Monitor
(--) SVGA: Mode 800x600 needs hsync freq of 35.16 kHz. Deleted.
(--) SVGA: Mode 1024x768 needs hsync freq of 35.52 kHz. Deleted.
(--) SVGA: Mode 640x480 needs hsync freq of 37.86 kHz. Deleted.
[...]

There are some more messages which I'm not able to capture. Logging to a 
file didn't work. After restarting the file's empty...


Even after changing the hsync and vsync range to something big enough 
(which actually is out of spec) it still doesn't come up and hangs with 
a blank screen.
XFree86 4.2.0 runs fine. Is there any way I can copy configs from 4.2.0 
to 3.3.6 to make it run?


Thx
Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Stefan Strobl

Sergey Babkin wrote:



Basically this all means that your X server is not running.
Try to find out the model of the card and see if there is
a more suitable driver (different XF86_* binary) for it.
The SVGA usually works on almost any card but there are some
exceptions that don't keep compatibility. Usually they
come on laptops, but I've seen one such desktop card as well.

-SB
 

My graphics card is in the list (Silicon Motion Lynx EM+) and suggests 
using XF86_SVGA.

Has anyone else experience with that graphics controller?

Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-24 Thread Marc Aurele La France

On Fri, 21 Oct 2005, Stefan Strobl wrote:

Thanks for the help. Indeed it's compiling without errors now.
Trying to run XF86Setup doesn't work though. When trying to swith to graphics 
mode I get the following error:



_X11TransSocketUNIXConnect: Can't connect: errno = 111



and after some attempts it gives up saying:



Unable to communicate with X server!



Any ide what's going wrong now?


It looks to me your kernel doesn't support unix sockets.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Academic Information and|  fax:1-780-492-1729   |
|Communications Technologies   |  email:  [EMAIL PROTECTED]  |
|  352 General Services Building   +---+
|  University of Alberta   |   |
|  Edmonton, Alberta   | Standard disclaimers apply|
|  T6G 2H1 |   |
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-24 Thread Rob Currey
I've seen this I believe in some ports ... I seem to recall permissions 
being the issue ...


- Original Message - 
From: Marc Aurele La France [EMAIL PROTECTED]

To: Stefan Strobl [EMAIL PROTECTED]
Cc: devel@XFree86.Org
Sent: Monday, October 24, 2005 10:11 AM
Subject: Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111



On Fri, 21 Oct 2005, Stefan Strobl wrote:

Thanks for the help. Indeed it's compiling without errors now.
Trying to run XF86Setup doesn't work though. When trying to swith to 
graphics mode I get the following error:



_X11TransSocketUNIXConnect: Can't connect: errno = 111



and after some attempts it gives up saying:



Unable to communicate with X server!



Any ide what's going wrong now?


It looks to me your kernel doesn't support unix sockets.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Academic Information and|  fax:1-780-492-1729   |
|Communications Technologies   |  email:  [EMAIL PROTECTED]  |
|  352 General Services Building   +---+
|  University of Alberta   |   |
|  Edmonton, Alberta   | Standard disclaimers apply|
|  T6G 2H1 |   |
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel



___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel