Solved

Problems starting X Server

Posted on 2003-12-10
12
582 Views
Last Modified: 2013-12-15
When I boot my Debian Linux machine, I get this message:
I cannot start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?

If you choose yes, then it shows a grey window with "(100%)" in the bottom right hand corner of it, an exit option right below that and in the center, and a blue back ground. Other wise, the window is blank.

When I choose to exit that screen, it gives me a message that says, "Would you like me to try to run the X configureation program? Note that you will need the root password for this."
I choose yes, and it goes back to the command prompt for a second, and then brings back up a grey screen on the blue background and says, "I will now try to restart the X server again" and it then gives me the original "cannot start the X server" message.

If I click no, it says, "I will disable this X server for now. Restart GDM when it is onfigured correctly."
Then it goes back to my command prompt login.

Then I login as root and try this:

SteveLinux:~# startx
 /usr/X11R6/lib/X11/xinit/xserverrc:/usr/bin/X11/X: No such file or directory
/usr/X11R6/lib/X11/xinit/xserverrc: exec: /usr/bin/X11/X: connot execute: No such file or directory
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.

And I try this too:
SteveLinux:~# gdm
gdm already running. Aborting!

Can you guys help me get my display running? My number one priority right now is getting on to the internet with this machine, then I can play around with stuff and figure it out.
0
Comment
Question by:crazyhead
[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
  • 6
  • 5
12 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9918591
run  xf86config.
select your video card(or generic if u are in doubt).

and see if it works.
0
 

Author Comment

by:crazyhead
ID: 9925127
I ran the program, and it did not work. I selected a generic VGA adapter and it did not work. I didn't know what kind of monitor information is was asking, so I chose the most basic and first options. It gives me the exact same errors as before when I try to run it.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9925244
Do u have X rpm installed on your system. could u check these very quickly.

what does it say.
#which X

#cd /usr/bin/X11/
ls -l
0
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

 
LVL 24

Expert Comment

by:shivsa
ID: 9925252
also do u know which graphic card u have and do u have drivers for those card.
0
 
LVL 17

Expert Comment

by:dorward
ID: 9927868
Try running:  

/etc/init.d/gdm stop
X -configure

Hopefully that will autogenerate a config file for you that you can copy to /etc/X11/XF86conf-4
0
 

Author Comment

by:crazyhead
ID: 9932414
shivsa:
I used the command you gave me, but got no result. I also tried the following:
which X
which x
which suck
which you better answer me you giant piece of crap

Yet, nothing.
I moved to the /usr/bin/X11 directory, but did not know what to do after that. (I used the ls -l command, but did not know what to look for)
And as long as I am looking for stuff, how do I scroll the contents of those results which are too large for my sreen?

I am using a NumberNine SR9 with 16mg of RAM.


dorward:
I tried to run gdm stop in the /etc/init.d/ directory, but it gave me the error "gdm already running. Aborting!"
I attempted to run X -configure anyway, and it said "bash: X: command not found"


*steve laughs at his shamefull newbie self*
Anything else guys?
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9932589
u have to look for X in /usr/bin/X11 directory.
ls -l | more and look for file X. <--- this will give input  one screen one time, space will move to another screen.

just do
ls -l X in this dir and post the result. if it a link to some thing then do ls -l fo that link too.
0
 

Author Comment

by:crazyhead
ID: 9932733
Do you need the information that comes with the -l flag? This is a seperate computer, and I don't know how to get all that information over here with out retyping it all.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9932758
yes just send me what it print when u tyrp
ls -l X
0
 

Author Comment

by:crazyhead
ID: 9932892
SteveLinux:/usr/bin/X11# ls -l X
ls: X: No such file or directory

I belive I did that in the directory you spoke of...just to be sure, I tried it in the /usr/bin/ directory and the root (/) directory.
0
 
LVL 24

Accepted Solution

by:
shivsa earned 250 total points
ID: 9933081
it confirms that u do not X installed on your system.
u have to get X server installed on your server to get goin.
solve the problem by dselect as root, downloading the xfree86-xserver and associated files. install it.
and then  run  xf86config. u will be ok.


0
 

Author Comment

by:crazyhead
ID: 9934394
Awsome! Its working now. (to bad it so slow, thats what I get for running it on a P-266 I supose) This has been bugging me for a long time, thank you very much!
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

623 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