Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > OS & Software > The Alternative OS

Various Linux questions

Reply
Bookmark / Share this page
Thread Tools
  #1  
Old 04-06-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
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.
Reply With Quote
  #2  
Old 04-06-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
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.
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #3  
Old 04-06-2002
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,749 posts
System specs
Re: Various Linux questions

Quote:
Originally posted by ss1
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.
Try Xconfigurator (or edit /etc/X11/XF86Config-4 manually )

Quote:
2. Is the Java 1.3 or 1.4 SDK installed on Linux my default and if not is it availble from Sun.
http://java.sun.com/j2se/1.4/download.html

Quote:
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?
I think you should. You'll get accelerated features & OpenGL, possibly TV-out support as well among other things.

Quote:
4. Does VNC server work on Linux so I can remoltey control the box from my Windows machine?
Yes, it does.
Reply With Quote
  #4  
Old 04-06-2002
lokem's Avatar
TechSpot Booster
 
Location: Assembled In Malaysia
Member since: Mar 2002, 773 posts
Quote:
Originally posted by ss1
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.
Since Mictlantecuhtli has answered the prev questions, I'll answer this one

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.
Reply With Quote
  #5  
Old 04-06-2002
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,602 posts
Re: Various Linux questions

Quote:
Originally posted by ss1
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.
As root,

mouseconfig

outside X windows or do it in X windows and then restart....
Reply With Quote
  #6  
Old 04-06-2002
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,602 posts
Re: Various Linux questions

Quote:
Originally posted by ss1
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?
You can download the drivers from their website and follow the installation instructions which involve editing a script and compiling the drivers.....
Reply With Quote
  #7  
Old 04-07-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
Just another question.

In DOS you can go back a directory by using the cd.. command. What is the equivlant in Linux?


ss1.
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #8  
Old 04-07-2002
lokem's Avatar
TechSpot Booster
 
Location: Assembled In Malaysia
Member since: Mar 2002, 773 posts
Quote:
In DOS you can go back a directory by using the cd.. command. What is the equivlant in Linux?
cd ..

Note the space btw cd and ..
Reply With Quote
  #9  
Old 04-07-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
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.
Reply With Quote
  #10  
Old 04-07-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
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.
Reply With Quote
  #11  
Old 04-07-2002
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,749 posts
System specs
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.
Reply With Quote
  #12  
Old 04-07-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
Quote:
Go to /etc/X11. Edit XF86Config-4:
How do I edit the XF86Config-4 in bash? In dos I could use the edit command but whats the eqvilant in Linux?



ss1.
Reply With Quote
  #13  
Old 04-07-2002
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,749 posts
System specs
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.
Reply With Quote
  #14  
Old 04-07-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
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.
Reply With Quote
  #15  
Old 04-07-2002
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,749 posts
System specs
NVIDIA_kernel driver needs to be properly installed. How did you install it?
Reply With Quote
  #16  
Old 04-07-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
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.
Reply With Quote
  #17  
Old 04-07-2002
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,749 posts
System specs
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
Reply With Quote
  #18  
Old 04-07-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
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.
Reply With Quote
  #19  
Old 04-08-2002
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,749 posts
System specs
Quote:
Originally posted by ss1
How do I insmod NVdriver? Do I type in the console?
Yes(, but I have a feeling that it won't help in this case). Are you sure /etc/X11/XF86Config-4 is correct?
Reply With Quote
  #20  
Old 04-09-2002
ss1's Avatar
ss1 ss1 is offline
TechSpot Member
 
Location: Aberystwyth, UK & Horley, Surrey, UK
Member since: Feb 2002, 106 posts
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.
Reply With Quote
Reply
Thread Tools

Forum Jump

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.