Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.
Various Linux questions
|
|||||||
![]() |
| Thread Tools |
|
#1
|
||||
|
||||
|
Various Linux questions
Ok I have RedHat Linux 7.2 installed but I have a few questions:
1. How do I change my mouse and keyboard configuartion - The mouse has been set to a two button mouse (When its a three button) and the Keyboard has been set to a US keyboard layout rather than a UK one. 2. Is the Java 1.3 or 1.4 SDK installed on Linux my default and if not is it availble from Sun. 3. When Installed RH7.2 it dected my graphics card correctly as a TNT2 Vanta 16mb but should I go download the latest drivers from Nvidia? 4. Does VNC server work on Linux so I can remoltey control the box from my Windows machine? Thats all I think at the momment .Cheers, ss1. |
|
#2
|
||||
|
||||
|
Wait!
One more question: 5. Is there a better text editor for writing Java code than emacs. Hopefully one which supports the various colours of the Java syntaxes. ss1. |
|
|
|
#3
|
||||
|
||||
|
Re: Various Linux questions
Quote:
)Quote:
Quote:
Quote:
|
|
#4
|
||||
|
||||
|
Quote:
![]() If you're familiar with vi, you can try vim. It has syntax highlighting. Turn it on by pressing ESC, then type: :syntax on If you're leaning more towards the GUI type, you can try www.jext.org. It's a full featured editor written in Java. Hope that helps. |
|
#5
|
||||
|
||||
|
Re: Various Linux questions
Quote:
mouseconfig outside X windows or do it in X windows and then restart.... |
|
#6
|
||||
|
||||
|
Re: Various Linux questions
Quote:
|
|
#7
|
||||
|
||||
|
Just another question.
In DOS you can go back a directory by using the cd.. command. What is the equivlant in Linux? ss1. |
|
|
|
#8
|
||||
|
||||
|
Quote:
Note the space btw cd and .. |
|
#9
|
||||
|
||||
|
I installed the Nvidia Linux drivers but now I have a big problem. Xserver doesn't seem to start at all so I can't get to the GUI login screen. Xconfiguartor showsme the log and the only warning messages I could see in the log are:
(WW) Warning couldn't open module GLcore (EE) Failed to load module 'GLcore' module does not exist, 0) and the bottom of the log: Fatal server error: Caught singal error 4. Server aborting. Any ideas? Hopefully I won't have to re-install Linux .ss1. |
|
#10
|
||||
|
||||
|
I think I know why I messed up on my driver installations. These are the proper instructions:
rpm -iv NVIDIA_kernel-1.0-2313.rh72up.i686.rpm rpm -iv NVIDIA_GLX-1.0-2313.rh72up.i686.rpm Go to /etc/X11. Edit XF86Config-4: In section "Module", comment out (with "#") Load "GLcore" Load "dri" In section "Device", comment out Driver "nv" (in case your card was detected as such) Add Driver "nvidia" there. Now you could try if X works. If not, you can kill it (usually) with CTRL-ALT-BACKSPACE. Check /var/log/XFree86.0.log for errors (lines that begin with (EE)). Out of that I only did: rpm -iv NVIDIA_kernel-1.0-2313.rh72up.i686.rpm rpm -iv NVIDIA_GLX-1.0-2313.rh72up.i386.rpm Notice that I accenditlenly installed the GLX i386 moudle instead of the i686 one. Would that also cause any problems??? ss1. |
|
#11
|
||||
|
||||
|
It shouldn't. The GLX module just won't use Pentium instructions, so it might be a bit slower. I think I made a typo there, I'm not sure if there is GLX version for i686. But then again, it could be compiled from source with CFLAGS="-O3 -march=i686".
Edit: It won't help as GLX installer just copies files. It could affect NVIDIA_kernel module, however. Last edited by Mictlantecuhtli; 04-07-2002 at 12:03 PM. |
|
#12
|
||||
|
||||
|
Quote:
ss1. |
|
#13
|
||||
|
||||
|
IMHO the best command-line file manager & editor is Midnight Commander, invoked by mc.
Alternatively, you can edit it with, say, vi, though it might not be the easiest to use. Hit "insert" to edit text, "ESC" to exit editing mode, type :w to save the file and :q to quit. |
|
#14
|
||||
|
||||
|
Ok.
I made the neccessary changes to the XF86Config-4 as stated above but I now have the following error messages: (EE) Nvidia(0): Failed to intialize NVdriver kernel module! (EE) Nvidia(0): ***Aborting*** (II) Unloading /usr/X11R6/lib/modules/libvgahw.a (EE) Screen(s) found, but none have a useable configuration. Fatal error No Screen found. Any ideas on helping me crack this problem? Thxs for your help! ss1. |
|
#15
|
||||
|
||||
|
NVIDIA_kernel driver needs to be properly installed. How did you install it?
|
|
#16
|
||||
|
||||
|
I ran these commands in bash with Xserver terminated which went ok:
rpm -iv NVIDIA_kernel-1.0-2313.rh72up.i686.rpm rpm -iv NVIDIA_GLX-1.0-2313.rh72up.i386.rpm and then later I edited my XF86Config-4 file as stated above. Am I missing somthing ![]() ss1. |
|
#17
|
||||
|
||||
|
Hmm.. try insmod NVdriver. Oh, you're using 2313 - did you notice that there's a new version out?
In every case, I recommend installing the driver from source packages. It's not as difficult as it may sound. These RPM packages are for specific distributions with specific kernels, so it might not be installed correctly after all. Sure you have Red Hat 7.2, uniprocessor machine? i686? Edit: Ok, I read your sig ![]() |
|
#18
|
||||
|
||||
|
The 2313 is just a copy and paste mistake
. I did download the latest version. I tried added the line in my Modules.conf file:alias dev/nvidia* NVdriver but still the same problem. How do I insmod NVdriver? Do I type in the console? cheers .ss1. |
|
#19
|
||||
|
||||
|
Quote:
|
|
#20
|
||||
|
||||
|
I reformated an re-installed
. I think installing from the RPMS was a bad idea. After doing some research I think I hashed out the correct installation procedure:Firstly you need two files: 1. GLX tar file (Ignore the RPMS) 2. Kernel tar file (Its right at the bottom) From here: http://www.nvidia.com/view.asp?PAGE=linux Ok now do the following: 1. Shut down X (Usally by logging out and then pressing Alt-Ctrl-F1) 2. Go to the directory where you downloaded the files 3. un-tar both files: tar -zxvf NVIDIA_blabla-version.i386.tar.gz 4. Get into each of the new folders that have been created (Kernel first, GLX last) and type: make install 5. edit /etc/X11/XF86Config-4 with the following things: - Comment out: Load "GLcore" Load "dri" -In section "Device" replace Driver "nv" with Driver "nvidia" 5. Restart X ss1. |
![]() |
| Thread Tools | |
|
| Similar Topics | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux bookmarks | Phantasm66 | The Alternative OS | 14 | 07-10-2008 10:36 AM |
| How can I network Windows 2000 with a Red Hat Linux PC? | acidosmosis | The Alternative OS | 13 | 08-08-2005 02:39 PM |
| To Linux or not to Linux | Vehementi | The Alternative OS | 31 | 04-22-2005 02:02 PM |
| Linux, WinXP, and Partitions | redfoxtx | The Alternative OS | 19 | 09-09-2003 09:56 AM |
| Linux Goes a la Carte with UnitedLinux | Phantasm66 | News & Interesting links | 1 | 06-05-2002 04:21 PM |
All times are GMT -4. The time now is 06:27 AM.



.
)