Error nvidia installer must be run as root что делать

I am trying to load new Nvidia video drivers. I go to the root directory, run the command and it starts then I get this error message. nvidia-installer must be run as root I try to login as root with no success. What am I doing wrong? Thanks in advance.
  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • New to Ubuntu
  • [ubuntu] nvidia-installer must be run as root

  1. Unhappy nvidia-installer must be run as root

    I am trying to load new Nvidia video drivers. I go to the root directory, run the command and it starts then I get this error message.
    nvidia-installer must be run as root
    I try to login as root with no success. What am I doing wrong?

    Thanks in advance.


  2. Re: nvidia-installer must be run as root


  3. Re: nvidia-installer must be run as root

    the root account is disabled so you can’t log in as root. just take the command and put sudo in front of it

    example sudo nvidia-installer.sh

    it will then ask for your password, enter it and it should install and run

    Debian Testing(64bit) + XFCE4 AM2 5200+ ATI Radeon HD4350, 4gig RAM,320Gig and 750gig HDs

    what’s the difference between an answer and a solution? An answer is what they want to hear, a solution is what they don’t want to hear


  4. Re: nvidia-installer must be run as root


  5. Re: nvidia-installer must be run as root

    Now I get this error:

    ERROR: You appear to be running an X server; please exit X before
    installing. For further details, please see the section INSTALLING
    THE NVIDIA DRIVER in the README available on the Linux driver
    download page at www.nvidia.com.

    What now?


  6. Re: nvidia-installer must be run as root

    You don’t login as root from the login screen, silly goose.

    Open up a terminal, (Applications > Accessories > Terminal) and type in

    Also, you can do this in your home directory, no need to navigate to Root directory.
    sudo means Super User DO, and gives you the privileges of root. That way, you can run any command, and make system wide changes. When you type in «sudo [command]» in the terminal, you will be prompted for a password. Type in the password for your account (i.e., the one you login with) and you will run it as root.

    If you are going to be running many commands with sudo privileges, you can alternatively type in

    and get a root terminal. That means, you will run every command you type in as root, or Super User. Be careful, and don’t run commands blindly. If you are unsure of what a command does, google a cheat sheet for yourself on the internet. or, you can (befre you run it) type in:
    «man» means Maunal, and it will explain to you what the command does. «man man» for more information on the manual pages.

    Hope this helps!

    No one told you to run,
    when you missed the starting gun.


  7. Re: nvidia-installer must be run as root

    Why not use EnvyNg to install your drivers

    Code:

    sudo apt-get install envyng

    its under Applications>System>EnvyNG


  8. Re: nvidia-installer must be run as root

    Quote Originally Posted by poscomp
    View Post

    nvidia-installer must be run as root

    yes, this is so.

    As for the rest of you, I’m going to tear off your skin like wrapping paper and deck the halls with your guts! (Robot Santa, Futurama)


  9. Re: nvidia-installer must be run as root

    Quote Originally Posted by TheMaxzilla
    View Post

    If you are going to be running many commands with sudo privileges, you can alternatively type in

    and get a root terminal.

    Not a good idea unless you know exactly what your doing.


  10. Re: nvidia-installer must be run as root

    ok, lets back up here a bit. What video card do you have that you are trying to install drivers for?

    Debian Testing(64bit) + XFCE4 AM2 5200+ ATI Radeon HD4350, 4gig RAM,320Gig and 750gig HDs

    what’s the difference between an answer and a solution? An answer is what they want to hear, a solution is what they don’t want to hear


Bookmarks

Bookmarks


Posting Permissions

Содержание

  1. Nvidia installer must be run as root error
  2. Nvidia installer must be run as root error
  3. ERROR: nvidia-installer must be run as root
  4. Question information
  5. Related bugs
  6. Related FAQ:
  7. This question was reopened
  8. Can you help with this problem?
  9. Nvidia installer must be run as root error

Nvidia installer must be run as root error

Is there any reason you are downloading the driver from the Nvidia website? This should only be done as a last resort.

You should try using the driver from the Ubuntu repositories instead, if you can tell us what version of Ubuntu you are using we can give you specific instructions.

Are you trying to run a driver downloaded from the nVidia site? If so then unless you have good reason, can I suggest you install the driver provided by the Ubuntu repositories. That way you won’t end up with a black screen every time there is a security update to the kernel.
Open the Ubuntu software centre, choose Edit->Software Sources, and look in the Additional Drivers tab.

