8

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.

drs
  • 5,363
  • 9
  • 40
  • 69
ventsyv
  • 989
  • 3
  • 13
  • 21
  • 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 01:42
  • 2
    @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

2 Answers2

11

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
ventsyv
  • 989
  • 3
  • 13
  • 21
0

Have you tried,

sudo /etc/init.d/lxdm stop

lxdm starts/stops the X server.

drs
  • 5,363
  • 9
  • 40
  • 69
unixmiah
  • 348
  • 1
  • 12
  • 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` – steeldriver Sep 13 '14 at 01:52