LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2003, 12:22 AM   #1
redhat_zephyr
LQ Newbie
 
Registered: Jul 2003
Posts: 15

Rep: Reputation: 0
Unhappy waiting for X server to begin accepting connections .


Hello,

I have been trying to start up my X-windows. But everytime I run startx ,it just gives me a message "waiting for X server to begin accepting connections ." and hangs there. does anyone knows what is the problem ?

regards
marcus
 
Old 07-07-2003, 02:04 AM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Welcome to LinuxQuestions.org,

Did it work before? What distribution are you using? I guess redhat from your username.

Does it do that for all the users? You can see if any of your installed files are corrupted with "rpm -Va". Then reinstall any corrupted packages.


Last edited by zmedico; 07-07-2003 at 02:08 AM.
 
Old 07-07-2003, 02:18 AM   #3
redhat_zephyr
LQ Newbie
 
Registered: Jul 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hello,

This is my first time setting up X-windows for redhat 7.2.
I don't understand why the X server doesn't connect. I have already set the DISPLAY variable to hostname:0.0.
There doesn't seems to have any problem with the packages.
Any other suggestions ?

regards
 
Old 07-07-2003, 02:54 AM   #4
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
My DISPLAY variable is just ":0.0". You can try "xhost +inet:hostname" to give access privileges to your hostname. Do you have a firewall (iptables or ipchains)?
 
Old 07-07-2003, 03:09 AM   #5
redhat_zephyr
LQ Newbie
 
Registered: Jul 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hello,

I tried xhost +inet:hostname. But it gives me a warning "xhost: unable to open display "hostname:0.0". But I have already set the display variable.

I did not have a firewall.

This is the message I received.

waiting for X server to begin accepting connections .
..
..

<I entered control-C here>
xinit: No such file or directory (errno 2): unexpected signal 2

waiting for X server to shut down



regards
 
Old 07-07-2003, 03:36 AM   #6
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
Re: waiting for X server to begin accepting connections .

Quote:
Originally posted by redhat_zephyr

But everytime I run startx ,it just gives me a message "waiting for X server to begin accepting connections ." and hangs there.
marcus [/B]
Did the system tell you something after a while or it always hang up there?

Qu Chen
 
Old 07-07-2003, 03:37 AM   #7
redhat_zephyr
LQ Newbie
 
Registered: Jul 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hello,

do you have a xserverrc file under /etc/X11/xinit ?

regards
 
Old 07-07-2003, 03:47 AM   #8
redhat_zephyr
LQ Newbie
 
Registered: Jul 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hello,

It always hangs down there. The two dots just increase by minute.For example.

waiting for X server to begin accepting connections .
..
..
..
..

Unless I enter control-c, it will still carry on.


regards
 
Old 07-07-2003, 10:02 AM   #9
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
I remember I got the same problems (I installed more than 10 times before I got something to work). I try to recall it....

Yeah, if I am right, I once got this problem since I "skipped" the X-Windows Configuration during RH7.1 installation.

I do not understand where is the problem, while I think a easier approch is to reinstall everything..., do not skip the X config

Qu Chen
 
Old 07-07-2003, 03:00 PM   #10
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Maybe the problem is in /etc/X11/XF86Config

In redhat 7.3 there is a package called Xconfigurator that can help you configure X. It is accessible from /usr/sbin/setup or by calling /usr/X11R6/bin/Xconfigurator directly.

I'm using redhat 9 which has a graphical program called redhat-config-xfree86.
 
Old 07-08-2003, 12:27 AM   #11
marcus_74
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Hello,

I did try using the X-configurator. But it always give me errors. Somehow the configurator did not configure the mouse protocol correctly. If I were to manually add in the protocol and run the config file. It will give me a black screen.

regards
marcus
 
  


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
Postfix smtp not accepting connections Spleenie Linux - Software 0 01-23-2005 06:04 AM
accepting isdn ppp connections tekdog Linux - Networking 1 06-03-2004 08:40 AM
VNC not accepting connections Red Squirrel Linux - Newbie 4 02-20-2004 09:55 PM
proftpd not accepting outside connections sohmc Linux - Software 0 07-18-2003 08:40 AM
FTPd has stop accepting connections shiny heed Linux - General 1 05-02-2003 07:20 PM


All times are GMT -5. The time now is 01:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration