also @ TechSpot: Toshiba abandons netbook market in US, focuses on Ultrabooks instead

TechSpot

Various Linux questions

Discussion in 'The Alternative OS' started by ss1, Apr 6, 2002.

Thread Status:
Not open for further replies.
  1. ss1 Newcomer, in training

    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. ss1 Newcomer, in training

    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. Mictlantecuhtli TS Special Forces

    Try Xconfigurator (or edit /etc/X11/XF86Config-4 manually ;))

    http://java.sun.com/j2se/1.4/download.html

    I think you should. You'll get accelerated features & OpenGL, possibly TV-out support as well among other things.

    Yes, it does.
  4. lokem Newcomer, in training

    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.
  5. Phantasm66 Newcomer, in training

    As root,

    mouseconfig

    outside X windows or do it in X windows and then restart....
  6. Phantasm66 Newcomer, in training

    You can download the drivers from their website and follow the installation instructions which involve editing a script and compiling the drivers.....
  7. ss1 Newcomer, in training

    Just another question.

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


    ss1.
  8. lokem Newcomer, in training

    cd ..

    Note the space btw cd and ..
  9. ss1 Newcomer, in training

    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. ss1 Newcomer, in training

    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. Mictlantecuhtli TS Special Forces

    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.
  12. ss1 Newcomer, in training

    How do I edit the XF86Config-4 in bash? In dos I could use the edit command but whats the eqvilant in Linux?



    ss1.
  13. Mictlantecuhtli TS Special Forces

    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. ss1 Newcomer, in training

    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. Mictlantecuhtli TS Special Forces

    NVIDIA_kernel driver needs to be properly installed. How did you install it?
  16. ss1 Newcomer, in training

    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 :confused:


    ss1.
  17. Mictlantecuhtli TS Special Forces

    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. ss1 Newcomer, in training

    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. Mictlantecuhtli TS Special Forces

    Yes(, but I have a feeling that it won't help in this case). Are you sure /etc/X11/XF86Config-4 is correct?
  20. ss1 Newcomer, in training

    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 Status:
Not open for further replies.