Improve company productivity with a Business Account.Sign Up

x
?
Solved

xinit locks up when .xinitrc specified

Posted on 1998-12-07
6
Medium Priority
?
276 Views
Last Modified: 2013-12-15
Hi -            
I'm setting up XF86_SVGA on Redhat 5.2 and find that
"xinit" runs OK, as long as there is NO .xinitrc
file available.
 
If there IS an .xinitrc file in my home directory
(even if it is an empty file: 0 bytes in it),
when I start xinit my monitor says
"invalid sync frequency" and there is no
way out.  Ctrl-Alt-Bsp and Ctrl-Alt-Del don't work, and
I have to reboot.  AAAaaarrrgh.
 
How can I fix this?
I'm running a generic multisync monitor (works with
AcceleratedX) and a Diamond Stealth 3D 3000
which, according to SuperProbe, is S3 ViRGE/VX.
I used xf86config to set it up, and xf86config recommends
using XF86_SVGA.

Less important, but if you have a hint I'd be grateful ...
How can I get ctrl-alt-del to work?
 
Many many thanks!
Steve
 
0
Comment
Question by:ssullivan
6 Comments
 
LVL 1

Expert Comment

by:iNFaMouS
ID: 1631824
You have to overtake the setting from the default xinit file to your personal .xinitrc file.
Or specify the default settings in /etc/XF86Config (there are several tools to set this up)
0
 

Expert Comment

by:olvo
ID: 1631825
There is a specific X server for the S3 Virge chip, XF86S3V, the file is  XF33S3V.tgz.
You can copy /usr/X11R6/lib/X11/xinit/xinitrc, which is the default, to your ~/.xinitrc, and adapt it.
0
 

Author Comment

by:ssullivan
ID: 1631826
Thank you, but your answer doesn't answer my question.
The problem is that only when I **DO** have a .xinitrc
file in my home directory does it crash.

If you have the answer, please let me know what specific
changes are needed to fix this.  Instead of saying "there
are tools to do this..." maybe you could specify a tool
and exactly what needs changing.

Many thanks!
0
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

 
LVL 1

Expert Comment

by:mart010897
ID: 1631827
I'm not definitely sure what the problem is, but here are some things you can do to possibly pin it down:

Copy the system's XF86Config file to your home directory and remove from it everything you're not using.  You should end up with 20 lines or so.  Does xinit still run OK when it uses ~/XF86Config instead of the one in /etc?

Create a one-liner .xinitrc file in your home directory that just runs fvwm.  Make sure it's readable and executable... OK, I probably don't have to tell you that, but it can't hurt...

Oh, here's something... when you run xinit... you can redirect X's console output to a file so you can examine what went wrong. From bash:

xinit > stuff 2>&1

The 2>&1 is necessary because most of X's output on startup goes to stderr.  I think if you make two files, one where xinit worked and one where it failed, then compare them, you'll be able to track down the problem.

Let me know how it's working out for you...

-Mart

0
 

Author Comment

by:ssullivan
ID: 1631828
Many thanks Olvo and Mart!
Through a combination of using the S3V driver and
hacking on the XF86Config file, I got it running.
The speed I'm getting is now better than I ever got
using commercial X servers .... it's excellent!

If you're interested in points, how can I send them to you?
If not, again, thanks for your good advice.

Steve

0
 
LVL 1

Accepted Solution

by:
mart010897 earned 800 total points
ID: 1631829

Glad it worked out for you.  XFree86 is cool :)

You can give me points by grading this answer.  You can give olvo points by posting another question, letting them answer it and grading it.

Cheers,

Mart
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

606 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