WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Opposite command to startx?  (Read 8685 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Opposite command to startx?
« on: June 18, 2010, 01:46:29 AM »
Is there a command to stop X? Such as exittc seems to be doing when selecting exit to prompt?

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Opposite command to startx?
« Reply #1 on: June 18, 2010, 01:50:06 AM »
How about the rather "brutal" killall Xvesa (or killall Xorg)? It works for me , but you are also running the risk of loosing other processes (e.g. xterms etc.).

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Opposite command to startx?
« Reply #2 on: June 18, 2010, 02:24:22 AM »
Thanks, I'll try that.

Online curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Opposite command to startx?
« Reply #3 on: June 18, 2010, 06:33:19 AM »
IIRC X shuts down "gracefully" when nothing runs on it, ie the wm is killed. I almost never bother though, I just use ctrl-alt-backspace ;)
The only barriers that can stop you are the ones you create yourself.