If you really want to install the nvidia one, put the word sudo in front of the command, to request admin rights. like this (but you will have to shut down the GUI and do it from a tty console):

First, you’ll want to exit X Server if you haven’t already.

Then, run the installer.

Is there any reason you are downloading the driver from the Nvidia website? This should only be done as a last resort.

You should try using the driver from the Ubuntu repositories instead, if you can tell us what version of Ubuntu you are using we can give you specific instructions.

I’m having this same problem. I’m running Lucid LTS (10.04), and the device is a GT540M.

Any guidance you can offer will be greatly appreciated.

I’m having this same problem. I’m running Lucid LTS (10.04), and the device is a GT540M.

Any guidance you can offer will be greatly appreciated.

You should be using a newer version of Ubuntu with newer hardware such as yours, especially if you are new to Linux. If you install 12.04 or 12.10 your graphics card will work using the repository driver like we advised the original poster. Ubuntu 10.04 only has a couple of months of desktop support left anyway.

If there’s a specific reason you need 10.04 on that hardware, you can try installing the driver from the Nvidia website, but you need to switch off the X server temporarily.

sudo service gdm stop

Then use the terminal to run the Nvidia driver installer. You’ll need to do this after every kernel update.

Don’t know how to use the terminal? Save yourself a lot of hassle, just upgrade your Ubuntu to 12.04 or 12.10 and use the instructions given to the person who originally posted in the thread.

new ubuntu has newer kernel. drivers in linux are part of kernel. so in order to run linux well on a newer mashcine/hardware it is much better to use newer kernel provided in the newer version of the OS. if you know how, you could maybe also install new kernel on old Ubuntu. though i am not sure if it would work well on desktop.

so your issues could be resolved by simply using 12.04 or 12.10. what is keeping you on 10.04?

Hey, to solve it do sudo sh NVIDIA-Linux-x86-310.32

I hope it solves your problem 🙂

Can’t help if it doesn’t

You Posted:
i have an nvidia geforce 8600 gt and when i run it as a sudo it says that «sh: 0: Can’t open ./NVIDIA-Linux-x86-310.32».
and i try to run it as a program in terminal it says «ERROR: nvidia-installer must be run as root». what should i do?I f you really need to install the nvidia.com downloaded driver, there is something wrong with the command you quote.

Unless you have renamed, or extracted it, the file should be called «NVIDIA-Linux-x86-310.32.run» and the command you need would be:
sudo sh NVIDIA-Linux-x86-310.32.run that assumes you had CD-ed to the folder where the .run file was downloaded, and previously either booted to a text terminal or shut down the Xserver with:
sudo service lightdm stop.

If you have extracted the .run file then «NVIDIA-Linux-x86-310.32» is a folder containing the decompressed files, including a comprehensive ReadMe file. In that case you should CD to that folder, and the command you need is:
sudo nvidia-installer

Full instructions are available in :http://ubuntuforums.org/showthread.php?t=1743535&page=5 Post #1126

You should be using a newer version of Ubuntu with newer hardware such as yours, especially if you are new to Linux. If you install 12.04 or 12.10 your graphics card will work using the repository driver like we advised the original poster. Ubuntu 10.04 only has a couple of months of desktop support left anyway.

If there’s a specific reason you need 10.04 on that hardware, you can try installing the driver from the Nvidia website, but you need to switch off the X server temporarily.

sudo service gdm stop

Then use the terminal to run the Nvidia driver installer. You’ll need to do this after every kernel update.

Don’t know how to use the terminal? Save yourself a lot of hassle, just upgrade your Ubuntu to 12.04 or 12.10 and use the instructions given to the person who originally posted in the thread.

It turned out that my problem wasn’t with the drivers, but that no /dev nodes had been created. I eventually found in another thread a script for creating the appropriate /dev/nvidia* nodes, ran the mknod commands from the script, and have had no trouble getting my CUDA code to run. I haven’t tried enabling the X driver yet, though.

Y’know, just in case anyone was interested.

Источник

Nvidia installer must be run as root error

so i’m trying to install nVIDIA drivers and this is what my terminal looked like:

$ sh NVIDIA-Linux-x86_64-169.12-pkg2.run
Verifying archive integrity. OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 169.12. . .
nvidia-installer: Error opening log file ‘/var/log/nvidia-installer.log’ for writing (Permission denied); disabling logging.

sh NVIDIA-Linux-x86_64-169.12-pkg2.run , was what i put in the terminal and it kept saying «ERROR: nvidia-installer must be run as root»

