Find the answer to your Linux question:
Results 1 to 6 of 6
I use startx to get into my front desktop. What command should I use to restart my desktop?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    29

    Startx Question


    I use startx to get into my front desktop.

    What command should I use to restart my desktop?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    I usually use the following command to restart:

    Code:
    shutdown -r now
    ...or the following to totally shutdown:

    Code:
    shutdown -h now
    oz

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    29
    Lets put it this way.

    What command should I use to get TO the command prompt FROM the desktop (GUI).
    startx does the opposite.

  4. #4
    Just Joined!
    Join Date
    Jul 2010
    Location
    Zagreb, Croatia
    Posts
    9
    Hello,

    if you want to do that from command line or script, you can use killall command which stops process depending on it's name:
    Code:
    killall gnome-session
    or if your window manager support this:
    Code:
    openbox --exit

  5. #5
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    If I am not mistaken, I think Alt Ctl and a function key,
    F1 through F6 will give you a full screen terminal
    with the GUI still running, and Alt Ctl Backspace will
    kill the GUI, but some systems will just return you to a graphical
    login screen instead of a text login.

  6. #6
    Just Joined!
    Join Date
    Nov 2009
    Posts
    9
    Quote Originally Posted by hitmen View Post
    I use startx to get into my front desktop.

    What command should I use to restart my desktop?
    If it's KDE just right click and log out.

    But if you dunno, just ctrl+alt+f1 and then hit ctrl+c.

    Then startx again.

Posting Permissions

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