LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-18-2006, 03:16 PM   #1
Patie
LQ Newbie
 
Registered: Jan 2006
Posts: 21

Rep: Reputation: 15
Boot Error Ubuntu 5.10


I get the follow error on boot:


Failed to 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? yes No. Then it goes automatically to the login I log in and then it says -bash: no job control in this shell.

First time Im running Linux so please be specific in command..
Thanks
 
Old 01-18-2006, 03:56 PM   #2
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Hi! Welcome to LQ.

Ok, you need to setup your X server. This X server mechanism is the display system that manages the display on your system. Now after logging in (as root) type xorgconfig and follow the procedure to configure your display. It will ask you the specific details of your system, like your video-card, frequency ranges and refresh rates of your monitor and other hardware specific details. Select those things that closely match your hardware, if you don't find a match then select the most generic settings.
Try this and tell us what happened.

Last edited by koodoo; 01-18-2006 at 04:02 PM.
 
Old 01-18-2006, 04:10 PM   #3
Patie
LQ Newbie
 
Registered: Jan 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks so much for the help.

"Now after logging in (as root)"..I typed in...sudo gedit /etc/X11/xorgconfig....Is that correct?

If it is this is the reply I received:

It asked me for the password and then came back with the following:

(gedit:7192): Gtk-WARNING **: cannot open display:

Last edited by Patie; 01-18-2006 at 04:35 PM.
 
Old 01-18-2006, 05:12 PM   #4
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
I haven't used Ubuntu, but I sort of remember that you have to use sudo in it. Why are you using gedit. See, gedit is a gnome based text editor, it will open text files for editing etc. while here we want to run the program xorgconfig. When you are typing
Code:
sudo gedit /etc/X11/xorgconfig
it is trying to launch the gedit program which requires display and since your display is not set it gives you the (gedit:7192): Gtk-WARNING **: cannot open display: error.

You have to run the xorgconfig program. For that login as root and type :
Code:
xorgconfig
or,
Code:
sudo xorgconfig
If that doesn't work try specifying the full path to xorgconfig. If you don't know where it is try slocate xorgconfig. On my system the output is :
Code:
koodoo@knapsacker:~$ slocate xorgconfig
/usr/X11R6/bin/xorgconfig
/usr/X11R6/lib/X11/doc/html/xorgconfig.1.html
/usr/X11R6/man/man1/xorgconfig.1x.gz
koodoo@knapsacker:~$
so the command would be
Code:
sudo /usr/X11R6/bin/xorgconfig
Hope this helps!
 
Old 01-18-2006, 05:23 PM   #5
AlanQ
Member
 
Registered: Jul 2004
Posts: 41

Rep: Reputation: 15
Hi Patie

Quote:
"Now after logging in (as root)"..I typed in...sudo gedit /etc/X11/xorgconfig....Is that correct?
No.

xorgconfig is a program.

You are getting the error message ( (gedit:7192): Gtk-WARNING **: cannot open display: ) because gedit it a graphical text editor. When it runs it needs X to be running which, of course (!), it isn't.

If you had managed to run gedit one of three things would have happened: either it would have complained that xorgconfig is an executable (program), or it would have warned you that it isn't a text file, or it would have opened the file and you would have seen a load of gibberish

Anyway, this is all academic.

Take a look at http://www.slackware.com/config/x.php
It gives a nice intro to X, and suggests that you might like to start by trying xorgsetup (also a program). Then, if that doesn't work, try xorgconfig.

Read the man (manual) pages for xorgsetup and xorgconfig before using them:

Code:
man xorgsetup
Setting up X on hardware that doesn't want to play nicely can be tricky. You'll need to be patient and methodical (make paper notes as you go). And preferably have a good 8 hours of sleep first

Good Luck.
Alan
 
Old 01-18-2006, 05:41 PM   #6
Patie
LQ Newbie
 
Registered: Jan 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Before we go any further and waste your time I think that I should explain a little further.
I loaded the system today and it loaded without a hitch. When it was through I was having aproblem with the mouse. I read a while and then made some changes to the "sudo gedit /etc/modules" and went to input device. I played around with that and then rebooted. THat is when the problems started, so I think I must have written something wrong.
At this point is it easier to just reinstall and start over again?
 
Old 01-18-2006, 06:01 PM   #7
AlanQ
Member
 
Registered: Jul 2004
Posts: 41

Rep: Reputation: 15
In a word, Yes.

Re-post if, after re-install, you still have the mouse problems.

Alan
 
Old 01-18-2006, 06:07 PM   #8
Patie
LQ Newbie
 
Registered: Jan 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you so muchFor the help. Should I post it here on this thread or start anew one?
 
Old 01-18-2006, 08:10 PM   #9
AlanQ
Member
 
Registered: Jul 2004
Posts: 41

Rep: Reputation: 15
Hi Patie

You're welcome.

Might be best to start a new one, then you can give it a mousey title

Al
 
  


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
Urgent Help! Ubuntu + Xp Professional Dual Boot Error sako75 Ubuntu 20 11-13-2007 02:14 AM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
FC4 boot error. with Ubuntu neoAThome Fedora - Installation 2 06-21-2005 05:16 PM
Ubuntu cd will not boot trempel Ubuntu 2 05-20-2005 12:36 PM
Ubuntu Warty Live CD grub error 21 on boot PBSchmidt Linux - Distributions 2 01-24-2005 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:12 AM.

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