TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

X Problem...



Issuing `startx' I get the following error:

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal Server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running

When reporting...

_X11TransSocketUNIXConnect: Can't connect: errno = 111
giving up
xinit: Connection refused (errno 111): unableto connect to X server
xinit: No such process (errno 3): Server error.


Does anyone know what this error is?


The box in question is Redhat 6.1 kernel 2.2.12-20.  I am using
3.3.6? version of XFree86(whichever came stock with RH 6.1) and the
XFCom_Rage128 for my Xpert99 card.  All of this was working fine for ~7
months.

I have tried upgrading to 4.0, which did not work, and then I removed and
reinstalled everything and still I have the same problem.  The last time X
worked properly was right before some scheduled downtime in our office.  I
tweaked IPchains and created a startup script for it and netsaint,
rebooted a couple of times to make sure the scripts worked and then
shutdown the box.  My boss rebooted it and, after two days, I came in
tried to log in and received this error.

I have checked for a lockfile in /tmp and there are none.  Nmap shows port
6000 is open and listening.  I have Abacus' portsentry running but X had
been working correctly with portsentry before this problem occured(my
config has not changed and 6000 is not one of the monitored ports).

I have configured IPchains and X was working properly with IPchains
initially but i think that, given the error messages I am getting, it is
the most likely culprit.  Does anyone have a sample config for IPchains
rules which works successfully with X?

What i thought should work was:

accept tcp from anywhere to localhost port 6000

I also tried:

accept tcp and udp from anywhere to localhost on ports 5999:6003

(do i need a rule for xfs?)


I guess the query is two fold:  Is IPchains giving me this error?  

and 

What is the ideal setup for X ports in IPchains if X is only going to be
used from the local machine and if it is going to be availble to anyone?

Thanks

____________________________
Mike Neuharth
ADCS Technology Specialist
http://www.umn.edu/adcs

E-Mail		: mjn@tc.umn.edu
Page Mail	: 6123065932@messaging.sprintpcs.com
http://nifty.dsl.visi.com/
____________________________