• Post Reply Bookmark Topic Watch Topic
  • New Topic

Plz help  RSS feed

 
gowher naik
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Few days before i installed linux7.2(RedHat) on my p4.Everything is fine but i encounter problem when i switch form unix shell to linux.After login
i always uses following steps to switch from unix to linux
step1
i uses following command
>switchdesk GNOME or switchdesk KDE
The system prints following message
Desktop new set up to run KDE Or GNOME(if i want to use GNOME)
step2
Then i use this command
startx
now system prints following error message
execve failed for/ete/x11/x(errno 2)
giving up
xinit: No such file or directory(errno 2)unable to connect X server
init:No such process(errno 3):server error
plz help me thanks
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Posts: 12156
256
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gowher
i switch form unix shell to linux

I think you mean when you switch from command line interface (CLI) to X Windows System (GUI).
The command line interface is as much Linux as the GUI. And GUIs have been available on most Unix platforms for much longer than PCs, so having a GUI does not differentiate Linux from any Unix system.
execve failed for/ete/x11/x(errno 2)

Error number 2 is file not found.
The file in question (I assume you typed that line above, rather than copying and pasting it), has to exist for the X Windows System to start. Check if it exists, by typing:
<code><pre> ls -l /etc/X11/X</pre></code>
On my system this responds with:
<code><pre> lrwxrwxrwx 1 root root 27 Apr 8 21:01 /etc/X11/X ->
../../usr/X11R6/bin/XFree86</pre></code>
(Note: I put the carriage return in there to try and make this a bit more readable).
That line tells me that X on my system is a symbolic link to the standard XFree86 driver (I don't have a driver installed specific to my graphics card now I am going to have to check up on this - it all works fine, but I used to have a specific driver - perhaps I should stop trying to help people - I keep finding things I want to investigate on my system )
Anyway, that file is normally set up when you configure your X Windows System - normally as part of the installation process.
Did you have graphics mode working earlier?
Try running "<code>Xconfigurator</code>". It will hopefully detect your graphics card automatically and configure everything for you so you can run X.
Regards, Andrew
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!