Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Need assistance with xubuntu URGENT=)

    Support
    3
    12
    3182
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      svennand Regular Member last edited by

      Hi
      I have a couple of rigs i need to set up for working 100% during my vacation.

      i now run Xubuntu on them and use CGMINER.
      Also followed this guide for setup: http://www.cryptobadger.com/2013/04/build-a-litecoin-mining-rig-linux/

      1. i do not get it to autorun the cgminer startup file when reboot, i think its because i need to input sudo password when running cgminer.
      Since i tried running the app from the application startup launcher program in desktop, still nothing happens when starting up…

      2. deactivate the need to choose startup things when something crashes…

      1 Reply Last reply Reply Quote 0
      • S
        svennand Regular Member last edited by

        Will reward according to help estimate=)

        1 Reply Last reply Reply Quote 0
        • S
          svennand Regular Member last edited by

          Figured out the boot up screen.
          Now just for the autolaunch of cgminer, fixed it so i dont need sudo any more.
          But still it will not autostart when i add the cgminer_launcher to the session/startup manager

          1 Reply Last reply Reply Quote 0
          • S
            svennand Regular Member last edited by

            FFS now im getting tired of Xubuntu, thought i had fixed things but apparantly not…
            Now the boot screen is black, and its random if im able to boot into xubuntu at all…

            black screen forever, need to ssh into the server and run cgminer manually, THEN the screen comes on…

            Will just cross my fingers and hope that all the rigs will live for an week without a hitch…
            And try an other linux version out there.

            What do people recommend/use?

            1 Reply Last reply Reply Quote 0
            • J
              J4c0b5L4tt3r last edited by

              [quote]FFS now im getting tired of Xubuntu, thought i had fixed things but apparantly not…
              Now the boot screen is black, and its random if im able to boot into xubuntu at all…

              black screen forever, need to ssh into the server and run cgminer manually, THEN the screen comes on…

              Will just cross my fingers and hope that all the rigs will live for an week without a hitch…
              And try an other linux version out there.

              What do people recommend/use?[/quote]

              I have great luck with Debian 7.

              1 Reply Last reply Reply Quote 0
              • S
                svennand Regular Member last edited by

                Are there any pure command line options out there?
                For some reason i think this will be more stable=P

                1 Reply Last reply Reply Quote 0
                • S
                  spynappels last edited by

                  Hey Sven,

                  Sorry, been offline for a while, I’ll try to help out.

                  1st, did you try my suggestion in the other thread? Did it make any difference?

                  2nd, on the startup question, you need to do 2 things. First, in your sudoers file you need to allow the cgminer command to run without a password.
                  [code]sudo vi /etc/sudoers[/code]
                  add line like this
                  [code]<> ALL=NOPASSWD:<>[/code]
                  You can also use nano instead of vi if you prefer.
                  This will allow you to run cgminer using sudo without having to enter a password.

                  Then you need to script cgminer to run on reboot, for this I’d suggest creating a wrapper script in Bash and running this script from cron using the @reboot switch. Let me know if you need specific pointers on this.

                  I prefer to run Ubuntu Server Edition completely headless, but getting OpenCL to install without a GUI can be a complete pain in the **se.

                  Let me know if you need any more help on this.

                  Stefan

                  1 Reply Last reply Reply Quote 0
                  • J
                    J4c0b5L4tt3r last edited by

                    [quote]Are there any pure command line options out there?
                    For some reason i think this will be more stable=P[/quote]

                    From what I understand you need to have an active xsession running to run the miner… As far as when I set everything up initially, I installed the driver, amd_sdk and all of the dependencies as root, but as far as setting up the actual miner from source, I did that as a regular user. So I can run the miner as a normal user…

                    1 Reply Last reply Reply Quote 0
                    • S
                      svennand Regular Member last edited by

                      [quote name=“spynappels” post=“7936” timestamp=“1369861819”]
                      Hey Sven,

                      Sorry, been offline for a while, I’ll try to help out.

                      1st, did you try my suggestion in the other thread? Did it make any difference?

                      2nd, on the startup question, you need to do 2 things. First, in your sudoers file you need to allow the cgminer command to run without a password.
                      [code]sudo vi /etc/sudoers[/code]
                      add line like this
                      [code]<> ALL=NOPASSWD:<>[/code]
                      You can also use nano instead of vi if you prefer.
                      This will allow you to run cgminer using sudo without having to enter a password.

                      Then you need to script cgminer to run on reboot, for this I’d suggest creating a wrapper script in Bash and running this script from cron using the @reboot switch. Let me know if you need specific pointers on this.

                      I prefer to run Ubuntu Server Edition completely headless, but getting OpenCL to install without a GUI can be a complete pain in the **se.

                      Let me know if you need any more help on this.

                      Stefan
                      [/quote]

                      1. i didnt test that one beacuse i tough i had figured it out. but after a long while it came back…
                      Im out of time for now, will set up all the rigs from scratch again when i come home. because xubuntu is not stable (hangs on reboot (shutdown part), a gamle if im able to start computer and get to gui…).

                      how much of a pain is it to get opencl to run without gui?
                      Really love the idea of headless rig=)

                      Thanks for your help soo far. transfered 200ftc to your account=)

                      1 Reply Last reply Reply Quote 0
                      • S
                        svennand Regular Member last edited by

                        [quote name=“J4c0b5L4tt3r” post=“7942” timestamp=“1369865820”]
                        [quote]Are there any pure command line options out there?
                        For some reason i think this will be more stable=P[/quote]

                        From what I understand you need to have an active xsession running to run the miner… As far as when I set everything up initially, I installed the driver, amd_sdk and all of the dependencies as root, but as far as setting up the actual miner from source, I did that as a regular user. So I can run the miner as a normal user…
                        [/quote]

                        i found out that to…, i installed cgminer as root, that might not have been a smart idea=)
                        50ftc sent for your help

                        1 Reply Last reply Reply Quote 0
                        • J
                          J4c0b5L4tt3r last edited by

                          Glad I can help… Thank you:)

                          1 Reply Last reply Reply Quote 0
                          • S
                            spynappels last edited by

                            [quote name=“svennand” post=“8028” timestamp=“1369895230”]
                            Thanks for your help soo far. transfered 200ftc to your account=)
                            [/quote]

                            Thanks Sven, ping me when you get back and we’ll try to figure the headless thing out.

                            Stefan

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post