Giter VIP home page Giter VIP logo

Comments (9)

sizzlephizzle avatar sizzlephizzle commented on August 19, 2024 3

I'm no expert but my rigs would ideally run 100% in text. Without the need for KVM so I would fully support this. My needs are different to the masses so I don't expect the OS to have a text only switch, but I support this :)

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on August 19, 2024 1

This is not about full headless as we cant do it, nvidia drivers needs desktop and X server so we just trying to find a general way to start nvOC without binding it to gnome-terminal.

from nvoc_by_fullzero_community_release.

doftorul avatar doftorul commented on August 19, 2024 1

Systemd is your friend.
Here's a miner.service started from systemd

[Unit]
Description=Mine Something

[Service]
Environment=GPU_FORCE_64BIT_PTR=0
Environment=GPU_MAX_HEAP_SIZE=100
Environment=GPU_USE_SYNC_OBJECTS=1
Environment=GPU_MAX_ALLOC_PERCENT=100
Environment=GPU_SINGLE_ALLOC_PERCENT=100

Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/m1/.Xauthority

WorkingDirectory=/home/m1/
ExecStart=/bin/bash --login -c "ethminer -G --farm-recheck 200 -F http://127.0.0.1:8080/NAMEOFTHISRIG"

Restart=always

[Install]
WantedBy=multi-user.target

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on August 19, 2024 1

What do you think about doing something like @doftorul described but launching a screen instance for 2unix in place of ethminer?

Then, in a terminal window one could either attach to the screen or tail its screenlog

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on August 19, 2024

If it starts 2unix screen again when its killed or stopped for any reason, then it can be the answer.
We can easily add nvOC path to 2unix start command and change it from ssh with no problem.

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on August 19, 2024

I started working on this new solution to startup nvOC, is working fine except for some stuff related to features that need write access, like switchers and logging. You can review the systemd service description you see in the nvOC helper script under the install-service function. Please report in the PR thread any kind of issues you find, not here.

from nvoc_by_fullzero_community_release.

cartesien avatar cartesien commented on August 19, 2024

If it's possible to avoid gnome-desktop, i support your work about that. and i'm ready to test it.

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on August 19, 2024

There is already support for running nvoc as a systemd service after #62 merge, it you would like to test make sure you follow my guidelines for setting user permissions. Then, you can disable autorun based on gnome-terminal profile. The nvOC helper script has the service installer built-in, see command help for details.

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on August 19, 2024

Support for nvOC running as systemd service has reached the stable 3.0 branch but should be considered experimental, this issue thread is left open for support and discussion about this topic. Feedbacks are welcome.

from nvoc_by_fullzero_community_release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.