not really sure what it’s trying to tell me, can anyone help?

to run as root use sudo

It will ask for your password if you haven’t used it yet — but it won’t show up on screen, it is there though.

Have you not tried to install through Hardware Drivers in system >admin menu.

Just go to administration -> Drivers (or restricted driver manager) and enable the nvidia driver. That is the easiest way.

As to the problem that you are having, you need to run that command with «sudo» in front of it, so you can run it as root. So its

sudo sh NVIDIA-Linux-x86_64-169.12-pkg2.run

sudo sh NVIDIA-Linux-x86_64-169.12-pkg2.run

Just go to administration -> Drivers (or restricted driver manager) and enable the nvidia driver. That is the easiest way.

As to the problem that you are having, you need to run that command with «sudo» in front of it, so you can run it as root. So its

sudo sh NVIDIA-Linux-x86_64-169.12-pkg2.run

okay it says it’s enabled, how do i install sound drivers?

They should be installed — what sound card do you have — is Ubuntu recognising it? Run this in a terminal

They should be installed — what sound card do you have — is Ubuntu recognising it? Run this in a terminal

i did the lspci command and this is what i got:

$ lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC’97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
05:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GS] (rev a1)

Источник

ERROR: nvidia-installer must be run as root

When install downloaded driver for my Nvidia 8600GT graphic card I am receiving Error: Nvidia-installer must run as root.
please any one help me how to run as root?

Question information

This question was reopened

system = admin. = hardware drivers . and your system will search for the best one .

after you find and install restart then go to system = admin. = nvidia x sever and set screen resolution apply then save .

Thanks GREG T., that solved my question.

Thanks for your answer, I did as per your answer, after installing driver the system asked to restart, after restart the system crashed and unable to reboot again. Now I reinstalled the system and Still I am looking for driver installation.

select the 177 drivers when using the hardware drivers

On 11/20/2010 01:53 PM, Rajendran wrote:
> Question #134730 on nvidia- graphics- drivers in ubuntu changed:
> https:/ /answers. launchpad. net/ubuntu/ +source/ nvidia- graphics- drivers/ +question/ 134730
>
> Status: Solved => Open
>
> Rajendran is still having a problem:
> Hi Greg T
>
> Thanks for your answer, I did as per your answer, after installing
> driver the system asked to restart, after restart the system crashed
> and unable to reboot again. Now I reinstalled the system and Still I am
> looking for driver installation.
>
> Thanks
>

Can you help with this problem?

Provide an answer of your own, or ask Rajendran for more information if necessary.

Источник

Nvidia installer must be run as root error

I need to install my NVIDIA-Linux-x86_64-173.08-pkg2.run driver
this is what i did and this is what i get .

no drivers in file. ok

downloaded the NVIDIA driver NVIDIA-Linux-x86_64-173.08-pkg2.run
Saved it on Desktop.

Log out. and Hit CTRL+ALT+F1

$ sudo /etc/init.d/gdm stop

$ sudo apt-get install nvidia-settings

Reading package lists. Done
Building dependency tree
Reading state information. Done
E: Couldn’t find package nvidia-settings

OK something wrong .

$ sudo sh NVIDIA-Linux-x86_64-173.08-pkg2.run

sh: Can’t open NVIDIA-Linux-x86_64-173.08-pkg2.run

I would highly recommend installing your drivers from the repos with either System->Administration->Hardware Drivers, or with envyNG.

Hardware Drivers won’t install my diver on ubuntu 8 64 bit

envyNG? not sure about that one!

Hardware Drivers won’t install my diver on ubuntu 8 64 bit

envyNG? not sure about that one!

try installing envyng from the repos

sudo apt-get install envyng-gtk

Then use that to install the ATI driver, Often it works where the Hardware Drivers manager fails.

Tatty — Juvencio is trying to install Nvidia drivers, not Ati.

Envy won’t install «beta» drivers — it only offers the following Nvidia versions — 71.86.04 or 96.43.05 or 173.14.12

Juvencio — Did you change permissions on the *.run file to make it executable?

chmod a+x ./NVIDIA*.run

$ sudo apt-get install envyng-gtk

Reading package lists. Done
Building dependency tree
Reading state information. Done
E: Couldn’t find package envyng-gtk
juvencio@juvencio-desktop:

whear is E: and why can’t it find anything?

sorry about double post firefox or may i say ubuntu 8 64 bit is a bit stiky.

ubuntu 8 32 bit worked fine maybe is suld revert back to it!

Tatty — Juvencio is trying to install Nvidia drivers, not Ati.

Envy won’t install «beta» drivers — it only offers the following Nvidia versions — 71.86.04 or 96.43.05 or 173.14.12

Juvencio — Did you change permissions on the *.run file to make it executable?

chmod a+x ./NVIDIA*.run

chmod: cannot access `./NVIDIA*.run’: No such file or directory

Open system>admin>software sources. and make sure the top 4 are ticked.

allredy ticked thanks!

I would also recomment the ENVY instead;

But if you want to installed it manually; note, every time the kernel get patch or upgraded you need to do it again.

sudo apt-get update && sudo apt-get upgrade
sudo apt-get remove nvidia-glx nvidia-glx-new nvidia-settings nvidia-kernel-common
sudo apt-get install build-essential xserver-xorg-dev linux-headers-`uname -r`

sudo /etc/init.d/gdm stop
sudo sh
sudo nano /etc/X11/xorg.conf

Check if the driver have changed from nv to nvidia. If it aren’t change it. You can always change it back if it doesn’t work.

sudo /etc/init.d/gdm start

u downloaded to the desktop so:

chmod a+x /Desktop/NVIDIA*.run

u can use tab completion just press TAB

now cd to the desktop

if i revert back to the 32 bit ubuntu, waht will i be missing in the 64 bit ubuntu?

Installing Nvidia is exactly the same as in 32-bit as 64-bit. So I can’t see why you change.

while that is doing its stuf. pleas can you explane what I’m doing?

sudo apt-get update && sudo apt-get upgrade
do i need to do this often?

sudo apt-get remove nvidia-glx nvidia-glx-new nvidia-settings nvidia-kernel-common
ok this one I was looking for! updating my nvidia-kernel-common.

sudo apt-get install build-essential xserver-xorg-dev linux-headers-`uname -r`
hu?

sudo /etc/init.d/gdm stop
sudo sh sudo nano /etc/X11/xorg.conf

I tryed CLI (what dose CLI stand for) and it says (No such file or directory)
this is my path, maybe thears somthig missing?
/home/juvencio/Desktop/linux/NVIDIA

sudo /etc/init.d/gdm start
dose this just chek if my driver have changed?

cli = command line interface

did you go to a tty

ctrl+alt+f1-f6 and F7 to come back to a gui

stop gdm from there

chmod + x NVIDIA-Linux-x86_64-173.08-pkg2.run

sudo sh NVIDIA-Linux-x86_64-173.08-pkg2.run

and follow the instructions 🙂

edit: then sudo /etc/init.d/gdm start and you should be back to a gui.

Cd to the directory the file is in then:

sudo chmod +x NVIDIA-Linux-x86_64-173.08-pkg2.run

i believe you have no idea what you are doing and i suggest you follow this Helpme page and stop what your doing right now.

cli = command line interface

did you go to a tty

ctrl+alt+f1-f6 and F7 to come back to a gui

stop gdm from there

I logout then hit Ctrl+Alt+F1 or Ctrl+Alt+F1+F6+F7 (my poor fingers)

& sudo /etc/init.d/gdm stop
Ill try that in about 15 min or so just wating for sudo apt update/upgrade

Cd to the directory the file is in then:

sudo chmod +x NVIDIA-Linux-x86_64-173.08-pkg2.run

i believe you have no idea what you are doing and i suggest you follow this Helpme page and stop what your doing right now.

I’v bean doing fine in the 32 bit Ubuntu
and I’v tride the NvidiaManual. it dose not work for me!
maybe its just an update or somthig I’m missing
following AI’s advice seeing if it gets me anyware.
I speend a long time trying to solve my own problem befor asking a Q:
so not to waste you people’s time (the people that help others on thear own time)

thank you to all of you
still trying to see if i will get it done.

The question/info missing from this thread IMO is what model nvidia card are you trying to get running? If it’s an 8 or 9 series card eg(8400 to 9600) there are many threads in the forums about problems getting those configured in 8.04 and yes even envy fails for some reason (kernel bug?) to get them working.

I recently tried to help someone with the series nvidia card I’m referring to and he said he had tried everything. He upgraded to testing (ibex) and it works now.

I know not everyone with 8 & 9 series cards have problems but quite a few do.

Added: For that matter the System > Administration > Hardware Drivers tool is suppose to recognize and enable the driver for nvidia cards but it is failing to do that in many cases (specifically these 8 & 9 series cards I think).
Recommending envy or other methods doesn’t allow this bug to get exposed appropriately.

u don’t have to specifically logout — 🙂 all running programs should continue to remain in RAM and running. 😉

how do i get back all i now what to do is sudo reboot

how do i get back all i now what to do is sudo reboot

Try Alt+Ctrl+F7 that should bring you back.

The question/info missing from this thread IMO is what model nvidia card are you trying to get running? If it’s an 8 or 9 series card eg(8400 to 9600) there are many threads in the forums about problems getting those configured in 8.04 and yes even envy fails for some reason (kernel bug?) to get them working.

I recently tried to help someone with the series nvidia card I’m referring to and he said he had tried everything. He upgraded to testing (ibex) and it works now.

I know not everyone with 8 & 9 series cards have problems but quite a few do.

Added: For that matter the System > Administration > Hardware Drivers tool is suppose to recognize and enable the driver for nvidia cards but it is failing to do that in many cases (specifically these 8 & 9 series cards I think).
Recommending envy or other methods doesn’t allow this bug to get exposed appropriately.

2X Nvidia 7 gt series sly yes i know sly is not seported but i still run xp for my games and AutoCAD 2008

System > Administration > Hardware Drivers dose not show anything but i can’t change my visual effects

in Ubuntu 8 32 bit the System > Administration > Hardware Drivers worked

sudo /etc/init.d/gdm stop
commond not found.
Now that wont work and all I’v done is update Ubuntu

$ sudo /etc/init.d/gdm stop

$ sudo sh NVIDIA-Linux-x86_64-173.08-pkg2.run

yes yes yes it starts

ERROR: nvidia-installer must be run as root

oh what a let down ill cary on tomorrow its 10:30pm for me and i gota get up at 4am but ill maybe push it to 5am

[code]sudo /bin/bash[/QUOTE] works in my terminal when still in gdm.
but as soon as i enter the CL it can’t find command!

I’ll try to logout and see if I can get it right.

[ERROR] sudo: bin/bash: command not found
[/QUOTE]
any ideas around or just keep hacking at it

PS howe can I thank you guys.

I would highly recommend installing your drivers from the repos with either System->Administration->Hardware Drivers, or with envyNG.

I looked up EnvyNG

I found what I’m looking for, problem solved.

How do I Install EnvyNG

sudo apt-get remove envy
sudo apt-get remove envyng
sudo rm -R /usr/share/envy

sudo apt-get install envyng-gtk

find EnvyNG in Applications/System Tools

I found this at
http://albertomilone.com/envyngfaq.html#A

Thanks to Alberto Milone

Ubuntu is an ancient African word, meaning «humanity to others».
Ubuntu also means «I am what I am because of who we all are».

yes yes yes it starts

ERROR: nvidia-installer must be run as root

oh what a let down ill cary on tomorrow its 10:30pm for me and i gota get up at 4am but ill maybe push it to 5am

Источник

Сообщения: 452
Зарегистрирован: 17 сен 2009, 06:29
Пол: мужской
Благодарил (а): 6 раз
Поблагодарили: 11 раз

Ubuntu 8.04 TLS — драйвер NVIDIA

#1

Непрочитанное сообщение DN2010 » 25 сен 2009, 16:27

Подскажите, кто знает, где можно почитать описание на русском языке установленных/предалагаемых пакетов для Убунту 8.04. Может у кого-то книжка какая есть, или сохраненные ссылки? Спасибо.

Нашел на сайте нвидиа соответствующий драйвер (GF 5700LE), но он в формате *.run, устанавливаться не желает. Инструкция с сайта по запуску из терминала «sh NVIDIA-…» тоже не помогает. Установка/Удаление предлагает три варианта драйвера, но после активации система грузится в черный экран.


Аватара пользователя

g-z0mb1e

Сообщения: 743
Зарегистрирован: 14 авг 2009, 20:01
Благодарил (а): 19 раз
Поблагодарили: 20 раз

Re: Пакеты Ubuntu 8.04 TLS

#2

Непрочитанное сообщение g-z0mb1e » 25 сен 2009, 17:07

всмысле? у тебя нерусифицированная убунта чтоле или что? описание можно читать в synaptic, при установке.

В действительности все не так, как на самом деле.



Аватара пользователя

g-z0mb1e

Сообщения: 743
Зарегистрирован: 14 авг 2009, 20:01
Благодарил (а): 19 раз
Поблагодарили: 20 раз

Re: Пакеты Ubuntu 8.04 TLS

#4

Непрочитанное сообщение g-z0mb1e » 25 сен 2009, 18:18

описание пакетов никогда не было и не будет на русском языке. кроме некоторых. если уж совсем сложно разобраться, пробуйте через «приложения» -> «установка/удаление приложений.» там все по категориям расфасовано, с иконками и поиском и описанием.

В действительности все не так, как на самом деле.


DN2010
Автор темы

Сообщения: 452
Зарегистрирован: 17 сен 2009, 06:29
Пол: мужской
Благодарил (а): 6 раз
Поблагодарили: 11 раз

Re: Пакеты Ubuntu 8.04 TLS

#5

Непрочитанное сообщение DN2010 » 25 сен 2009, 18:30

«описание пакетов никогда не было и не будет на русском языке.»
Хотелось бы верить, что рано или поздно найдется человек, который не поленится сделать перевод:))) Ну что же, будем читать книги.


DN2010
Автор темы

Сообщения: 452
Зарегистрирован: 17 сен 2009, 06:29
Пол: мужской
Благодарил (а): 6 раз
Поблагодарили: 11 раз

Re: Ubuntu 8.04 TLS — драйвер NVIDIA

#6

Непрочитанное сообщение DN2010 » 26 сен 2009, 17:07

Запускаю файл NVIDIA-Linux-x86-173.14.20-pkg1.run в терминале, пишет:
ERROR: nvidia-installer must be run as root
Снимаю галочку автоматического входа, ввожу при входе имя «root», а пароль какой? Я вроде пароля для рута вообще не создавал при установке, и никто не просил:) Пароль root не проходит, для рабочей учетной записи — тоже.

Добавлено спустя 26 минут 16 секунд:
Создал пароль root ($sudo passwd root в терминале суперпользователя), но залогиниться с ним не могу, пишет:
Администратору не разрешено входить в систему с этого экрана.



DN2010
Автор темы

Сообщения: 452
Зарегистрирован: 17 сен 2009, 06:29
Пол: мужской
Благодарил (а): 6 раз
Поблагодарили: 11 раз

Re: Ubuntu 8.04 TLS — драйвер NVIDIA

#8

Непрочитанное сообщение DN2010 » 26 сен 2009, 19:14

Не подходит, тем более, что там не так все просто. Настроил окно входа, захожу как root, теперь надо каким-то образом отключить Х-сервер. Если через ctrl+alt+backspace, выкидывает в то же окно логина, а если ctrl+alt+F1, то в текстовик, а что там набирать хз.


Аватара пользователя

g-z0mb1e

Сообщения: 743
Зарегистрирован: 14 авг 2009, 20:01
Благодарил (а): 19 раз
Поблагодарили: 20 раз

Re: Ubuntu 8.04 TLS — драйвер NVIDIA

#9

Непрочитанное сообщение g-z0mb1e » 26 сен 2009, 19:22

вы слишком много мудрите. файл драйвера видеокарты запускать нужно было через sudo и все. в ubuntu root пользователь по-дефолту отключен. зачем такие костыли, если можно все сделать намного проще ?

В действительности все не так, как на самом деле.


DN2010
Автор темы

Сообщения: 452
Зарегистрирован: 17 сен 2009, 06:29
Пол: мужской
Благодарил (а): 6 раз
Поблагодарили: 11 раз

Re: Ubuntu 8.04 TLS — драйвер NVIDIA

#10

Непрочитанное сообщение DN2010 » 26 сен 2009, 19:25

Да делал я через sudo, и даже путь прописывал, все равно, требет rootа. Это я сразу пытался по простому вопрос решить.


Аватара пользователя

g-z0mb1e

Сообщения: 743
Зарегистрирован: 14 авг 2009, 20:01
Благодарил (а): 19 раз
Поблагодарили: 20 раз

Re: Ubuntu 8.04 TLS — драйвер NVIDIA

#11

Непрочитанное сообщение g-z0mb1e » 26 сен 2009, 19:37

не может такого быть, потому что sudo — это и есть запуск от прав root’a. давайте сюда вывод того, чего вводите и что вам выводит.

В действительности все не так, как на самом деле.





Аватара пользователя

MACTEP

Не верь в Худо
Сообщения: 6265
Зарегистрирован: 10 янв 2007, 01:19
Пол: мужской
Благодарил (а): 238 раз
Поблагодарили: 403 раза
Контактная информация:

Re: Ubuntu 8.04 TLS — драйвер NVIDIA

#15

Непрочитанное сообщение MACTEP » 26 сен 2009, 21:18

а разве в репах ubuntu нет проприетарного драйвера на NV? зачем париться с файлом .run, если можно сделать sudo apt-get install nvidia-glx nvidia-glx-new?
существует так же Envy, сама выбирает и ставит нужный драйвер.
Ubuntu — это линукс для домохозяек, все телодвижения с файлами .run там просто лишние.

«…а кто там и за что на сколько присядет потом,- так Родина нам такая досталась, суровая, но душевная.» (с) Conqwest


I downloaded a .run file for a Nvidia driver, but when I run it in the terminal it tells me it must be run as root.

I’m a complete noob and I barely even know what root is. I think it’s somewhere around the equivalent of admin in windows.
driver run as root

Well, I got the file to run but it turns out that the driver will not recognize my card.
I’ve heard about other problems with Nvidia cards not working right with 64 bit versions of 12.04.

Radu Rădeanu's user avatar

Radu Rădeanu

164k47 gold badges321 silver badges397 bronze badges

asked May 31, 2012 at 3:41

Daniel Richardson's user avatar

5

You need to do two things; both from a Terminal prompt:

  1. Change to the directory where you have the .run file stored.
  2. Type: chmod 755 filename.run
  3. Type: sudo ./filename.run

The above commands will make the file executable and will launch the executable with root-level permissions.

muru's user avatar

muru

189k52 gold badges460 silver badges711 bronze badges

answered May 31, 2012 at 4:00

Justin Andrusk's user avatar

Justin AndruskJustin Andrusk

4,0262 gold badges19 silver badges19 bronze badges

2

Add the command «sudo» before the command. For example: sudo blah.sh

After you enter your password the command will run as root. Be careful to verify the trustworthiness of a package or command before running it with sudo.

answered May 31, 2012 at 3:59

notkevin's user avatar

3

root is the master account in Ubuntu; every account has limited privileges but the root account has no limitations. The reason for hiding root is that in most cases you don’t need root access. The analog in Windows would be having to authenticate when you want to install a driver; in Ubuntu you have to be root or have root privileges.

There are two ways for you to get access as root. You can type:

sudo <whatever-command> and Ubuntu will ask you for your password and then execute that command as root.

OR

sudo su, where you’ll input your own password and then you will become root (i.e. you will be logged in as root).

I prefer the latter because it gives me more control; sometimes running a command just as root isn’t enough, but doing it this way can be more dangerous (i.e. you could accidentally cause more damage).

I recommend trying the first way. And then trying the second way if that doesn’t work. Just make sure you get out of root after you’re done (i.e. type exit after you’re finished doing what you need to do as root).

answered May 31, 2012 at 4:03

Son of the Wai-Pan's user avatar

5

If you have enabled the root account you can use

su

Enter the password for root, cd to your application folder, then run

./package.run

Zanna's user avatar

Zanna

68.2k55 gold badges210 silver badges320 bronze badges

answered Feb 22, 2017 at 10:53

Hasan BD's user avatar

1

Specs: AMD Athlon XP 2400+ @ 1987 MHz / 2 x 512MB PC3200 DDR RAM / 128MB GeForce 6200 AGP / WD 160GB IDE HDD / FIC AM37 / DB: XP Pro SP3 & Ubuntu 9.10

Hi all,

I just installed Ubuntu 9.10 (within XP) on my desktop for the first time and I am trying to install the driver for my graphics card. I went to the NVIDIA site to download the Linux 32-bit version of the GeForce 6-series driver, which comes in a .run format. I double click on it and it begins to load in gedit, but it is unsuccessful because the character coding couldn’t be detected. I tried running it in Terminal, but permission was denied. So, I searched how to open a .run file and came to here where I used the «chmod 755 [filename].run» in Terminal.

Now it can start uncompressing but now I get a new message saying «ERROR: nvidia-installer must be run as root». I have no clue what to do now… since I am a noob. XD

How should I be going about this? Thanks in advance! =)

Tamara Wijsman's user avatar

asked Feb 6, 2010 at 19:49

Wesley's user avatar

1

Go to System->Administration->Hardware
Drivers and check the box to enable
the restricted drivers for your NVIDIA
card if the option is provided.

If the restricted driver remains
unactivated after attempting to
activate it in the Hardware Drivers
dialog, you may not have the
appropriate linux headers installed to
compile the driver. Ensure that the
linux-headers-XXX and
linux-restricted-modules-XXX packages
are installed, where XXX matches the
version of the kernel you are using
(linux-image-XXX).

If the activation hangs on
download/install dialog, you can
install the driver using
System->Administration->Synaptic
Package Manager, make sure you pick
the latest driver version recommended
by the «Hardware Drivers» tool and all
its dependencies. Go to Hardware
Drivers tool and activate the driver
you just installed.

( via )

answered Feb 6, 2010 at 20:39

Sathyajith Bhat's user avatar

Sathyajith BhatSathyajith Bhat

61.1k38 gold badges178 silver badges264 bronze badges

2

Forget about the file you downloaded.

Go to System -> Administration -> Hardware Drivers.

answered Feb 6, 2010 at 20:17

user23307's user avatar

user23307user23307

6,7711 gold badge19 silver badges13 bronze badges

1

Модератор: Bizdelnick

Denis_1

Сообщения: 4
ОС: Win7, Ubuntu 10.10, Mint 10

NVIDIA GeForse 8500 GT

Поставил себе SuSE 10.2 но ни моей видеокарты NVIDIA GeForse 8500 GT ни моего монитора syncMaster 961bw в стиске стандартных драйверов нет. Искал на сайтах производителя не нашел, может у кого есть?

Аватара пользователя

Ilja

Сообщения: 349
ОС: ALTLinux Branch 4.1
Контактная информация:

Re: NVIDIA GeForse 8500 GT

Сообщение

Ilja » 13.10.2007 20:58

Ищите внимательно на сайте Н-Видия, дрова для конкретной модели редко бывают, обычно для семейства 86** 85** 84**.
Дрова для монитора вообще непонятно зачем. В настройках поставте стандартный и пропишите разрешение и частоту для своего.

Обычно первый совет наступившему на грабли — наступить еще раз и сравнить ощущения.

Советы по наступанию на грабли — JID: ilya.raskin@jabber.se

Аватара пользователя

diesel

Бывший модератор
Сообщения: 5989
ОС: OS X, openSuSE, ROSA, Debian
Контактная информация:

Denis_1

Сообщения: 4
ОС: Win7, Ubuntu 10.10, Mint 10

Re: NVIDIA GeForse 8500 GT

Сообщение

Denis_1 » 14.10.2007 16:17

Дрова нашел, спасибо за ссылку… Теперь такая проблема ERROR: nvidia-installer must be run as root я делал так:
1)Логин
2)Пароль
3)killall kdm — пишет нельзя виполнить…
5)/home/denis
6)sh NVIDIA-Linux-x86-100.14.11-pkg1
дальше идет какойто процес и выскакивает табличка ERROR: nvidia-installer must be run as root
Пробивал через Безопасный тоже самое… :dry:

Аватара пользователя

Minton

Сообщения: 1588
Статус: openSUSE Localization Team
ОС: openSUSE Tumbleweed x86-64

Re: NVIDIA GeForse 8500 GT

Сообщение

Minton » 14.10.2007 16:20

Дык если написано, что выполнять нужно из-под рута, значит, так и есть. От пользователя у вас ничего не получится…

Denis_1

Сообщения: 4
ОС: Win7, Ubuntu 10.10, Mint 10

Re: NVIDIA GeForse 8500 GT

Сообщение

Denis_1 » 14.10.2007 18:37

Minton писал(а): ↑

14.10.2007 16:20

Дык если написано, что выполнять нужно из-под рута, значит, так и есть. От пользователя у вас ничего не получится…

А как туда зайти :blush: (Я 3 дня в линексе сижу…)

Аватара пользователя

diesel

Бывший модератор
Сообщения: 5989
ОС: OS X, openSuSE, ROSA, Debian
Контактная информация:

Re: NVIDIA GeForse 8500 GT

Сообщение

diesel » 15.10.2007 08:00

Denis_1 писал(а): ↑

14.10.2007 18:37

Minton писал(а): ↑

14.10.2007 16:20

Дык если написано, что выполнять нужно из-под рута, значит, так и есть. От пользователя у вас ничего не получится…

А как туда зайти :blush: (Я 3 дня в линексе сижу…)

читаем FAQ в верху раздела ….

Понравилась статья? Поделить с друзьями:
  • Error nvidia driver is not loaded ubuntu
  • Error nvidia driver is not loaded nvidia settings
  • Error nvidia driver is not loaded debian
  • Error numerical instability fds stopped
  • Error number flood telegram