Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
Whenever I try to start XWindows using comman: startx
I get an error message saying:
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
what is going on?? I think i'm in the wrong runlevel and it can't initialize X.... but i don't know how to change it?!?!?!
Runlevel shouldn't matter (unless ofcourse you're in
init 1 :} if that's the case try telinit 3) ... did you set
your xserver up properly?
What distro are you using?
Have you tried running (I believe) xfdrak? I think this is the mandrake tool for configuring the gui. The normal tool is xf86config. Try using one of those and get your X server set up and then try running startx again. Something else to look for might be whether or not you installed any desktop environments/window managers. Things like KDE/Gnome or Fluxbox, XFCE and so on.
If you did, find the location of one of them, let's try for fluxbox or blackbox just for ease, so locate them with:
whereis fluxbox
If it returns nothing, try:
whereis blackbox
Hopefully one of those are installed. Now, taking either one of those paths that returned from the whereis search, create a file in your user's home directory:
vi .xinitrc
This will open up a new file (if one doesn't exist) in vi to let you edit it to your needs. All we are going to do is make 1 entry just to test this out. So type this:
i
exec /path/to/fluxbox
SHIFT + ZZ
What that will do is turn on insert (i) and then place the line exec /path/to/fluxbox (replace that with the path from above, for either blackbox or fluxbox). And then SHIFT ZZ will save the file and exit vi (actually I think it's vim, no matter though). At this point you have a .xinitrc file in your user's home directory, now try starting x again:
startx
With that particular user. See if you get the same error, or maybe a different one now. I still think you should check out ATI's site about getting your drivers installed, they may also have some instructions on setting up your X server.
OK i installed the driver (i think) but when i type rpm -i filename
all i get is the next line, nothing else shows up.... does that mean it worked?!?!?!?! The next step on the directions from ati was to configure it with fglrxconfig.... but it doesn't seem to exist!?!?!
but i'm going to print out and follow the directions you gave me... Thanks for all the help sp far marterC...
The fglrxconfig might be something available from them? I've personally never heard of it, nor have I ever had to install drivers from ATI, that's why I suggest a search on this site about it, there are several threads addressing some issues about the install procedure. Also, check out www.google.com/linux for other people's experiences with your card, and how they get it resolved.
Either one of those should work as well. Just replace the:
/path/to/fluxbox
With:
/path/to/xfce
OR
/path/to/gnome-session
So it might look like:
/usr/bin/xfce
OR
/usr/bin/gnome-session
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.