Results 1 to 6 of 6

Thread: How do I exit the X server, terminate all OpenGL applications, etc...?

  1. #1
    Join Date
    Jan 2014
    Beans
    4

    How do I exit the X server, terminate all OpenGL applications, etc...?

    I wish to install NVIDIA-Linux-x86_64-331.20.run on Ubuntu 12.04.3 LTS (x64)

    I was reading the article (URL is http://us.download.nvidia.com/XFree8...alldriver.html) and hope that someone show me how to do the following:

    1. Exit the X server
    2. Terminate all OpenGL applications
    3. Ensure that all OpenGL applications have exited
    4. Set the default run level such that it will boot to a VGA console
    5. Disable the Nouveau driver

    I am new to Linux; hence some handholding would be helpful.

  2. #2
    Join Date
    Aug 2013
    Beans
    4,941

    Re: How do I exit the X server, terminate all OpenGL applications, etc...?

    You don't need to install the .run file from Nvidia. As I answered in your other thread. Use the xswat ppa
    Open the terminal
    Code:
    sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get update
    sudo apt-get install nvida-331 ppa-purge
    Then

    Code:
    sudo nvidia-xconfig
    Then reboot.

    ppa-purge is installed just in case something goes wrong you can use it to remove the ppa and downgrade the packages, but don't worry about it atm.

    EDITED: HOLD IT!!!! I noticed that you are using 12.04.3 so you are using the raring graphic stack and there may be issues using the ppa. Better wait a bit before you do anything..

    Saw this in the xorg-edgers ppa, not sure if it applies to x-swat as well
    WARNING: Do not use this PPA with the precise X backport stacks, aka if you fresh install of 12.04.2 or newer. You can switch back to a compatible one by installing xserver-xorg-lts-precise instead if you do want to use these packages but horrible things will happen if you don't.
    Last edited by monkeybrain20122; January 6th, 2014 at 04:04 AM.

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How do I exit the X server, terminate all OpenGL applications, etc...?

    No need to do any of those things. Open Software Center, Software Sources, Additional Drivers tab.

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,596
    Distro
    Ubuntu

    Re: How do I exit the X server, terminate all OpenGL applications, etc...?

    Quote Originally Posted by oldos2er View Post
    No need to do any of those things. Open Software Center, Software Sources, Additional Drivers tab.
    Not in 12.04.
    In 12.04, just open the dash and search for additional drivers.
    It moved to the software sources after Precise.

    nvidia-319 is the latest available on Precise through the repos method.
    I have no idea what's going on with 12.04.3 and the xswat ppa.

    +1 to installing from the repos over installing the run file from nvidia, too many problems crop up when installing from the downloaded file.(Not to mention the arcane way you have to actually install it.)

    But in all fairness to the OP
    To kill X move to a console(ctrl +alt+F1)
    login, enter you password and then run
    Code:
    sudo service lightdm stop
    this will kill X and all the goodies the run on it(ie, opengl stuffs)
    Then you'd want to move into the Downloads folder and run the commands you should already have written down to install the file.
    After you install the file, either run a reboot(simply type sudo reboot), or change the stop in the above command to start.
    Last edited by deadflowr; January 6th, 2014 at 04:04 AM.
    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
    .

  5. #5
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How do I exit the X server, terminate all OpenGL applications, etc...?

    Thanks deadflowr.

  6. #6
    Join Date
    Jun 2007
    Beans
    14,782

    Re: How do I exit the X server, terminate all OpenGL applications, etc...?

    If you absolutely insist on using the .run file, make sure you have dkms installed, or the next kernel upgrade won't be pleasant..

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
  •