bubu1uk posted to #ubuntu:

bubu1uk

how do i stop x-org server?

1 year, 6 months ago.

17 comments so far

  • MattJ

    sudo /etc/init.d/gdm stop

    1 year, 6 months ago by MattJ

  • niekie

    "sudo /etc/init.d/gdm stop" should work, if you run GDM.

    1 year, 6 months ago by niekie

  • bubu1uk

    hmm, is not working. for some reason. i would thought so. but then, why do i stay logged in?

    1 year, 6 months ago by bubu1uk

  • bubu1uk

    do i have to be logged out?

    1 year, 6 months ago by bubu1uk

  • niekie

    No, stopping GDM should stop X automatically.. You could try forcing X to die by using "sudo killall -9 X", but this isn't the most safe way to do it.

    1 year, 6 months ago by niekie

  • niekie

    You do not have to be logged out to stop X.

    1 year, 6 months ago by niekie

  • bubu1uk

    hmm, funny, sudo /etc/init.d/gdm stop gives me [ok].. but it's still running. :)

    1 year, 6 months ago by bubu1uk

  • niekie

    Maybe you aren't using GDM? I doubt it though, as it's default.

    1 year, 6 months ago by niekie

  • bubu1uk

    i'm pretty sure i am. it's fresh install of hardy. no changes at all. just wanted to install nvidia drivers from nvidia.com cuz ubuntu ones don't work well.

    1 year, 6 months ago by bubu1uk

  • bubu1uk

    @BigEclipse: that will only restart it, won't it?

    1 year, 6 months ago by bubu1uk

  • MattJ

    Oops, it will :)

    1 year, 6 months ago by MattJ

  • MattJ

    Restarting implies both stopping and starting again :)

    1 year, 6 months ago by MattJ

  • bubu1uk

    i get that. :) i just need it to stop. not to start again. :(

    1 year, 6 months ago by bubu1uk

  • bubu1uk

    ok, managed to restart it. but still can't just stop it. :(

    1 year, 6 months ago by bubu1uk

  • Plasticman

    have you tried to drop into tty1 ctrl+shift+f1 and then sudo /etc/init.d/gdm stop and then install the driver?

    1 year, 6 months ago by Plasticman

  • bubu1uk

    yes i did. and didn't work. that was first thing i tried. anyway, solved it other way. rc.update -f gdm remove and then put it back. but thanx guys. :)

    1 year, 6 months ago by bubu1uk

  • bubu1uk

    @BigEclipse: so yes, i managed to make it work. :) installed nvidia driver from nvidia.com, then when had problems to setup xorg.conf and make it all work back. lol. so reinstalled system again. and found stupid and easy solution to get rid of wierd pink shadows on compiz that i've been getting since i upgraded to hardy. :) Anyway, here's how i did it. :) http://bubu.org.uk/post/33269369

    1 year, 6 months ago by bubu1uk

Sign in to add a comment