Announcement

Collapse
No announcement yet.

Stopping X Server

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Stopping X Server

    I've just built a new machine around Kubuntu 14.04, and I have a GeForce GTX 750Ti card in it. I've downloaded the driver for it, but I cannot install it. I know I haver to stop Xserver to install the driver, but apparently the command line syntax has changed from Kubuntu 12.04. It used to be that "sudo service kdm stop" would work, but it no longer does. Can someone tell me off the top of the head what command I should be using? Many thanks.

    #2
    lightdm: sudo service lightdm stop

    Usually sudo killall X works too.

    Please Read Me

    Comment


      #3
      BTW, why not use the driver in the repos? It's only a view minor-minor version numbers behind and much easier to upgrade down the road. Just curious...

      Please Read Me

      Comment


        #4
        Originally posted by oshunluvr View Post
        BTW, why not use the driver in the repos? It's only a view minor-minor version numbers behind and much easier to upgrade down the road. Just curious...
        Hi, Oshunluvr,
        Going to bail me out again, I see. I thank you profusely. I tried "killall X," but nothing happened. I tried "sudo service lightdm stop" and X server turned off all right, but no command prompt came up at all; I just got a blank black screen. As to your question above, the only possible answer is that I'm not smart enough. (I looked around for someone else on whom to blame this, but I failed.) I'm happy to use the driver in the repos. Pardon my ignorance, but how do I get it?
        I'm very grateful for the help.

        Comment


          #5
          Did you do the "sudo service lightdm stop" from a Konsole window or in Krunner? You would have to go to a TTY terminal via CRTL-ALT-F1 first and log in there. I prefer to log out of the GUI first, thus avoiding any unplanned killing of a running process.

          Re. nVidia driver: you should have nvidia-current (I believe 331-something, but I'm not at my Kubuntu box at the moment) available to install along with the kernel-headers and dkms should be all that's needed.

          Try this: Reboot, don't log in, type CRTL-ALT-F1 and log in to the text console, type:

          sudo service lightdm stop
          sudo apt update && sudo apt install linux-headers-`uname -r` dkms nvidia-current

          This should install the stuff. Then doing:

          dkms status

          should report driver is installed to your kernel. Then reboot.

          BTW, I'm usually right here over your shoulder - feel free to blame me!

          Please Read Me

          Comment


            #6
            Oshunluvr,
            I am in the (virtual) presence of genius, and I appreciate your help more than I can say. The system is now working perfectly. I have learned some things. Thank you.
            Don

            Comment


              #7
              Uh, wow. that was easy. No genius here, just lot's of sweat and swear words when I trashed my PC. In the olden days (4-5 years ago) you often had to do the manual install of the drivers from nvidia. You always got the latest and greatest, but every time you got a new kernel, you had to redo the video driver - a major PITA plus it sometimes failed leaving you with no graphics or stuck with the older kernel.

              Thank goodness for dkms. Now your nvidia driver will be installed along with the new kernel. Just be sure you also get the headers for each new kernel. his should happen automagically, but every now and then it get left out.

              Please Read Me

              Comment

              Working...
              X