Solved

" .xinitrc file not found "

Posted on 1997-06-21
5
299 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now