Вы находитесь на странице: 1из 6

Questions Tags Users Badges Unanswered Ask Question

How do I kill the x-server?

Every time I try to kill the x-server, asked 4 years, 10 months ago

viewed 224,415 times


22 sudo service lightdm stop
active 11 months ago
so that I can install the latest Nvidia drivers, I get an error message.

stop: Unknown instance: Linked


10
What am I doing wrong? 3 How can I Install Nvidia Driver GT 520 and
Cuda 5.0 in Ubuntu13.04?
lightdm gdm xserver 13 Suspend fails, GPU has fallen off the bus
(Nvidia
share improve this question edited Apr 18 '14 at 2:18 asked Jul 16 '13 at 13:43
2 Ubuntu 16.04LTS extended display not
Braiam Mysteriousness
working - 2 cards
48.8k 18 127 205 330 1 5 13
1 fatal error when launching startx: server is
already active
1 that depends on which DM you are using: sudo service lightdm stop --> Ubuntu with Unity; sudo service
kdm stop --> Kubuntu; sudo service gdm stop ..; – Rodislav Moldovan Jul 18 '13 at 13:02
Related
add a comment 3 How to stop the login server?

6 Answers active oldest votes


1 Can't get NVIDIA drivers to work on Dell
Latitude E6520, Unity on Oneiric

2 why can't I get gdm to stop?

1. Use ctrl + alt + F1 to switch to terminal, 1 Close Lightdm in Ubuntu 12.04


2. login
40 0 X Server config used by lightdm
3. run sudo service lightdm stop , lightdm and xserver should be stopped now (check with
0 Trouble Installing Nvidia Driver
ctrl + alt + F7 , which is your current xorg session, it should not show any desktop now)

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
4. do your things 2 Problem to stop lightdm

5. run sudo service lightdm start to start lightdm and xorg again. 2 How can I start lightdm / server X?

Good Luck! 0 Stopping lightdm service is giving black


screen, can't install nVidia GeForce GTX 960
share improve this answer drivers
edited May 2 '14 at 13:39 answered Jul 16 '13 at 13:57
Dan mondjunge 0 unable to get out of /dev/sdb3:clean,
6,489 2 40 72 2,386 14 19 227278/41880896 files, 3943306/166707056
blocks

4 That's exactly what I did except halfway through #3 I was stopped with an error message. – Hot Network Questions
  Mysteriousness Jul 16 '13 at 13:59
What's the meaning of "You get that much
2 That sounds mysterious ;) my best guess is that lightdm is not runnig at all and you are using some other because that’s how much you get"?
Display manger... With cat /etc/X11/default-display-manager, you can find out which Display Manager you
are currently using, with sudo service --status-all you can find out which services are currently running. How to stop classmate from bullying me
Maybe that helps to find out why there is no lightdm instance and what Diplay manager runs instead.. –
What are holonomic and non-holonomic
 mondjunge Jul 16 '13 at 14:16
constraints?

add a comment Formula for the floor function

Screen, or similar, for automatically resuming a


flaky ssh connection

I did a little more digging around and found that I could just use pgrep to find its PID and then kill Why don't websites and devices offer fake logins
it. for hackers?
7 Upright pi within Theorem environment

pgrep dm -l Why was Apollo mission launched on one big


rocket? Wouldn't rendezvous in earth orbit using
sudo kill (insert PID here) a smaller rocket have been an easier challenge?

How to stop an employee from holding the


share improve this answer answered Jul 16 '13 at 14:24 company hostage?
Mysteriousness How long was "Newt" living alone on LV-426?
330 1 5 13
How to treat NULL as a normal string with
pandas?
2 I think this is a bit dangerous. You could kill the RAID software manager (mdadm). – Spiros Mar 17 '17 at
Finite state automata: final states
15:42
Evaluate polynomial expression string
add a comment

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
How do people know if there are sufficient funds
You will need the help of htop or top . Write down the PID number of the process you want to available when accepting payment by check?
kill (in this case, Xorg ). Once you have the PID, run the below command in a root shell ( sudo -s ): Why don't children know why they do things?
7
kill -9 <PID> Touch ID when "wants to make changes"

Why did Commodore 64 cartridge games


For example: disappear?

What happened to n >35 here?


kill -9 1234
How to kill wood
You should then be able to install the NVidia drivers.
How many pirates were there, and how much was
the booty?
share improve this answer edited Oct 18 '14 at 5:20 answered Jul 16 '13 at 14:21
How to draw boxes and tables in plain texts
Kaz Wolfe dschinn1001
25k 13 68 126 1,933 3 15 34 How can I maximize the probability that my ETH
nodes stay synchronized with mainnet for as long
as possible?
Thanks! actually realized this and started typing while you answered. –  Mysteriousness Jul 16 '13 at
14:25 WmK: Oh, Life Relax Please!

Do you have nvidia-card with CUDA ? - for this case there is special driver - you can read all this at my post Should I explain the type of a graph in my Masters
here : askubuntu.com/questions/311151/… – dschinn1001 Jul 16 '13 at 14:29 thesis?

add a comment question feed

/etc/init.d/lightdm stop maybe? And why you can't install nvidia drivers from software center?

3 share improve this answer answered Jul 16 '13 at 13:50


pondohva
371 2 4

They're outdated, the NVIDIA website always has the most recent drivers. –  Mysteriousness Jul 16 '13
at 14:00

add a comment

Try running sudo service gdm stop .

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
2 The reason your command may be resulting in that output is because lightdm isn't your Display
Manager.

In addition to gdm , also try xdm and kdm .

share improve this answer edited Oct 4 '14 at 8:31 answered Oct 4 '14 at 6:57
Kaz Wolfe Habib Ouadhour
25k 13 68 126 21 1

add a comment

Ok had the GTX 970 installation Problem under Ubuntu 14.04 too. Sometime i was able to start
Ubuntu with the standart drivers and sometime not.
2
However, this should hopefully fix the Problem: After switching from IGP (I7 4770 with HD4600) to
GTX970 in Biosi got an error with some Xorg Gui.

However you can not install the Nvidia-Driver while X is running: -> sudo killall Xorg solves the
problem

Then -> sudo ./NVIDIA-x68xxx.run

After the first Driver Install (orig. Nvidia 352.xx) i had a blank screen. Then i run the Nvidia Driver
Installer again -> sudo ./NVIDIA-x68xxx.run This second install told me some kind of noveu driver is
running and should be disabled. The driver asked me if it should disable noveu -> Yes disable
noveu

After restart: Et Voila lighdm is running again :)

share improve this answer answered Dec 5 '15 at 1:18


dragontas
21 1

add a comment

Your Answer

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Sign up or log in Post as a guest

Sign up using Google Name

Sign up using Facebook Email

required, but never shown

Sign up using Email and Password

Post Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie
policy, and that your continued use of the website is subject to these policies.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Not the answer you're looking for? Browse other questions tagged lightdm gdm xserver or
ask your own question.

ASK UBUNTU COMPANY STACK EXCHANGE Blog Facebook Twitter LinkedIn


NETWORK
Tour Stack Overflow
Technology
Help Stack Overflow Business
Life / Arts
Chat Developer Jobs
Culture / Recreation
Contact About
Science
Feedback Press
Other
Mobile Legal site design / logo © 2018 Stack Exchange Inc; user
contributions licensed under cc by-sa 3.0 with attribution
Privacy Policy required. rev 2018.6.4.30624

Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD

Вам также может понравиться