Discussion
NickFRP said:
After installing mandrake linux on a virtual machine i am promted to log on via a command promt. after i do i try to start the gui with StartX. Im then presented with an errer:
execve failed for /ect/x11/x errno 2
any one know what im doing wrong?
execve failed for /ect/x11/x errno 2
any one know what im doing wrong?
I'm unlikely to be able to help, since I rarely go near X, but some thoughts anyway.
Does it really say that? Specifically "/ect" and not "/etc" ? If it does then there's the (or at least a) problem, I know nothing about mandrake but I would be suprised if it had a /ect directory, since just about everything else has /etc.
Further along, execve is a 'C' command to load and run a program, the errno value of 2 means "file not found", so it looks like startx is trying to run /etc/x11/x (assuming you mistyped the error message) but can't find it. Is it there?
whooooo
right upon booting im prompted with:
Mandrakelinux release 10.1 community for i586
Kernel 2.6.8.1-10mdk on an i686 / tty1
Local Host Login: (which i put in "root"
Password: (which i put in "admin"
[root@localhost root]# startx
(i get the following message
execve failes 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
----------------------------------------------
so is the problem it unable to find the "shell to load the linux GUI?
right upon booting im prompted with:
Mandrakelinux release 10.1 community for i586
Kernel 2.6.8.1-10mdk on an i686 / tty1
Local Host Login: (which i put in "root"
Password: (which i put in "admin"
[root@localhost root]# startx
(i get the following message
execve failes 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
----------------------------------------------
so is the problem it unable to find the "shell to load the linux GUI?
Unusual for a modern distro not to 'just work', did all go well during the install? Might be quicker/easier to just nuke it and install again. Failing that you could check the logs in /var/log/whatver for more details. In this ubuntu install it's Xorg.0.log for the detailed X startup logs, might be the same for Suse?
rebelstar said:
X isn't usually in /etc
Try this at the command line:
type X
type startx
and let us know what the output is.
I'm expecting to see the following:
# type X
X is /usr/X11R6/bin/X
# type startx
startx is /usr/X11R6/bin/startx
Try this at the command line:
type X
type startx
and let us know what the output is.
I'm expecting to see the following:
# type X
X is /usr/X11R6/bin/X
# type startx
startx is /usr/X11R6/bin/startx
That is what its saying.
# type X
X is /usr/X11R6/bin/X
# type startx
startx is /usr/X11R6/bin/startx[/quote]
so why when i start the GUI it cant find Startx?
Im running VirtualPC
Edited by NickFRP on Tuesday 21st November 16:53
It sounds as if you don't have a X server install (Probably xfree86 in Mandrake 10 - Why are you running such an old dist?)
What happens if you run
# xinit
This should start the X server and bring up an xterm
or try running
# /etc/X11/X
This should start just an X server (ctrl+alt+backspace to exit out)
If neither of these work you need to install a X server, either xfree86 or Xorg, I don't know how to do this in Mandrake.
It sound's like you've already got some utils and possibly a client installed.
What happens if you run
# xinit
This should start the X server and bring up an xterm
or try running
# /etc/X11/X
This should start just an X server (ctrl+alt+backspace to exit out)
If neither of these work you need to install a X server, either xfree86 or Xorg, I don't know how to do this in Mandrake.
It sound's like you've already got some utils and possibly a client installed.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


