Stop/Kill Services on Antix 19.4 (sysvinit)

Forum Forums New users New Users and General Questions Stop/Kill Services on Antix 19.4 (sysvinit)

  • This topic has 9 replies, 6 voices, and was last updated Dec 26-9:17 pm by PenguinGuy.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #73620
    Member
    PenguinGuy

      Trying to kill Nvidia X-Server so I can install the proprietary drivers & replace the open source Nouveau drivers.

      When I kill x-server by finding the PID with pkill X then kill -9 ‘PID’ it will just log out & restart it (even if I login as root).

      Apparently you can stop/kill properly with systemtcl, but that doesn’t work on this antix.

      So I found this: https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet

      But when I try to use the service X stop in the terminal I get X: unrecognized service.

      It doesn’t seem to work for any service (not only X).

      Any ideas?

      Another option might be logging in by some kind of terminal mode & running the install script there.

      #73636
      Moderator
      christophe
        Helpful
        Up
        1
        ::

        Any instructions involving systemd are bound to fail with antiX.

        Another option might be logging in by some kind of terminal mode & running the install script there.

        Ctrl + Alt + F2 allows you to login (again) via console while X is running.

        Or to reboot & not load X at all: on the grub boot screen, press “e” (no quotes) to edit manually. Go to end of “linux” line and press (space) and “3” (again, no quotes). Ctrl-X boots. This brings you to runlevel 3, which does not load X. Only for this session (not permanent).

        • This reply was modified 1 year, 4 months ago by christophe.
        • This reply was modified 1 year, 4 months ago by christophe.
        • This reply was modified 1 year, 4 months ago by christophe. Reason: cant seem to write coherently in one session :)

        confirmed antiX frugaler, since 2019

        #73643
        Member
        Xecure
          Helpful
          Up
          2
          ::

          Stop the display manager instead.
          sudo service slim stop

          antiX Live system enthusiast.
          General Live Boot Parameters for antiX.

          #73647
          Member
          lgj100
            Helpful
            Up
            1
            ::

            Hi Penguinguy,

            You can use sysv-rc-conf – it is actually available from the Control Centre, under System.

            Sincerely,
            Lars.

            • This reply was modified 1 year, 4 months ago by lgj100.
            • This reply was modified 1 year, 4 months ago by lgj100.
            #73672
            Member
            seaken64
              Helpful
              Up
              2
              ::

              I’ve used the technique mentioned by christophe, that is using run level 3 at initial boot. Add a “3” to the end of the boot line in grub. Then, after updating the nvidia driver reboot. The 3 will not be on the boot line on reboot so it will carry on to start X.

              Seaken64

              #73674
              Moderator
              caprea
                Helpful
                Up
                1
                ::

                Anyway, I’m guessing you now that there’s a baked in method in antiX to install the nvidia driver
                menu > control-centre > drivers > nvidia-installer

                #73675
                Moderator
                christophe
                  Helpful
                  Up
                  0
                  ::

                  Anyway, I’m guessing you know that there’s a baked in method in antiX to install the nvidia driver
                  menu > control-centre > drivers > nvidia-installer

                  Try that first, if you haven’t already. 🙂

                  confirmed antiX frugaler, since 2019

                  #73706
                  Member
                  PenguinGuy
                    Helpful
                    Up
                    0
                    ::

                    I was able to run the Nvidia driver installer, but can’t install it without first uninstalling the Nouveau Drivers (which I thought I did since I ran some script to remove them from the kernel, but I guess that’s not the same thing).

                    It’s a huge pain to uninstall these Open Source drivers it seems. Nvidia recommends blacklisting them, but other sources say you can run both at the same time (outdated info?).

                    Does anyone know how to uninstall these drivers?

                    Anyway, I’m guessing you know that there’s a baked in method in antiX to install the nvidia driver
                    menu > control-centre > drivers > nvidia-installer

                    Try that first, if you haven’t already.

                    I believe I tried this 1st which is the problem — it installs the Open Source Nouveau Drivers.

                    From what I understand…

                    Open Source Nouveau Drivers = OpenGL only (no Vulkan support) & Good for basic apps (but since antiX is more lightweight maybe not as much of a benefit).

                    Proprietary Nvidia Drivers = Required for Vulkan & Lutris, Proton + some Wine apps to emulate Direct X programs. Better performance in non-Wayland/UI type apps (but also closed source).

                    It would be good if there was a way to choose which driver or to safely install both.

                    • This reply was modified 1 year, 4 months ago by PenguinGuy.
                    • This reply was modified 1 year, 4 months ago by PenguinGuy.
                    • This reply was modified 1 year, 4 months ago by PenguinGuy.
                    #73721
                    Moderator
                    caprea
                      Helpful
                      Up
                      2
                      ::

                      The nouveau driver is already installed and used per default on antiX for nvidia cards, this is normal.It will get blacklisted after installation of nvidia.

                      If the driver installer from control-centre does not work for you and you want to install the nvidia-driver manually,
                      first download your matching driver from nvidia side
                      Then you have to go out of X with Ctrl + Alt + F2from your desktop
                      or with the method typing letter e on boot screen and adding a 3 to the line beginning with “linux” before booting.

                      When out of x type
                      sudo service slim stop

                      sudo sh NVIDIA-Linux-x86_64_your matching driver.run
                      You can ignore the “pre-install script failed” warning and choose “Continue anyway”
                      Answer the questions with yes and after installation do
                      startx
                      You might have to blacklist the nouveau manally
                      echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/blacklist.conf
                      reboot and do the procedure second time.

                      Another way to install the nvidia is to use the sgfxi script, which is also installed per default on antiX,
                      heres a manual, important point begins at “Running sgfxi directly”

                      https://smxi.org/docs/sgfxi-manual.htm
                      This method also might has to be runned twice.

                      Is there a reason why you are not using the current antiX21, because there for sure the baked in nvidia installer is working fine.

                      Please let us know more about your hardware for better helping, post
                      inxi -zv6
                      or
                      inxi -Gxx

                      #73735
                      Member
                      PenguinGuy
                        Helpful
                        Up
                        0
                        ::

                        Alright this is solved — can someone change update the post title with [SOLVED] plz?

                        I think I’ll write a separate post about Nvidia/Vulkan drivers.

                        Basically whatever Debian driver I was using had bad/no Vulkan support.

                        What I was missing was purging Nvidia drivers first

                        sudo apt-get remove –purge nvidia-*

                        Then install the driver, it will hang/crash at some point in the Terminal mode with missing Blacklist warnings (manual restart with the physical button).

                        Try to install again — it will ask to Blacklist — say yes.

                        Will have to restart again from Terminal mode (without hang/crash).

                        Then it will startup with it installed & have your old settings (even though it looked like you had to install it again).

                        ==================================================================

                        Graphics:
                        Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
                        vendor: ASRock driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0412
                        Device-2: NVIDIA GM200 [GeForce GTX 980 Ti] vendor: Micro-Star MSI
                        driver: nvidia v: 460.73.01 bus-ID: 01:00.0 chip-ID: 10de:17c8
                        Device-3: Logitech type: USB
                        driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus-ID: 4-1:2
                        chip-ID: 046d:085e
                        Display: server: X.Org 1.20.4 driver: loaded: nvidia resolution:
                        1: 1920×1080~60Hz 2: 1816×1021~60Hz s-dpi: 75
                        OpenGL: renderer: GeForce GTX 980 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 460.73.01
                        direct render: Yes

                        Maybe I am using the Nvidia drivers, but for some reason Vulkan is broken or missing from them?

                        When I try to install the Nvidia Drivers manually it says to use the Debian Packages & then exits with a timer.

                        Also when I kill slim the Terminal full screen mode is partially cut off which is annoying (I have to guess what I’m typing & seeing). I though this might be my monitor, but changing the monitor setting has the same cut off text which is really annoying. The preboot looks fine though.

                        I’m still using 19.4 because it works pretty good & I was just reading how 21 has some bug that makes your CPU & ssd go crazy. So I’m just trying to stick with what works for now.

                        —————————————–

                        So it says to use Debian Packages & uninstall the current driver — select ‘continue installation’
                        Then a 10 sec timer starts to begin installation.
                        Can’t see options mashed arrow keys, enter + y/n.

                        Then the timer finishes, but the installer quits with an error message [that looks like because the beginning is cut off]:

                        received signal SIGTERM; aborting.

                        • This reply was modified 1 year, 4 months ago by PenguinGuy.
                        • This reply was modified 1 year, 4 months ago by PenguinGuy.
                        • This reply was modified 1 year, 4 months ago by PenguinGuy.
                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.