I want to generate xorg.conf but for that X needs to not be running. How do I stop X or start without it? I tried ctrl + alt + F2 but the X server is still running.

I'm running Lubuntu 14.10.

  • 1
    You can make changes to xorg.conf while X is running. You just need to restart X in order for the changes to take effect: killall X will restart it for you.
    – drs
    Sep 13 '14 at 1:42
  • @drs X: no process found is what I got. I made minimal ubuntu installation. I've installed X11 and then openbox and fbpanel.
    – Necktwi
    Sep 18 '16 at 17:00

I ended up doing the following:

sudo service lightdm stop

Then I had to run ctrl + alt + F2 and log in the second terminal, otherwise it would just sit there with dark screen. To start it back up:

sudo service lightdm start

Have you tried,

sudo /etc/init.d/lxdm stop

lxdm starts/stops the X server.

  • 1
    The default installation of lubuntu since 12.04 uses lightdm rather than lxdm as its display manager, I think - in which case it would more likely be sudo service lightdm stop Sep 13 '14 at 1:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.