Results 1 to 6 of 6

Thread: sudo service lightdm stop

  1. #1
    Join Date
    Apr 2013
    Beans
    17

    sudo service lightdm stop

    I'm trying to exit x windows using the command sudo service lightdm stop. But after I push enter all I get is a blinking cursor? I tried running command's but the cursor just goes one line down and blinks that's it. I can type commands but nothing happens. If anyone can help I would really appreciate it.
    Last edited by lisati; May 19th, 2013 at 12:03 AM. Reason: Please use the default font

  2. #2
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: sudo service lightdm stop

    Please use the default font size for your posts. If you need to adjust it to make it easier to read, you can easily adjust your browser settings, using the Ctrl and + keys.
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.
    Please use CODE tags.
    A low-volume blog

  3. #3
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,724
    Distro
    Ubuntu

    Re: sudo service lightdm stop

    Are you sure you're using lightdm?

    You might be running gdm, or maybe kdm if using kubuntu.

    I know there are others, but these are the ones I'm most familiar with.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #4
    Join Date
    Apr 2012
    Beans
    6,809

    Re: sudo service lightdm stop

    I think what you're seeing is normal - 'sudo service lightdm stop' kills the GUI, but it doesn't replace it by a tty on virtual terminal #7

    If you want a text console, you need to switch to one of the other virtual terminals - Ctrl-Alt-F1, Ctrl-Alt-F2, ... Ctrl-Alt-F6

    If you really need a console on VT7 for some reason, you can start one manually after you log in at one of the *other* VTs, e.g. log in on VT1 (Ctrl-Alt-F1) and then execute

    Code:
    sudo /sbin/getty -8 38400 tty7 &
    and then switch back to VT7 with Ctrl-Alt-F7

  5. #5
    Join Date
    Apr 2013
    Beans
    17

    Re: sudo service lightdm stop

    So there's different VT's I didn't know that. I was in one where you couldn't run commands. Okay I'll try booting into the one you suggested.

  6. #6
    Join Date
    Apr 2013
    Beans
    17

    Re: sudo service lightdm stop

    I hit the alt-ctrl-f2 I think it said tty then stopped the x windows somehow and ran the nvidia driver. Now it works.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •