Nvidia drivers linux you appear to be running x server

Nvidia driver error you appear to be running an x server

Стоит дебиан 8, kde 4.14.2
Скачал драва с сайта nvidea .deb и .run
Запускал из рута пишет:

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 http://www.nvidia.com.

Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at http://www.nvidia.com.

nvidia-installer log file ‘/var/log/nvidia-installer.log’

creation time: Sat Jun 13 14:10:38 2015
installer version: 346.72

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
-> Detected 4 CPUs online; setting concurrency level to 4.
-> The file ‘/tmp/.X0-lock’ exists and appears to contain the process ID ‘980’ of a runnning X server.
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 http://www.nvidia.com

Пробывал останавливать иксы, переходил Ctrl+Akt+F1 etc/init.d/kdm stop, и после этого запускать, выдает тоже самое.

Booting to a different runlevel

Runlevels in Linux dictate which services are started and stopped automatically when the system boots or shuts down. The runlevels typically range from 0 to 6, with runlevel 5 typically starting the X window system as part of the services (runlevel 0 is actually a system halt, and 6 is a system reboot). It is good practice to install the NVIDIA Linux Driver while X is not running, and it is a good idea to prevent X from starting on reboot in case there are problems with the installation (otherwise you may find yourself with a broken system that automatically tries to start X, but then hangs during the startup, preventing you from doing the repairs necessary to fix X). Depending on your network setup, runlevels 1, 2 or 3 should be sufficient for installing the Driver. Level 3 typically includes networking services, so if utilities used by the system during installation depend on a remote filesystem, Levels 1 and 2 will be insufficient. If your system typically boots to a console with a command prompt, you should not need to change anything. If your system typically boots to the X window system with a graphical login and desktop, you must both exit X and change your default runlevel.

Читайте также:  Linux install application command

On most distributions, the default runlevel is stored in the file /etc/inittab, although you may have to consult the guide for your own distribution. The line that indicates the default runlevel appears as

or similar, where n indicates the number of the runlevel. /etc/inittab must be edited as root. Please read the sections on editing files and root user if you are unfamiliar with this concept. Also, it is recommended that you create a copy of the file prior to editing it, particularly if you are new to Linux text editors, in case you accidentally corrupt the file:

# cp /etc/inittab /etc/inittab.original 

The line should be edited such that an appropriate runlevel is the default (1, 2, or 3 on most systems):

After saving the changes, exit X. After the Driver installation is complete, you may revert the default runlevel to its original state, either by editing the /etc/inittab again or by moving your backup copy back to its original name.

Different distributions provide different ways to exit X. On many systems, the init utility will change the current runlevel. This can be used to change to a runlevel in which X is not running.

There are other methods by which to exit X. Please consult your distribution.

NVIDIA Accelerated Linux Graphics Driver README and Installation Guide

List all yours processes with:

List all your runing services with:

Источник

Проблема с установкой драйвера nvidea

Стоит дебиан 8, kde 4.14.2 Скачал драва с сайта nvidea .deb и .run Запускал из рута пишет:

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 http://www.nvidia.com.

Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at http://www.nvidia.com.

nvidia-installer log file ‘/var/log/nvidia-installer.log’

creation time: Sat Jun 13 14:10:38 2015 installer version: 346.72

Читайте также:  Linux failed to create directory

nvidia-installer command line: ./nvidia-installer

Using: nvidia-installer ncurses user interface -> Detected 4 CPUs online; setting concurrency level to 4. -> The file ‘/tmp/.X0-lock’ exists and appears to contain the process ID ‘980’ of a runnning X server. 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 http://www.nvidia.com

Пробывал останавливать иксы, переходил Ctrl+Akt+F1 etc/init.d/kdm stop, и после этого запускать, выдает тоже самое.

Ставь из репозитория. Не надо себе мозги так выкручивать. У тебя debian, не слака.

Да научись уже читать

Читай внимательно, чтобы писать правильно и не задавать глупых вопросов.

sudo systemctl disable kdm sudo systemctl stop kdm sudo killall Xorg chmod +x *.run

Далее, ставишь свой *.run Но лучше конечно же, ставить драйвер из репы, как выше уже сказали.

Проблема новая Делал все по второму пункту Добавил репозитарии в sources.list Вот что там:

# # deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official amd64 DVD Binary-1 20150606-14:19]/ jessie contrib main #deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official amd64 DVD Binary-1 20150606-14:19]/ jessie contrib main deb http://ftp.ru.debian.org/debian/ testing main contrib non-free deb-src http://ftp.ru.debian.org/debian/ unstable main contrib non-free deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free deb http://ftp.ru.debian.org/debian/ jessie main deb-src http://ftp.ru.debian.org/debian/ jessie main deb http://security.debian.org/ jessie/updates main contrib deb-src http://security.debian.org/ jessie/updates main contrib # jessie-updates, previously known as 'volatile' deb http://ftp.ru.debian.org/debian/ jessie-updates main contrib deb-src http://ftp.ru.debian.org/debian/ jessie-updates main contrib 

Создал в каталоге /etc/apt/apt.conf.d/ 00release

APT::Default-Release "testing";

apt-get install module-assistant проходит

apt-get install -t sid nvidia-kernel-source выдает: >> тение списков пакетов… Готово E: Значение «sid» недопустимо для APT::Default-Release, так как выпуск недоступен в источниках

Читайте также:  Установить ftp сервер linux

Пробывал testing менять на Jessi, тоже самое

Источник

Thread: nVidia drivers — «You appear to be running an X server»

tommyk1995 is offlineFirst Cup of Ubuntu

nVidia drivers — «You appear to be running an X server»

So I’m new to Ubuntu/Linux in general, and I’m trying to install my graphics drivers so I don’t have to open grub and boot in nomodeset every time. I’ve gotten a .run file from nvidia.com for the latest x86 linux drivers for my 550 ti. After logging in as root (sudo -i, enter password), changing to the directory of the .run file, and doing «sh NVIDIA.run» (I renamed the file to NVIDIA.run so it’s shorter to type), it starts to install the drivers but throws an error saying «You appear to be running an X server». How do I fix this?

E: Heres the installer log

nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sun Jan 29 00:28:10 2012 installer version: 290.10 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games nvidia-installer command line: ./nvidia-installer Using: nvidia-installer ncurses user interface -> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1195' of a runnning X server. 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.

made me exit to the log in screen and i had to log back in.

edit 3:
Ok wow solved this my self. Here’s how I did it:

1. open gnome (CTRL + ALT + F3)
2. log in as your user
3. run «sudo init 3»
4. switch to root («sudo -i» or «sudo su root»)
5. cd to the directory containing the .run file
6. sh NVIDIA.run (where NVIDIA.run is the name of the .run file)
7. after completing the prompts, enter «reboot»

Источник

Оцените статью
Adblock
detector