Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: how do I shutdown X Server?

  1. #1

    Default how do I shutdown X Server?

    I am trying to install NVIDIA proprietary drivers in the hope that WoW will play versus installing flawlessly, launching the cinematic and then crashing!

    Haha!

    Uh, I need to shutdown the X server in order to do this and I searched via the internet and came up with:

    killall -# X
    ctrl+alt+backspace

    Niether of these killed X. Instead for the first I got a message saying there are no processes called X and the second I got a system beep while in tty7 but I also tried it as root in tty2.

    My next attempt was to killall -l in order to find the name of the X process, but I didn't see a recognizable name as X Server or X11 or even Xorg there was xcpu and xfsz but as I'm unsure if these are the appropriate processes I didn't mess with them.

    I also tried logging out of my user environment and switching to tty2 to do these things, but apparently the logon window still requires X.

    I also tried killall -#### where # is the PID of KDE4, but it didn't offer anything except a NOPE! YOU'RE WRONG!

    So.... can someone perhaps provide me with the steps to shutting down the X server, or even better booting to the command line which I tried to edit /etc/inittab to do but despite using (esc):w! /etc/inittab it didn't save my changes and continued to boot to level 5. I might even ask if I move the boot process to level 3 will I be able to start X with startx or will it require some more knowledge than your typical welcome to Linux we are easy to use too tactics? OpenSUSE has been anything but what I learned in Linux OS thus far with the issues which have arisen, but this is besides the point.

    Okay, thanks!

    P.S. I also sifted through the FAQ and old posts on this forum, techguy (which is where I got some options), and Linux Questions but was unable to find an exact matching issue which had a resolution therein. Thanks again!

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: how do I shutdown X Server?

    You need to hit C-A-B twice in quick succession. You shouldn't do this except in an emergency because you lose app state. If you can shutdown normally, temporarily boot to level 3 next time by adding 3 to the boot options on the splash screen.

  3. #3

    Default Re: how do I shutdown X Server?

    ok tyvm. i'm going to give this a shot right now and get back to you as soon as i can see the results, I'll try both methods.

  4. #4

    Default Re: how do I shutdown X Server?

    CAB in twice rapid succession just logged me out of my present login.

    and as for passing boot arguments for run level 3, I know how to do it with vi (like I said I just can't get it to save for some wierd reason), but I don't know the syntax for a boot argument. I was thinking it would be something like xorg=off or no; but I haven't been able to find a boot argument article that was written for this OpenSUSE distribution (only 8.x or RH6; etc.).

    Think you could pass a wink?

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,201
    Blog Entries
    15

    Default Re: how do I shutdown X Server?

    Quote Originally Posted by ftdstrange
    CAB in twice rapid succession just logged me out of my present login.

    and as for passing boot arguments for run level 3, I know how to do it
    with vi (like I said I just can't get it to save for some wierd reason),
    but I don't know the syntax for a boot argument. I was thinking it would
    be something like xorg=off or no; but I haven't been able to find a boot
    argument article that was written for this OpenSUSE distribution (only
    8.x or RH6; etc.).

    Think you could pass a wink?
    Hi
    Passing a

    Press ctrl+alt+F1 and login as root user and run;
    Code:
    init 3
    You can edit the /etc/inittab and change the default runlevel from 5 to
    3 in the following line;
    Code:
    # The default runlevel is defined here
    id:5:initdefault:
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
    up 21 days 15:12, 4 users, load average: 0.64, 0.31, 0.34
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15


  6. #6

    Default Re: how do I shutdown X Server?

    you sir or miss, are a saint! it worked like a charm! tyvm!!
    I just want to know what lizards have to do with puzzled penguins is all?

  7. #7

    Default Re: how do I shutdown X Server?

    as a matter of fact I noticed you are using a GEForce card! This is precisely why I needed to shutdown X, in order to install the NVIDIA driver.

    Might I ask?

    I got the driver to begin installation but then it stops saying I have no precompiled kernel interface, asks if it should build a module, and then fails at building the module. It said I needed --source, --devel, and --source packages for the kernel installed and so I did that and got the same outcome.

    Do you think you can help me out with that? I can move the post over to hardware if necessary, insofar as beginning a new post! I don't want to tick off the administrators of the website.
    I just want to know what lizards have to do with puzzled penguins is all?

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

    Default Re: how do I shutdown X Server?

    ftdstrange wrote:
    > CAB in twice rapid succession just logged me out of my present login.


    when IN Xwindows and you do a Ctrl+Alt+Backspace twice in rapid
    succession it kills X (i did not say it shutsdown X, it MURDERS it
    brutally).....i never knew before now what happens if you are in X,
    and Ctrl+Alt+F1 to a terminal, sign in and THEN Ctrl+Alt+Backspace
    (while NOT in X)....but, now i do it: logs you out (i guess, i've not
    tried it)..

    HOWEVER: (as mentioned) Ctrl+Alt+Backspace is not the best way to
    shutdown Xwindows...in fact is one of the worst ways--but it works and
    imo should only be used if all kinder and more controlled shutdowns
    are not available (the easiest, imo, if in KDE/Gnome/etc DE, right
    click desktop, choose "Log Out [ID]" > "End Current Session" which
    will shutdown X and present a log in screen where you can log back in
    OR log in as a different user OR in the "Sessions" menu (lower left)
    find other desktop environments you *may* want to try, as well as (as
    i recall--i can't look and TYPE) you can choose a terminal session or
    something like that...which, when you get there you can log into the
    command line session and there will be no X running, it having be
    kindly shutdown in a controlled and normal manner)

    but back to your original question: you need to shut down X to install
    nVidia driver? i don't think so...at least i didn't easily find the
    step in http://en.opensuse.org/NVIDIA_drivers saying "Shutdown X"

    big hint: linux has been around for a long time and the internet is
    FULL of how-tos, tips, hints, and step-by-steps that _were_ wonderful
    for another distro, a long time ago....but, if followed by you today
    it may or may not *either* work okay or destroy your system..

    if at all possible always try to find answers that apply to openSUSE
    at least, and if at all possible to _the_ version you are using
    (things move VERY fast around here...)

    one way to find openSUSE answers is to search openSUSE.org _only_ by
    using google's site specifier, like this string will:

    sitepensuse.org install nvidia drivers

    that search finds all in the wiki AND the forum...this just in the forum:

    site:forums.opensuse.org install nvidia drivers

    another site worth searching is opensuse-community.org which you might
    find populated with stuff that usually requires more advanced
    knowledge to follow (assumes you are a programmer, like most (all?)
    the folks posting there)

    as a rule, i'd suggest to always search for openSUSE specific answers
    first....actually, may first suggestion is to find the answer in
    provided documentation and if unsuccessful then search site
    specific...and, only then search wider..

    can find the documentation? review a previous message of mine at
    http://tinyurl.com/ybklh48

    -=welcome=- lots to learn here, take your time..

    --
    DenverD (Linux Counter 282315)
    CAVEAT: http://is.gd/bpoMD
    posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
    2.6.22.19-0.4-default SMP i686
    AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
    CMedia 9761 AC'97 Audio

  9. #9
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: how do I shutdown X Server?

    Quote Originally Posted by ftdstrange View Post
    a It said I needed --source, --devel, and --source packages for the kernel installed and so I did that and got the same outcome.
    Can you provide the output of:
    Code:
    rpm -qa '*kernel*'

  10. #10

    Default Re: how do I shutdown X Server?

    alright, I read your caveat so I see the personality in the capslock button but as someone whose eyesight is depleting yet his stupidity won't permit him to quit using this ********** lcd screen that's as bright as a star (gaseous fiery some ***** that's bound to implode one day), for the love of god use the Bold format Thanks again, I actually posted in the Nvidia forums on this as the information to quit x server was specified by Nvidia that created the driver. MMM...if you like you can check it out at the Nvidia website; however I might have downloaded the wrong driver on a second look to get the web address for you, fate has it good!

    anyhow, thanks again I wrote down the information you provided and will hopefully retain it.
    I just want to know what lizards have to do with puzzled penguins is all?

Page 1 of 3 123 LastLast

Posting Permissions

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