I am trying to stop X Server so I can install some new NVidia drivers. However, the moment I type "sudo service lightdm stop", the computer goes into a blank screen, and nothing happens.
Any ideas?
Thanks.
MacBook Pro Retina (10,1), Xubuntu 13.04
I am trying to stop X Server so I can install some new NVidia drivers. However, the moment I type "sudo service lightdm stop", the computer goes into a blank screen, and nothing happens.
Any ideas?
Thanks.
MacBook Pro Retina (10,1), Xubuntu 13.04
Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
If you are using GNOME:
sudo /etc/init.d/lightdm stop
to start again:
sudo /etc/init.d/lightdm start
If you are using GNOME:
sudo /etc/init.d/gdm stop
to start again:
sudo /etc/init.d/gdm start
If you are using kde:
sudo /etc/init.d/kdm stop
to start again:
sudo /etc/init.d/kdm start
Once you stop X, you need to get to virtual terminal. In Ubuntu its Ctrl+Alt+F1 - F7, to login, and gain access to the system.
Here is another not so elegant solution that worked for me, I had same problem (still don't know why..): Just start up an ssh server before you kill the X server and do the driver install remotely from another machine.
Try pushing Ctrl+Alt+F1 (or whatever the Mac has) and login to install your drivers
What others already said
Get into tty 1 - 6 first and then sudo service lightdm stop
.
My workaround:
Boot into console mode from the beginning. To do that, edit /etc/default/grub
file. Make sure you connnect automatically to your home network, you are on wired network, or at least you know how to use nmcli
to connect to a network.
Change line 12 from ""
to "text"
as shown bellow. Save, sudo update-grub
, reboot. Once you are presented with console login screen, go ahead and log in, do the installation, edit /etc/default/grub
file back the way it was, sudo update-grub
and reboot.
BONUS : Get yourself elinks
console browser before you edit the grub file, so that in case you funk something up, you can google stuff from the command line.
Other things you could: sudo pkill X
I had the same issue and got it to work with a different workaround.
I had to first reduce the resolution inside X to something low (800x600). Then when I went to tty and stopped lightdm, I didn't get a blank screen.
You could install the driver from "Software Sources" in the last tab, if you want a beta driver add the xorg edgers ppa
If you have any hardware that need a nvidia/amd/ati/wifi driver is will show you a option there.
You could boot recovery mode and drop to a root console and install the driver that way, but you will have to reinstall it after every kernel upgrade.
sudo apt-add-repository ppa:xorg-edgers/ppa;sudo apt-get update;sudo apt-get dist-upgrade
you may need to go into software sources to get the 319 driver
May 15, 2013 at 22:56