PDA

View Full Version : [lubuntu] Stopping xserver in Lubuntu 10.10



whatthefunk
December 12th, 2010, 12:24 AM
sudo /etc/init.d/gdm stop

This code isnt working. I get "command not found." Does anybody know the correct code?

hecnabae
December 13th, 2010, 11:49 AM
sudo /etc/init.d/gdm stopThis code isnt working. I get "command not found." Does anybody know the correct code?
Try:
sudo /etc/init.d/lxdm stop

cavalier911
December 13th, 2010, 02:45 PM
Lubuntu 10.04 LTS default install has lxdm and upstart.

lxdm starts X server, if you stop lxdm it stops X server,this will drop you to console single user mode logon prompt,after logon run the start lxdm command to start X server
if you restart lxdm it will stop X server drop to console then start X server without any additional commands.


sudo service lxdm stop


sudo service lxdm start


sudo service lxdm restart

rklapp
April 27th, 2011, 03:14 AM
Lxdm tells me that it doesn't recognize stop. Gdm gives me a blank cursor screen and the keyboard locks up.

cavalier911
April 27th, 2011, 05:15 PM
I don't run Lubuntu 10.10 but these are alternate commands that work on my 10.04 and may work on 10.10


sudo initctl status lxdm

sudo initctl stop lxdm

sudo initctl start lxdm

sudo initctl restart lxdm

Who knows maybe they work on 11.04 that is released tomorrow?

Yellow Pasque
April 28th, 2011, 04:01 AM
Lxdm tells me that it doesn't recognize stop. Gdm gives me a blank cursor screen and the keyboard locks up.

If you're using gdm, then cavalier911's service commands should work with gdm in place of lxdm.
EDIT: Oh,you just need to press Ctrl+Alt+F1 or F2 to get to another virtual terminal.