LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2003, 05:10 AM   #1
restrepo
LQ Newbie
 
Registered: Nov 2003
Distribution: redhat
Posts: 2

Rep: Reputation: 0
X server do not longer starts


Suddenly, after a normal reboot, the X server of my redhat 8.0 system, don't start all, but show me a ncurses screen which, in particular, display 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

The two choices of either reconfigure the X server or kill it and launch
$ startx
do not work.

However
$ startx -- :1
from he console, launch properly the X server.

So, the workaround that I have found is just to change to runlevel 3 and exec startx -- :1 after login from the console. I should like the system running at runlevel 5, and ending with my usual gdm login screen, but until moment I have not found any solution.
I am tried all the ones which I have already found in the threads given by the properly google search: [list=a][*]remove /tmp/.X* and reboot [*]reinstall XFree86* and gdm[*] remove /tmp/ full contents and grep for X or xinit process and kill those. After that launch startx or reboot.[/list=a]

Thanks in advance
Diego Restrepo
restrepo_at_uv.es
 
Old 12-17-2003, 08:34 AM   #2
restrepo
LQ Newbie
 
Registered: Nov 2003
Distribution: redhat
Posts: 2

Original Poster
Rep: Reputation: 0
Another workaround was to change the display of gdm from 0 to 1. My runlevel 5 is again working after that
 
Old 07-03-2004, 03:55 PM   #3
varadha
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake 10.0
Posts: 4

Rep: Reputation: 0
Hi,

This is my first post in this site. I tried to install mandrake 10.0 on my Dell laptop - as a dual-boot option. I have a few problems with the X server. Sorry that I could not post the complete XFree*.log - I am just quoting the reason for the Xserver crash as show on screen.

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


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


I tried your earlier work-arounds -
1) Delete /tmp/X*.
2) changing the display number - earlier it was :0 and changed to :1
3)checked the run-level in inittab - its 5 by default.
4) killed the running server - and restarted with :1

I deleted the file /tmp.. and started kdm, did a startx - but I get a blue screen (not plain - but with some darkish blue vertical columns..if this description really helps )

Has someone encountered this b4 - and any ideas to fix it? The laptop specs are:

Inspiron 8600 - Pentium M 1.4 Ghz - WXGA - 1280 * 800 - Nvdia Ge Force - FX (32 MB).


Thanks.
 
Old 07-14-2004, 11:01 PM   #4
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Rep: Reputation: 30
I am having the same error about cannot establish any listening sockets. I am running sarge debian and had this problem when I compiled my custom 2.6.6 kernel from source. My 2.4.25 kernel still works fine. I'm wondering if its some option I did/didn't select in the kernel configuration menu that is causing me this problem.

I found a FAQ about the error message here. After reading that guide, I tried a few different things:

Code:
#ps aux | grep `cat /tmp/.X0-lock`
Found that there were no such processes. I also did ls -la in the /tmp directory and found no other locks. Just to be safe I did

Code:
#rm -rf /tmp/.X0-lock
Then I did

Code:
#startx -- :1
And a screen loaded up, but it was just a plain screen with an X cursor in the middle which I couldn't even use with my (USB) mouse. When I did Ctrl+Alt+F1 I found that on the console an error message (forgot what they said exactly) was being printed out every 0.5 seconds. I forgot to try netstat -ln to make sure my 6000+ ports were not being used though. Any clue on how to fix this problem? I really want to get my new kernel working properly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel upgrade, network card no longer starts rollo SUSE / openSUSE 20 07-18-2005 10:04 AM
FireFox no longer starts Wakim Linux - Software 11 01-31-2005 10:35 PM
dhcp server no longer services my other computers joseph_k Linux - Networking 2 04-07-2004 01:25 AM
Redhat 9: What starts the X server???? chriseebee Linux - General 3 09-08-2003 06:36 PM
Help! My SuSe no longer starts! J_Szucs Linux - General 4 05-18-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration