Linux installation...problem in X-windows...Please help...easy question...
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux installation...problem in X-windows...Please help...easy question...
Hi ,
Ok, me pretty new to the Linux philosophy. Here's my h/w setup......
1. AMD Athlon processor
2. Video card - NVIDIA GeForce ( can't remember the RAM but its 64MB probably )
3. Monitor : Samsung Synchmaster 753s
OS I currently have : Windows XP
I bought the Red Hat Linux 7.3 Bible. Installed the text based OS and it works fine. This I did after trying about 9 installations where I wanted the X-windows to come up too.
Here's whats going on.....
1. While installing : all hardware is correctly detected except for the Monitor ( 'unable to probe' )
2. On coming to the X-windows configuration screen, the correct card is selected and displayed ( ie NDIVIA, etc.... and the V RAM shows 32 Mb.) . I click next.
3. On the monitor configuration screen, the monitor is not displayed in the list. So I selected the nearest.....ie Samsung Synchmaster 750. Clicked on 'Test Setting'.....and lo ! the screen went blank. The installation just stopped.
So I booted the system and tried everything again without any luck. Finally, I got the text based OS up and running.
Then......
1. I ran the Xconfigurator from the shell prompt and entered some vertical and horizontal synch values for the monitor.
2. The configurator tried probing the monitor, and again , (apparently) the OS crashed.
Whats the problem ? How can I get X-windows working. The book says ....
If the correct monitor is not displayed by the installed, goto www.xfree86.com and see the driver status document. Went there but couldn't make head or tail out of what was written.
I'm just a simple guy trying to migrate from Windows to a more powerful OS...people, help me out here.
On Windows XP, there are not problems at all, I can change to the NVIDIA driver or the Samsung driver...both work fine.
Much appreciated.
Shanu
ps Please send me mail directly also , and mark a cc to shanlz@yahoo.com
Generic SVGA should work for you (choose it using Xconfigurator). Then you can search for a better solution. Were the values you entered taken from your monitor's manual?
You can do an "X -probeonly" or look in the /var directory somewhere (I think) for an Xfree86 log file to see what is going on. I know there have been some issues getting the NVIDIA drivers working in the past.
If your box truly is crashing, rather than you're just becoming unable to see anything on the screen, then it seems more likely that the problem is with your graphics card - have you tried downloading the latest drivers from www.nvidia.com?
i don't know whether this helps cause i don't have any experience with rh but sometimes little changes in
etc/X11/XF86Config-? take big effects. the setup tool in suse for example prints the inserted values for driver and vendor and so on UPPERCASE. on my box this didn't work. when i edited them manually from NVIDIA to nvidia it got going. maybe u have to load "glx" or so? u have to try out a while. try with a different monitor too.
and don't reboot when the screen keeps black. i'd try <ESC> or Ctrl-Alt-Backspace to kill x. then u should be back to xconfigurator
good luck,
jens
Thanks to all . I have tried a couple of things , like selecting generic SVGA , manually entering the monitor parameters from the Monitor manual. Still no luck.
I downloaded the nvidia driver : NVIDIA_nforce-1.0-0241.rh73up.athlon.rpm . First I gotta find out how to use this file.
Here are some other things I'll try ...
1. vi the XF86Config-4 file
2. Use x-probeonly and look in the /var directory for xfree86 log file
3 Try and see what can be corrected in the XF86Config-4 file
Windows XP is able to work with the NVIDIA driver and also works when I install the Samsung driver. Why is Linux so complicated ?
You need to be really using the integrated video on an nforce motherboard for the driver filename you specified to work.
Why is Linux so complicated ?
Well, in reality there's nothing much simpler about windows. In many cases, linux provides more elegant solutions to problems than windows can. Windows is just as complicated, and messier, it just appears more simple because it hides its complexity from the users. Correspondingly, windows is less powerful and less flexible. It's also more unstable. I cannot count the number of times that a windows graphics driver has just inexplicably died, leaving my system unusable. What's more, under windows, when I want to fix it, I have no rational method - I simply have to fiddle with various options in the hope that something will cure it: because the operating system hides from me what is really going on. In linux, that is something that simply does not happen, and even if it did, I'm free to boot to a command prompt and make manual changes to my graphical configuration.
Okay, enough of the OS-philosophy. I'm not sure that XFree has integrated support for the nforce at present, so that could explain the failure of the installer to auto-configure your gui. Installing the nvidia driver (if it's the correct one for your setup) is very likely to yield progress. Be sure to carefully follow the instructions in the nvidia README - it requires you to make some manual changes to XF86Config-4. Also, monitor settings are often irritating. Be sure that you're using correct values, you should be able to get them from the manufacturer of your monitor.
My NVIDIA card is integrated into the motherboard. On Windows, it shows up as NVIDIA Integrated GPU....( something like that ) . During Linux installation, what shows up is NVIDIA MX ,etc.
Yup yup, I do agree that windows hides the OS from you and may be complicated per se. Guess since I'm just new to the Linux, its an OS shock. The reason for migrating is speed and performance.
The reason that I haven't yet tried the NVIDIA_nforce-1.0-0241.rh73up.athlon.rpm file yet is that
1. I just got a link about what to do with RPMs !
2. I don't yet know how to mount my A: and the CD ROM !! So I haven't yet copied the RPM file onto the HD.
(Now, I'm sure you all must have been in that stage at some time ,so no laughing, alrite)
Just to add, installing that rpm needs to be done as root (use su -). Also, your floppy-mounting is probably preconfigured by your distribution - try just "mount /dev/fd0" or "mount /mnt/floppy". Not only are these useful because they're shorter than a full mount command, they can also be used by non-root users (although the rpm install must still be done by the superuser).
For your information, drive mounting configuration is in the file /etc/fstab - this is a table that the superuser can edit to specify who can mount which drives using what types of filesystem etc. For more info, fstab has its own manpage: "man fstab".
It's good that you're persevering - a lot of people give up with linux if they can't get a gui going - when a newcomer has to troubleshoot their system from the command line, it's kinda being thrown in the deep end :-)
Oh, and I spent years not having a clue how to mount filesystems when I only used linux occasionally.
update:Hmm. Perhaps that particular rpm isn't what you need. I just looked over the readme, and it doesn't say anything about video drivers. Perhaps the nvidia video driver package is appropriate. Still investigating this...
Okay, so it turns out that you want the nvidia unified graphics driver. You'll probably want the nforce package sooner or later, but it makes sense to get the graphics fired up first, and that's not done with the nforce package.
Nvidia's linux graphics drivers consist of two packages. One provides the opengl/xfree86 driver, and the other is a kernel module. You require both. I've selected what I believe to be the appropriate download links.
Kernel Module
That's for the unupgraded RH7.3 uniprocessor kernel, for i686. There's also a version for i386 available, and it does make a difference. Personally, I use the source tar.gz, but you'll be more comfortable with an rpm.
All this is in the nvidia readme, but I'm just laying out the essentials for you.
Installing the kernel module should be a simple case of running an "rpm -ivh" on it. This will copy the module to the appropriate location on your hard disk.
Installing the GLX driver is a little more in-depth. After installing the rpm, you need to make some changes to your XF86Config-4 file, which are detailed in nvidia's documentation.
Before installing these, it helps to have a generally functional XF86-Config-4 file, so run whichever configuration script you prefer to generate the configuration for keyboard/mouse etc, and input your monitor settings.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.