how to install NVIDIA.run on Mint 18.3?

49

How to install NVIDIA.run?

As the error states, you are still running an X server. This error occurs when you try to install the Nvidia .run files while logged in.

Make sure you are logged out.

  1. Hit Ctrl+Alt+F1 and login using your credentials.
  2. kill your current X server session by typing sudo service lightdm stop or sudo lightdm stop
  3. Enter runlevel 3 by typing sudo init 3
  4. Install your .run file. you change to the directory where you have downloaded the file by typing for instance cd Downloads. If it is in another directory, go there. Check if you see the file when you type ls NVIDIA Make the file executable with chmod +x ./your-nvidia-file.run Execute the file with sudo ./your-nvidia-file.run
  5. You might be required to reboot when the installation finishes. If not, run sudo service lightdm start or sudo start lightdm to start your X server again.
  6. It's worth mentioning, that when installed this way, you'd have to redo the steps after each kernel update.
Share:
49

Related videos on Youtube

User101
Author by

User101

Updated on September 18, 2022

Comments

  • User101
    User101 over 1 year

    I have some code like:

    new ValidationFailure<AddSystemUserDto>
    

    This is in various places in my application service layer, I want to find all the different "Dto" types that have been used when newing up a ValidationFailure across the code, is this possible using reflection? Without having to run each application service method?

    • CodeCaster
      CodeCaster about 7 years
      "is this possible using reflection" - probably, but that would require you to dig through all methods, and also find all public void Foo<TBar>() { return new ValidationFailure<TBar>(); } and calls to that method, ad nauseum. You'd rather do this before or at compile-time, using static analysis, for example through ReSharper or Roslyn. You definitely don't want to code it yourself.
  • Munkhbaatar Adiya
    Munkhbaatar Adiya about 6 years
    -> The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Continue installation) ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
  • Dipankar
    Dipankar about 6 years
  • Dipankar
    Dipankar about 6 years
    If this answer solves your problem, please accept the answer by clicking the answer button. Or, If you would have solved by yourself, please share the solution. Thanks.