Find the answer to your Linux question:
Results 1 to 6 of 6
Sometimes I use vnc server and start desktop. The memory use rises about 2gb during this. I need to be able to turn off the xwindows after i shutdown vnc ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    15

    how to start and stop xwindows without rebooting

    Sometimes I use vnc server and start desktop. The memory use rises about 2gb during this. I need to be able to turn off the xwindows after i shutdown vnc without rebooting. Is there a way to do this?. And I don't need to know how to disable at boot thats not what i need to do I seen that answer on the forums.

    Thanks in advance!

  2. #2
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    358
    Ctrl-Alt-Backspace.

  3. #3
    Just Joined!
    Join Date
    Nov 2010
    Posts
    61
    does not always work (ctrl-alt-backspace).

    press alt+F3 to go to the terminal and as root use the command "service gdm stop" to stop it, or "service gdm start" to start it or "service gdm restart" to restart it.

    or

    presss alt+F3 again to go to the terminal and as root type "init 3" and then once thats finished type "init 5".

  4. #4
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    If ctrl-alt-backspace is not activated, you can turn it on in Gnome by going to System -> Preferences -> Keyboard -> Layouts -> Options and setting the "Key sequence to kill the X-Server".

    However, I wouldn't worry about the memory usage as it will be freed up when it is needed.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  5. #5
    Just Joined!
    Join Date
    Feb 2011
    Posts
    18
    gdm-restart ?

  6. #6
    Just Joined!
    Join Date
    Apr 2009
    Posts
    15
    I couldn't get any of these options to work. I don't get it at all.

Posting Permissions

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