LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-25-2009, 01:03 PM   #1
Noaru
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Rep: Reputation: 0
Exclamation X Windows System not working w/ CentOS 5?


Hello all when I try to run the X Window System (startx) I get this HUGE error:

Code:
[root@kphost cmake-build]# startx
xauth:  creating new authority file /root/.serverauth.4276

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kphost.tk:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-53.1.14.el5PAE i686 Red Hat, Inc.
Current Operating System: Linux kphost.tk 2.6.24-vz-hostnoc-4.0.0-i386-libata #1 SMP Wed Dec 3 19:08:12 EST 2008 i686
Build Date: 03 September 2009
Build ID: xorg-x11-server 1.1.1-48.67.el5
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 25 07:05:08 2009
(EE) Unable to locate/open config file

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
Couldnt get a file descriptor referring to the console
I'm running on HyperVM (using w/ OpenVZ) running CentOS 5. I have no clue how to sort this all out, or really where to start... oO

Also, in addition to the above, there's no config file in the /etc/X11/ directory, and running Xorg -configure I also get...

Code:
[root@kphost ~]# Xorg -configure
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kphost.tk:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-53.1.14.el5PAE i686 Red Hat, Inc.
Current Operating System: Linux kphost.tk 2.6.24-vz-hostnoc-4.0.0-i386-libata #1 SMP Wed Dec 3 19:08:12 EST 2008 i686
Build Date: 03 September 2009
Build ID: xorg-x11-server 1.1.1-48.67.el5
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 25 07:20:21 2009

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

Last edited by Noaru; 12-25-2009 at 01:19 PM.
 
Old 12-25-2009, 01:46 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I did a bit of Googling. I found several different hits for several completely different platforms ... from several YEARS ago:

http://www.linuxforums.org/forum/lin...rg-config.html
http://unix.derkeiler.com/Mailing-Li.../msg01021.html

The "common denominator" in all the Google matches is that the kernel build didn't match the Xlib build.

Centos 5 is a relatively current release.
Your X11 is ancient ( Window System Version 7.1.1, Release Date: 12 May 2006).

Q: Are you using the version of Xlib that came built-in with CentOS?
If not, why not?
Or why not at least download and build a current version of Xlib?

Last edited by paulsm4; 12-25-2009 at 01:47 PM.
 
Old 12-25-2009, 11:16 PM   #3
Noaru
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by paulsm4 View Post
Hi -

I did a bit of Googling. I found several different hits for several completely different platforms ... from several YEARS ago:

http://www.linuxforums.org/forum/lin...rg-config.html
http://unix.derkeiler.com/Mailing-Li.../msg01021.html

The "common denominator" in all the Google matches is that the kernel build didn't match the Xlib build.

Centos 5 is a relatively current release.
Your X11 is ancient ( Window System Version 7.1.1, Release Date: 12 May 2006).

Q: Are you using the version of Xlib that came built-in with CentOS?
If not, why not?
Or why not at least download and build a current version of Xlib?
Well first off, no idea. Second of all, it's an OS Template from a VPS called CentOS 5.1 Host-in-a-box something like that, anyway, what ever is in there is in there, so I'm guessing getting the current release of the X Windows System would be the start, and getting the current version of Xlib? If so, how would I go about doing those? and also the repositories may not be up to date...
 
Old 12-25-2009, 11:39 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
"CentOS 5.1", as you probably know, is an operating system. A Linux operating system. One of several different varieties (one of several different "distros").

"VPS", or "Virtual Private Server", as you probably also know, is a virtual machine (like Xen or VMWare) with an OS (like CentOS or RedHat) installed on it.

It sounds like somebody screwed up when they created the VM that you're using as your VPS.

If you're paying for this service, yell at them.

Otherwise, if you have control over your VM environment, then just download CentOS and create your own, new, (correctly built!) VM.

Good luck .. PSM
 
Old 12-26-2009, 11:05 PM   #5
Noaru
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by paulsm4 View Post
"CentOS 5.1", as you probably know, is an operating system. A Linux operating system. One of several different varieties (one of several different "distros").

"VPS", or "Virtual Private Server", as you probably also know, is a virtual machine (like Xen or VMWare) with an OS (like CentOS or RedHat) installed on it.

It sounds like somebody screwed up when they created the VM that you're using as your VPS.

If you're paying for this service, yell at them.

Otherwise, if you have control over your VM environment, then just download CentOS and create your own, new, (correctly built!) VM.

Good luck .. PSM
You're definitely right about the fact that they messed up on making the dsitro. It's not the first time xD Then again for $20, getting 3GB RAM, 30 GB HDD, and 300 GB Data Transfer isn't too bad xD
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update on CentOS 5.3 upgraded my system to CentOS 5.4 diskoe Red Hat 1 10-29-2009 04:41 PM
hardening new CentOS system spaceageliving Linux - Security 17 10-06-2009 11:32 PM
btmp not working in centos 4.4 depam Linux - Security 4 03-30-2009 08:56 PM
IP Forwarding not working in CentOS 5 tomwerner Linux - Networking 9 05-19-2008 11:47 AM
CentOS Media Not Working Cabeza de Huevo Linux - General 1 06-15-2006 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:26 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