Solved

" .xinitrc file not found "

Posted on 1997-06-21
5
318 Views
Last Modified: 2013-12-06
I have installed Red Hat ver 4.0 and setup XF86Config using xf86config file as root writing it to /usr/X11R6/lib/X11.
I located .xinitrc in /usr/X11R6/lib/X11/xinit and located this in my PATH statement. When I execute 'startx' I get an error message :

   xinit: No such file or directory (errno 2): no server "X" in PATH

   xinit: Invalid argument (errno 22): unable to connect to server

   xinit: No such process (errno 3): Server error

 As I said, I have physically looked at .xinitrc inside xinit dir ...it's there and in the PATH statement....

Any ideas??  Thank You.


any suggestions?


I tried answer from jprohart but no luck.....
I did find out that I don't have an "X" dir under "bin".
If this is my problem, can I mount the CD I installed from and get that sub dir? I really don't understand how this got left out.... the installation was a straightforward prompt setup and asked to install 'X-Windows'.
0
Comment
Question by:ronalddd
  • 3
  • 2
5 Comments
 

Author Comment

by:ronalddd
ID: 1626406
Edited text of question
0
 
LVL 2

Accepted Solution

by:
jprohart earned 100 total points
ID: 1626407
it looks like your X server has no link to /usr/X11R6/bin/X
to be sure, run 'X -probeonly'. If it does not run, you must link your X server. Cd into /usr/X11R6/bin then do 'ln -s your_X_server X'.
if you use SVGA driver, 'ln -s XF86_SVGA X'
with S3, 'ln -s XF86_S3 X' and so for other servers.
bye
0
 

Author Comment

by:ronalddd
ID: 1626408
Edited text of question
0
 

Author Comment

by:ronalddd
ID: 1626409



               I tried answer from jprohart but no luck.....
               I did find out that I don't have an "X" dir under "bin".
               If this is my problem, can I mount the CD I installed
               from and get that sub dir? I really don't understand how
               this got left out.... the installation was a straightforward
               prompt setup and asked to install 'X-Windows
0
 
LVL 2

Expert Comment

by:jprohart
ID: 1626410
/usr/X11R6/bin/X is not a sub-dir but a link on your XFree server. Create it with the ln command. If you want more help, send your configuration and XF86Config . You can also download the 3.3 version of XFree and use XF86Setup to configure it (easy), it will create the link automatically. But it's better to do it work before.

0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question