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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-06-2003, 11:22 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 15
Rep:
|
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
|
|
|
07-07-2003, 01:04 AM
|
#2
|
Member
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707
Rep:
|
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 01:08 AM.
|
|
|
07-07-2003, 01:18 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 15
Original Poster
Rep:
|
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
|
|
|
07-07-2003, 01:54 AM
|
#4
|
Member
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707
Rep:
|
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)?
|
|
|
07-07-2003, 02:09 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 15
Original Poster
Rep:
|
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
|
|
|
07-07-2003, 02:36 AM
|
#6
|
Member
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261
Rep:
|
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
|
|
|
07-07-2003, 02:37 AM
|
#7
|
LQ Newbie
Registered: Jul 2003
Posts: 15
Original Poster
Rep:
|
Hello,
do you have a xserverrc file under /etc/X11/xinit ?
regards
|
|
|
07-07-2003, 02:47 AM
|
#8
|
LQ Newbie
Registered: Jul 2003
Posts: 15
Original Poster
Rep:
|
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
|
|
|
07-07-2003, 09:02 AM
|
#9
|
Member
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261
Rep:
|
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
|
|
|
07-07-2003, 02:00 PM
|
#10
|
Member
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707
Rep:
|
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.
|
|
|
07-07-2003, 11:27 PM
|
#11
|
LQ Newbie
Registered: Jul 2003
Posts: 1
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|