Results 1 to 10 of 10

Thread: How to restart X and kde properly?

  1. #1

    Default How to restart X and kde properly?

    Hello folks!

    I have a simple question: how can i restart properly X and kde?

    Use case: I've update my system, with some X and kde. I don't want to restart, so i go to vt1, login as root, and type "init 3". X and kde shutted down. After i type "init 5" to get back everything.

    But if i logout vt1, X and kde are also gone. I know that's normal, but i want to start X and kde as they start on boot. It's the same with a normal account and "startx" or "startkde"

    Any help appreciated

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,617
    Blog Entries
    3

    Default Re: How to restart X and kde properly?

    A logout from your kde session, followed by a login, should be sufficient. However, you could try also doing CTRL-ALT-Backspace (I think that still works to kill the X-server). I would do that after logout and before login.

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,824
    Blog Entries
    15

    Default Re: How to restart X and kde properly?

    Hi
    It's ctrl+alt+<press backspace twice> these days or if you press ctrl+alt+F1 and login as root user;
    Code:
    init 3
    init 5 && exit
    Or if you just do the init 5, you need to press ctrl+alt+F7 to get back to the GUI (sometimes F8), but you still have a root login active, so you do need to ensure you exit.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,824
    Blog Entries
    15

    Default Re: How to restart X and kde properly?

    Also depending on your /etc/inittab config there are additional VT's running(F1 through F6), F10 shows kernel messages, again press ctrl+alt+F7 to get back to your GUI.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How to restart X and kde properly?

    On 2011-02-10 22:36, pasja wrote:
    >
    > Hello folks!
    >
    > I have a simple question: how can i restart properly X and kde?
    >
    > Use case: I've update my system, with some X and kde. I don't want to
    > restart, so i go to vt1, login as root, and type "init 3". X and kde
    > shutted down. After i type "init 5" to get back everything.


    Correct.

    > But if i logout vt1, X and kde are also gone.


    Are you sure? Did you type ctrl-altF7 or F8? What do you see there?

    > It's the same with a
    > normal account and "startx" or "startkde"


    No.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How to restart X and kde properly?

    On 02/10/2011 10:36 PM, pasja wrote:
    >
    > i want to start X and kde as they start on boot.


    i see the other answers but: if you don't wanna use the CLI, just
    right click the desktop, pick "Leave", then pick "Logout", soon X and
    KDE will shutdown and you will be given a log in screen....log in as
    yourself and you have what you want..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD
    [NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
    173.14.28 3D, Athlon 64 3000+]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

  7. #7

    Default Re: How to restart X and kde properly?

    @malcolmlewis: Thanks for your quick and accurate reply! Now I understand the difference between exit and logout.

  8. #8

    Thumbs up Re: How to restart X and kde properly?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It's ctrl+alt+<press backspace twice> these days or if you press ctrl+alt+F1 and login as root user;
    Code:
    init 3
    init 5 && exit
    Or if you just do the init 5, you need to press ctrl+alt+F7 to get back to the GUI (sometimes F8), but you still have a root login active, so you do need to ensure you exit.
    Great also works for latest OpenSUSE Tumbleweed... has trouble connecting to X server ...

  9. #9
    Join Date
    Jun 2008
    Location
    Stoney Stanton - England
    Posts
    1,102

    Default Re: How to restart X and kde properly?

    Thanks I didn't know that.

    Code:
    It's ctrl+alt+<press backspace twice> these days or if you press ctrl+alt+F1 and login as root user;

  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: How to restart X and kde properly?

    Quote Originally Posted by verwijs View Post
    Great also works for latest OpenSUSE Tumbleweed... has trouble connecting to X server ...
    There have been issues with sddm starting too soon, but this should have been fixed a while ago. Is you TW up to date?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Tags for this Thread

Posting Permissions

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