Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

" .xinitrc file not found "

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Backup & Restore 3 66
AWS Central Authentication 1 85
winscp 000webhost.com 6 71
awk to variable in bash 2 69
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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

790 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