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 05-13-2005, 01:47 PM   #1
patrickclay
Member
 
Registered: May 2004
Location: San Antonio
Distribution: Slackware, Gentoo
Posts: 35

Rep: Reputation: 15
Messed up X server


Hi. I have been using Slackware on my Dell for a long time now. I decided to see if my machine could handle a higher screen resolution so I edited my xorg.conf file and added a higher resolution to the "Display" subsection.

I set the default run level to 3 just to be on the safe side.

I rebooted the computer and now I can't start the X server.

I reverted to the old xorg.conf file but gdm still won't start. I get the following error:

"GDM: Xserver not found: /usr/X11R6/bin/X :0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 could not be executed!
Please Install the X server or edit /etc/X11/gdm/gdm.conf to point to the right place."

How can just editing the xorg.conf file do all of this?

Thanks for the help!
 
Old 05-14-2005, 01:29 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,826

Rep: Reputation: 221Reputation: 221Reputation: 221
How are you starting X?
With startX or GDM?
You may need to be root to start either if you have changed anything.
What does your Slack use, Xfree or Xorg?
You can probably run
Code:
xf86config
or
Code:
xorgconfig
to reconfigure X

Are you allowing user to startX. Slack comes pretty secure out of the box. You may have to be root to start it until you change permissions or config sudo, or add a user to the wheel group ect.
 
Old 05-14-2005, 04:39 PM   #3
patrickclay
Member
 
Registered: May 2004
Location: San Antonio
Distribution: Slackware, Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
normally X would be started with gdm just fine. When I try to run startx, I get the following error:

"xinit: No such file or directory (eerno 2): no server "x" in PATH
Use the -- option or make sure that /usr/X11R6/bin is in your path and that "X" is a program or a link to the right type of server for your display. Possible server names include:

Xorg X.org displays"

Running xorgconfig results in the same problem.

All of this from touching the xorg.conf file!!! :-(
 
Old 05-14-2005, 04:51 PM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 51
try adding /usr/X11R6/bin/X to your path
 
Old 05-14-2005, 05:26 PM   #5
patrickclay
Member
 
Registered: May 2004
Location: San Antonio
Distribution: Slackware, Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
/usr/X11R6/bin/ is already in the path.

This is a weird one...

I appreciate your help!
 
Old 05-14-2005, 05:46 PM   #6
patrickclay
Member
 
Registered: May 2004
Location: San Antonio
Distribution: Slackware, Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
just noted this: the symbolic link in /usr/X11R6/bin/X points to /var/X11R6/X - a file that doesn't exist!! Where should it be pointing?

*edit*
figured it out!!! :-) /usr/X11R6/bin/X needs to be pointing to /usr/X11R6/bin/Xorg

How could that have possibly happened?? That's so strange. I'm so paranoid now to tweak anything. Can anyone explain how this could have happened?

Everything is running great now. Thank you guys so much for pointing me in the right direction!! :-)

Last edited by patrickclay; 05-14-2005 at 06:07 PM.
 
  


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
Messed Up Already !!! tamtam Linux - Newbie 7 05-07-2004 05:29 AM
mail server MX record messed up. coffee9876 Linux - Networking 2 12-20-2003 05:44 AM
I'm new, and I think I might have messed up the mySQL server sohhos Linux - Newbie 8 10-04-2003 01:24 AM
really messed up X JunLitsu Linux - Software 0 05-06-2003 02:31 AM
I messed up Please help mcgram5 General 4 03-18-2003 11:47 PM


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