stop/restart X server

101,557

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
Share:
101,557

Related videos on Youtube

ventsyv
Author by

ventsyv

Updated on September 18, 2022

Comments

  • ventsyv
    ventsyv over 1 year

    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.

    • Admin
      Admin over 9 years
      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.
    • Admin
      Admin over 7 years
      @drs X: no process found is what I got. I made minimal ubuntu installation. I've installed X11 and then openbox and fbpanel.
  • smw
    smw over 9 years
    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