LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 06-04-2002, 02:08 PM   #1
ChineseElite
Member
 
Registered: Jun 2002
Posts: 31

Rep: Reputation: 15
Mandrake 8.2 boot help


Hey,

I just installed Mandrake 8.2 to the letter, and set gnome as my default boot enviroment. The problem is, when grub comes up and I choose linux, it goes through everything fine and then boots to text mode.

I am running a VooDoo 3 3000 PCI with an AST 5L moniter.

I have tried to use the command 'startx' and I get the following message:
------------------------------------------------------------------------------------
[derek@localhost derek]$ startx

execve failed for /etc/x11/x (errno 2)
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
[derek@localhost derek]$
------------------------------------------------------------------------------------

If anyone has any idea's at all they would be greatly appreciated.


 
Old 06-04-2002, 04:45 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
OK, try looking in your /etc/inittab file, and find a line that starts with the letter "x" and generally looks like this: x:5:respawn:/etc/X11/prefdm -nodaemon Note the path at the end of it (in this case /etc/X11/prefdm -nodaemon) and try running that command manually. If you have GPM running, you can just highlight that path with your mouse, and when you go back to the shell prompt, click your middle mouse button once to paste the selected text. If you have a two button mouse, try clicking both your buttons.

Anyway, if this starts up GNOME successfully (you'll need to try this as root), open up /etc/inittab and find a line that looks like this: id:3:initdefault:

Change the 3 to 5, so that it looks like this: id:5:initdefault:

This should force your computer to start X-Windows (i.e. the graphical user interface) by default when it boots.

If all else fails, run the command xf86config as root to reconfigure the X-server. It's a text-mode program which asks a bunch of questions about your video card, monitor, keyboard and mouse, and writes a configuration file for the X-Server. Please do not rush through it, if it asks you something you don't understand, post it here, especially when it comes to monitor refresh frequencies. If you set them too high, and have a really old monitor, you can bust it.

Good luck!
 
Old 06-04-2002, 04:54 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
errno 2 means that the file is not found. does /etc/X11/X exist? it should be an upper case X btw. if it doesn't then you should just need to create a link to /usr/X11R6/bin/XFree86 in most cases.
 
Old 06-04-2002, 05:51 PM   #4
ChineseElite
Member
 
Registered: Jun 2002
Posts: 31

Original Poster
Rep: Reputation: 15
I love linux..

OK I am working on it right now. I tried to use sewer_monkey's idea, and wound up killing my initab file.

Right now I am going to try reinstall and see if the problems go away. I should note that I have reistalled before I asked.

On one furthur note, I was watching the boot sequences, and when the line:

INIT:RUNLEVEL 5

came up, there was neither a [FAILED] or [ OK ] after it, it was blank.

If this gives you any ideas, let me know. I will probably run into the problem again anyway.

Thanks for you quick responses,
Derek
 
Old 06-04-2002, 07:05 PM   #5
ChineseElite
Member
 
Registered: Jun 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Thank you all for your help.

I managed to get it going without editing anything (phew).

If anyone wants to know the details of how I fixed it, I will be happy to go into greater detail if they are needed.

Thanks again for providing this wonderful board for linux n00bs.

Sincerely,
Derek


 
Old 06-28-2002, 03:12 AM   #6
erebus
LQ Newbie
 
Registered: Jun 2002
Location: Australia
Distribution: Mandrake 8.2
Posts: 3

Rep: Reputation: 0
Hello there Guys...
I see you have managed to fix your problem regarding:

execve failed for /etc/x11/x (errno 2)
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.

Well i to am getting the same Error but my problem is I'm very new on Linux...New like only had Redhat 7.1 running for three days....with constant problems...So i was told Mandrake 8.2 was the best Distro for me...
So i ended up downloading it and now having these errors...
So trying to follow your help files...I still land confused on how to tackle my error...
I would greatly appreciate if you or someone else could explain it to me in simply term please...
Sorry I'm so confused here and really wanting to get running on Linux and learn all the great reason`s for switching from Win2k to Linux...
Thank you....
 
  


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
mandrake 10 command line to gui boot, then stuck at boot with hour glass chris008 Linux - Laptop and Netbook 1 11-14-2004 06:29 PM
Boot Sector on dual boot PC. Remove Mandrake and replace with FreeBSD Phin666 *BSD 1 10-30-2004 06:02 PM
Grub Dual Boot Mandrake 9.2 and Win2000 Invalid Boot Disk larsenmtl Linux - Newbie 1 02-01-2004 04:29 PM
How to boot Mandrake Linux faster (skip boot option) lava Linux - General 7 02-28-2003 03:39 PM
Uninstalled Mandrake, Installed Slackware, still getting mandrake boot screen powerismine Slackware 4 11-22-2002 07:51 AM

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

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