LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Benjamin Close <linux@senet.com.au>
  To  : David Lloyd <lloy0076@senet.com.au>
  Date: Fri, 4 Jun 1999 16:49:04 +0930 (CST)

Re: X SERVER HAS CARKED IT (AGAIN)

On Thu, 3 Jun 1999, David Lloyd wrote:

> I use RedHat 5.2. 
> 
> I installed Star Office 5.1 and it decided that it didn't like the S3_Virge
> drivers that I was using. This was OK. The Docs said that I'd be better off
> using a plain old SVGA driver. I used Xconfigurator to change over to the
> SVGA server...then the dramas started.
> 
> X decided that it wouldn't start at all. Essentially it says
> "-X11TransSocketUNIXConnect:can't connect:errn=111". Naturally, this is
> about as helpful to me as the Blue Screen of Death. It also states that the
> "mode 800x600 doesn't has no entry". Yet in my XF86Config file ALL my
> Screen / sub section display sections talk of a mode "800x600" and it does
> exist in the monitor section (the section which lists all the hysnc
> frequencies etc which appears above the screen section).
> 

OK, this "Blue screen of death" does help me know what is wrong :)
Your problem sounds like it lies in your monitor setting. 

What?!? I hear you say.
How does my monitor effect this?

When you start X it looks at what video mode you have selected. (800x600)
Then it goes to the monitor section and looks at what mode lines are
available. (There is a few for 800x600 in /etc/X11/XF86Config) Next it
looks at the max/min horizontal/vertical refresh rates for you monitor.

Using these refresh rates it removes any entries that your monitor does
not support. In your case all of them.

This leaves the server in a state where it can't do its video startup.
Since the video side of X talks to the low level stuff using sockets, one
part of X can't talk to the other (as it didn't start) and hence you
get... "-X11TransSocketUNIXConnect:can't connect:errn=111"

> After using Xf86Setup to try to rectify the situation, I determined that I
> do have the SVGA driver installed AND *all* the S3 servers installed, hence
> I don't believe my problem is "the server is not installed".

Neither do I.
 
> I then tried to use Xconf (the text based program) to try to rectify the
> situation. It said something to the effect that I should have "/usr/X11" in
> my path *before* "/usr/X11R6/bin" (or whatever), but I can't work out how
> to change the PATH variable, either at the command line or have it set at
> boot. Interstingly, Xconf does get X to start - in 300x200 mode!!!!! 

Setting the path won't solve this problem.
You got the 300x200 mode as the monitor refresh rates where withing it's
limits.
 
> In dos you simply state set Path=(whatever you want). In Unix, can you do
> the same? I've tried adjusting it using something to the effect of:
<SNIP>
> I don't understand. I thought my new path would have overwritten the old
> one, but instead it just did something wacko.

Linux is a bit different to dos. You have a local environment & a global
environment. Different shells set the environment differently. You need to
set the global envronment.

Under bash the command you want is: export PATH=.....
Under csh: setenv path (......)


<SNIP>

> Not the 16th time :-(

Did you choose the correct monitor settings or assume they didn't matter?

> I'm at wits end! Although I use the command line in Linux quite a lot, I
> can't view my wonderful images or use gimp in bash - I *need* X. Are there
> any suggestions of what might be wrong????

Agreed, a GUI is always handy - even if it's for netscape.
My suggestions it to edit /etc/X11/XF86Config and under the monitor
section put in the CORRECT settings. 

Ie. Mine are:

Section "Monitor"

    Identifier  "ADI MicroScan 4V"
    VendorName  "ADI"
    ModelName   "MicroScan 4V"

    HorizSync   31.0-64.0
    VertRefresh 50.0-100.0
.
.
.


PLEASE, PLEASE use the correct settings for you monitor else it can
(depending on the monitor) blow the thing up.

If you cant find settings safe ones normally are:

HS: 48-60
VR: 60-80

Cheers,
--

* Benjamin Close
* Benjsc@senet.com.au
* Web Page: http://users.senet.com.au/~benjsc

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page