?
Solved

fatal server error when trying to start xserver via: startx

Posted on 2002-06-20
3
Medium Priority
?
920 Views
Last Modified: 2010-08-05
I'm running redhat 7.2. My machine has been running
on a local network and running fine. I now need this
machine to run independent of the network. When I take out
my ethernet connection and reboot, I get an error message
when trying to start the xserver via: startx from the command line.
It gives me a message:
XSERVTransSocketINETCreateListener:  ...SocketCreateListener( ) failed
XSERVTransMakeAllCOTServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets- Make sure an X server isn't already running.
I don't understand why and what i need to do?
0
Comment
Question by:mitchguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Expert Comment

by:DVB
ID: 7098894
X runs over the loopback interface. You may have a lock file left over in /tmp. ls -al in /tmp to see if the file exists, if it does, rm -f it.
And you don't need to reboot to shutdown any interface
ifconfig eth0 down will work just as well.

/etc/init.d/network start
ifconfig eth0 down
startx
0
 

Author Comment

by:mitchguy
ID: 7099471
I changed the run level to 3 so the gui interface doesn't
try to start. So now just using the text window with this setting when I type startx with my ethernet connection
out I get this:
YPBINDPROC_DOMAIN: Domain not bound

If I plug in my ethernet cable it and reboot startx comes up fine.

So my current state is startx still doesn't work,
but the previous error message is gone and now I just have to get past  
YPBINDPROC_DOMAIN: Domain not bound
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 7102113
your machine is a NIS client, it cannot work proper whitout network, except you configure your NIS (client) to cache the map files.
Dou you really want NIS? Probably you just can switch it off.
0

Featured Post

AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month11 days, 17 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question