Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

" .xinitrc file not found "

Posted on 1997-06-21
5
Medium Priority
?
358 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 300 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 21 hours left to enroll

916 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